Update k8s manifests
This commit is contained in:
parent
c43f6e8f70
commit
80ae5593b2
@ -27,6 +27,7 @@ spec:
|
|||||||
clientSecret:
|
clientSecret:
|
||||||
existingSecretKey: SSO_CLIENT_SECRET
|
existingSecretKey: SSO_CLIENT_SECRET
|
||||||
signupsMatchEmail: true
|
signupsMatchEmail: true
|
||||||
|
onlySSO: true
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
class: traefik
|
class: traefik
|
||||||
|
|||||||
@ -9,3 +9,4 @@ resources:
|
|||||||
- observability
|
- observability
|
||||||
- openldap/helmrelease.yaml
|
- openldap/helmrelease.yaml
|
||||||
- keycloak/helmrelease.yaml
|
- keycloak/helmrelease.yaml
|
||||||
|
- oidc-rbac.yaml
|
||||||
|
|||||||
@ -48,6 +48,8 @@ spec:
|
|||||||
grafana.ini:
|
grafana.ini:
|
||||||
server:
|
server:
|
||||||
root_url: https://grafana.n0ball.tw
|
root_url: https://grafana.n0ball.tw
|
||||||
|
auth:
|
||||||
|
disable_login_form: true
|
||||||
auth.generic_oauth:
|
auth.generic_oauth:
|
||||||
enabled: true
|
enabled: true
|
||||||
name: Keycloak
|
name: Keycloak
|
||||||
|
|||||||
12
k8s/infrastructure/oidc-rbac.yaml
Normal file
12
k8s/infrastructure/oidc-rbac.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: oidc-admin-n0ball
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: cluster-admin
|
||||||
|
subjects:
|
||||||
|
- apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: User
|
||||||
|
name: n0ball
|
||||||
Loading…
x
Reference in New Issue
Block a user