update realm
This commit is contained in:
@@ -100,6 +100,7 @@ jobs:
|
|||||||
kubectl create secret generic grafana-oauth-secret \
|
kubectl create secret generic grafana-oauth-secret \
|
||||||
-n monitoring \
|
-n monitoring \
|
||||||
--from-literal=GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET="${{ secrets.GRAFANA_CLIENT_SECRET }}" \
|
--from-literal=GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET="${{ secrets.GRAFANA_CLIENT_SECRET }}" \
|
||||||
|
--from-literal=GF_SECURITY_SECRET_KEY="${{ secrets.GRAFANA_SECRET_KEY }}" \
|
||||||
--dry-run=client -o yaml | kubectl apply -f -
|
--dry-run=client -o yaml | kubectl apply -f -
|
||||||
|
|
||||||
- name: Create oauth2-proxy secrets
|
- name: Create oauth2-proxy secrets
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
hostAliases:
|
||||||
|
- ip: "13.140.150.2"
|
||||||
|
hostnames:
|
||||||
|
- "keycloak.13.140.150.2.nip.io"
|
||||||
|
|
||||||
config:
|
config:
|
||||||
existingSecret: oauth2-proxy-alertmanager
|
existingSecret: oauth2-proxy-alertmanager
|
||||||
cookie_secure: false
|
cookie_secure: false
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
hostAliases:
|
||||||
|
- ip: "13.140.150.2"
|
||||||
|
hostnames:
|
||||||
|
- "keycloak.13.140.150.2.nip.io"
|
||||||
|
|
||||||
config:
|
config:
|
||||||
existingSecret: oauth2-proxy-prometheus
|
existingSecret: oauth2-proxy-prometheus
|
||||||
cookie_secure: false
|
cookie_secure: false
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ grafana:
|
|||||||
root_url: http://grafana.13.140.150.2.nip.io
|
root_url: http://grafana.13.140.150.2.nip.io
|
||||||
|
|
||||||
security:
|
security:
|
||||||
secret_key: a8f3d2e1c4b7f6a9e2d5c8b1f4a7e0d3
|
secret_key: $__file{/etc/secrets/GF_SECURITY_SECRET_KEY}
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
disable_login_form: true
|
disable_login_form: true
|
||||||
|
|||||||
Reference in New Issue
Block a user