elastic-system: Fix anonymous auth for Kibana

This commit is contained in:
Lauri Võsandi 2022-08-31 07:39:39 +03:00
parent d5ce3ff73e
commit e4821ec647

View File

@ -143,11 +143,6 @@ spec:
count: 3 count: 3
config: config:
node.store.allow_mmap: false node.store.allow_mmap: false
xpack.security.authc:
anonymous:
username: anonymous
roles: superuser
authz_exception: false
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
name: elasticsearch-data name: elasticsearch-data
@ -178,18 +173,18 @@ spec:
disabled: true disabled: true
config: config:
server.publicBaseUrl: https://kibana.k-space.ee server.publicBaseUrl: https://kibana.k-space.ee
#xpack.security.authc.realms.oidc.my_oidc: xpack.reporting.enabled: false
#order: 1 xpack.apm.ui.enabled: false
#rp.client_id: "kibana" xpack.security.authc.providers:
#rp.response_type: code anonymous.anonymous1:
#rp.redirect_uri: "https://kibana.k-space.ee/api/security/v1/oidc" order: 0
#op.issuer: "https://auth.k-space.ee" credentials:
#op.authorization_endpoint: "https://auth.k-space.ee/api/oidc/authorization" username: "elastic"
#op.token_endpoint: "https://auth.k-space.ee/api/oidc/token" secureSettings:
#op.jwkset_path: "https://auth.k-space.ee/jwks.json" - secretName: elasticsearch-es-elastic-user
#op.userinfo_endpoint: "https://auth.k-space.ee/api/oidc/userinfo" entries:
#rp.post_logout_redirect_uri: "https://kibana.k-space.ee/logged_out" - key: elastic
#claims.principal: preferred_username path: xpack.security.authc.providers.anonymous.anonymous1.credentials.password
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress