1
0
forked from k-space/kube

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