Planet: fix volume mounts

Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
Pedro Moura 2024-01-19 15:52:38 -03:00 committed by phsmoura
parent 720e8b982c
commit 6b80c0fd91

View file

@ -30,19 +30,25 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
volumeMounts: volumeMounts:
- 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
- name: krb-config-volume
mountPath: /etc/krb5
readOnly: true
- name: ipa-config-volume
mountPath: /etc/ipa
readOnly: true
volumes: volumes:
- name: ipa-config-volume
configMap:
name: ipa-client-config
- name: keytab-volume - name: keytab-volume
secret: secret:
secretName: planet-keytab secretName: planet-keytab-http
- name: krb-config-volume
configMap:
name: krb5-config
- name: ipa-config-volume
configMap:
name: ipa-client-config
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
restartPolicy: Always restartPolicy: Always
schedulerName: default-scheduler schedulerName: default-scheduler