fix: fix keycloak and remove import-export sidecar
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
# Keycloak export and import
|
||||||
|
|
||||||
|
```
|
||||||
|
kc.sh -Djgroups.bind.port=7801 export --dir /tmp/backup --realm oceanbox --users same_file
|
||||||
|
kubectl cp -n keycloak oceanbox-realm.json prod-keycloak-0:/tmp/backup/oceanbox-realm.json
|
||||||
|
kubectl cp -n keycloak oceanbox-users-0.json prod-keycloak-0:/tmp/backup/oceanbox-users-0.json
|
||||||
|
kc.sh -Djgroups.bind.port=7801 import --dir /tmp/backup
|
||||||
|
```
|
||||||
@@ -37,7 +37,6 @@ ingress:
|
|||||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
|
||||||
enabled: true
|
enabled: true
|
||||||
hostname: auth.svc.oceanbox.io
|
hostname: auth.svc.oceanbox.io
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
@@ -111,11 +110,3 @@ extraDeploy:
|
|||||||
backup:
|
backup:
|
||||||
retentionPolicy: 60d
|
retentionPolicy: 60d
|
||||||
target: prefer-standby
|
target: prefer-standby
|
||||||
|
|
||||||
sidecars:
|
|
||||||
- name: import-export
|
|
||||||
image: docker.io/bitnami/keycloak:26.0.2-debian-12-r0
|
|
||||||
imagePullPolicy: Always
|
|
||||||
command:
|
|
||||||
- /usr/bin/sleep
|
|
||||||
- 365d
|
|
||||||
|
|||||||
@@ -72,11 +72,3 @@ initContainers: |
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: theme
|
- name: theme
|
||||||
mountPath: /keycloak/themes/oceanbox
|
mountPath: /keycloak/themes/oceanbox
|
||||||
|
|
||||||
sidecars:
|
|
||||||
- name: import-export
|
|
||||||
image: docker.io/bitnami/keycloak:26.0.2-debian-12-r0
|
|
||||||
imagePullPolicy: Always
|
|
||||||
command:
|
|
||||||
- /usr/bin/sleep
|
|
||||||
- 365d
|
|
||||||
|
|||||||
Reference in New Issue
Block a user