From c4da6515f9f79b9dd7bd9b7377739f1c2388fec8 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 29 2021 13:06:26 +0000 Subject: fedocal: mount the fedora-messaging cert in the pod Signed-off-by: Pierre-Yves Chibon --- diff --git a/roles/openshift-apps/fedocal/files/deploymentconfig.yml b/roles/openshift-apps/fedocal/files/deploymentconfig.yml index d9beefd..34dd391 100644 --- a/roles/openshift-apps/fedocal/files/deploymentconfig.yml +++ b/roles/openshift-apps/fedocal/files/deploymentconfig.yml @@ -43,6 +43,15 @@ spec: - name: secret-volume mountPath: /opt/app-root/secret/ readOnly: true + - name: fedora-messaging-ca-volume + mountPath: /etc/pki/rabbitmq/ca + readOnly: true + - name: fedora-messaging-key-volume + mountPath: /etc/pki/rabbitmq/key + readOnly: true + - name: fedora-messaging-cert-volume + mountPath: /etc/pki/rabbitmq/cert + readOnly: true readinessProbe: timeoutSeconds: 1 initialDelaySeconds: 5 @@ -62,6 +71,15 @@ spec: - name: secret-volume configMap: name: fedocal-secret + - name: fedora-messaging-ca-volume + secret: + secretName: fedocal-fedora-messaging-ca + - name: fedora-messaging-key-volume + secret: + secretName: fedocal-fedora-messaging-key + - name: fedora-messaging-cert-volume + secret: + secretName: fedocal-fedora-messaging-crt triggers: - type: ConfigChange