Ipsilon: deploy the ldap config file

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2020-09-16 15:27:50 +02:00
parent 97db4e4c5f
commit 5e359beda9
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
3 changed files with 11 additions and 0 deletions

View file

@ -33,6 +33,9 @@
service: HTTP service: HTTP
host: "id{{ env_suffix }}.fedoraproject.org" host: "id{{ env_suffix }}.fedoraproject.org"
- role: openshift/ipa-client
app: ipsilon
- role: openshift/imagestream - role: openshift/imagestream
app: ipsilon app: ipsilon
imagename: ipsilon imagename: ipsilon

View file

@ -45,6 +45,8 @@ spec:
# Set up krb5 # Set up krb5
RUN rm -f /etc/krb5.conf && ln -sf /etc/ipsilon/krb5.conf /etc/krb5.conf RUN rm -f /etc/krb5.conf && ln -sf /etc/ipsilon/krb5.conf /etc/krb5.conf
# Set up LDAP
RUN rm -f /etc/openldap/ldap.conf && ln -sf /etc/ipa/ldap.conf /etc/openldap/ldap.conf
RUN ln -s /etc/ipsilon/ipsilon.conf /var/lib/ipsilon/ipsilon.conf RUN ln -s /etc/ipsilon/ipsilon.conf /var/lib/ipsilon/ipsilon.conf

View file

@ -37,6 +37,9 @@ spec:
- name: config-volume - name: config-volume
mountPath: /etc/ipsilon mountPath: /etc/ipsilon
readOnly: true readOnly: true
- name: ipa-config-volume
mountPath: /etc/ipa
readOnly: true
- name: keytab-volume - name: keytab-volume
mountPath: /etc/keytabs mountPath: /etc/keytabs
readOnly: true readOnly: true
@ -61,6 +64,9 @@ spec:
- name: keytab-volume - name: keytab-volume
secret: secret:
secretName: ipsilon-keytab secretName: ipsilon-keytab
- name: ipa-config-volume
configMap:
name: ipa-client-config
- name: httpdir-volume - name: httpdir-volume
emptyDir: {} emptyDir: {}
triggers: triggers: