Register FMN with IPA

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-11-21 12:21:24 +01:00
parent 428cdbe1e3
commit 6871f63bdf
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 20 additions and 1 deletions

View file

@ -201,7 +201,10 @@
template: deploymentconfig.yml
objectname: deploymentconfig.yml
# Keytab for FASJSON access
# FASJSON access
- role: openshift/ipa-client
app: fmn
- role: openshift/keytab
app: fmn
key: service.keytab

View file

@ -37,6 +37,18 @@ spec:
env:
- name: APP_SCRIPT
value: ".s2i/run-frontend.sh"
readinessProbe:
timeoutSeconds: 1
initialDelaySeconds: 10
httpGet:
path: /
port: 8080
livenessProbe:
timeoutSeconds: 1
initialDelaySeconds: 5
httpGet:
path: /
port: 8080
volumes:
- name: httpdir-volume
emptyDir: {}
@ -108,6 +120,8 @@ spec:
secretKeyRef:
name: fmn
key: oidc-client-secret
- name: KRB5_CONFIG
value: /etc/ipa/krb5.conf
- name: KRB5_CLIENT_KTNAME
value: /etc/keytabs/service.keytab
@ -182,6 +196,8 @@ spec:
env:
- name: APP_SCRIPT
value: ".s2i/run-consumer.sh"
- name: KRB5_CONFIG
value: /etc/ipa/krb5.conf
- name: KRB5_CLIENT_KTNAME
value: /etc/keytabs/service.keytab
volumes: