Change env variable for keytab in Fedora Planet deployment

Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
Pedro Moura 2023-12-11 14:44:59 -03:00 committed by phsmoura
parent cefae1c846
commit 0b192a5353

View file

@ -25,14 +25,24 @@
deployment: planet deployment: planet
spec: spec:
containers: containers:
- env: - name: planet
- name: KRB5CCNAME image: planet:latest
value: FILE:/etc/krb5.conf.d/tgt ports:
imagePullPolicy: Always - containerPort: 8080
name: planet volumeMounts:
resources: {} - name: ipa-config-volume
terminationMessagePath: /dev/termination-log mountPath: /etc/ipa
terminationMessagePolicy: File readOnly: true
- name: keytab-volume
mountPath: /etc/keytabs
readOnly: true
volumes:
- name: ipa-config-volume
configMap:
name: ipa-client-config
- name: keytab-volume
secret:
secretName: planet-keytab
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
restartPolicy: Always restartPolicy: Always
schedulerName: default-scheduler schedulerName: default-scheduler