uralkal: camunda keycloak — keytab из Secret keycloak-keytab и krb5.conf для LOCAL.URALKALI.COM
This commit is contained in:
parent
81bf9d17d1
commit
e6392cbbfe
@ -213,6 +213,22 @@ spec:
|
|||||||
size: 10Gi
|
size: 10Gi
|
||||||
storageClass: local-path
|
storageClass: local-path
|
||||||
identityKeycloak:
|
identityKeycloak:
|
||||||
|
extraVolumes:
|
||||||
|
- name: keytab
|
||||||
|
secret:
|
||||||
|
secretName: keycloak-keytab
|
||||||
|
optional: true
|
||||||
|
- name: krb5
|
||||||
|
configMap:
|
||||||
|
name: keycloak-krb5
|
||||||
|
extraVolumeMounts:
|
||||||
|
- name: keytab
|
||||||
|
mountPath: /opt/keytab
|
||||||
|
readOnly: true
|
||||||
|
- name: krb5
|
||||||
|
mountPath: /etc/krb5.conf
|
||||||
|
subPath: krb5.conf
|
||||||
|
readOnly: true
|
||||||
externalDatabase:
|
externalDatabase:
|
||||||
host: 10.133.0.249
|
host: 10.133.0.249
|
||||||
port: 5432
|
port: 5432
|
||||||
|
|||||||
25
infrastructure/camunda/uralkal/keycloak-krb5.yaml
Normal file
25
infrastructure/camunda/uralkal/keycloak-krb5.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: keycloak-krb5
|
||||||
|
namespace: camunda
|
||||||
|
data:
|
||||||
|
krb5.conf: |
|
||||||
|
[libdefaults]
|
||||||
|
default_realm = LOCAL.URALKALI.COM
|
||||||
|
dns_lookup_kdc = false
|
||||||
|
dns_lookup_realm = false
|
||||||
|
rdns = false
|
||||||
|
default_tkt_enctypes = aes256-cts-hmac-sha1-96
|
||||||
|
default_tgs_enctypes = aes256-cts-hmac-sha1-96
|
||||||
|
permitted_enctypes = aes256-cts-hmac-sha1-96
|
||||||
|
|
||||||
|
[realms]
|
||||||
|
LOCAL.URALKALI.COM = {
|
||||||
|
kdc = PERM-GL-DC3.local.uralkali.com
|
||||||
|
admin_server = PERM-GL-DC3.local.uralkali.com
|
||||||
|
}
|
||||||
|
|
||||||
|
[domain_realm]
|
||||||
|
.local.uralkali.com = LOCAL.URALKALI.COM
|
||||||
|
local.uralkali.com = LOCAL.URALKALI.COM
|
||||||
@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
|
- keycloak-krb5.yaml
|
||||||
patches:
|
patches:
|
||||||
- path: camunda.yaml
|
- path: camunda.yaml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user