From afbd06bfc7c47d60f6abcd3a7a24735d86bbe4e0 Mon Sep 17 00:00:00 2001 From: Pedro Moura Date: Thu, 12 Sep 2024 17:02:22 -0300 Subject: [PATCH] Planet: Add fedora messaging volumes to cronjob Signed-off-by: Pedro Moura --- .../planet/templates/cronjob.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/roles/openshift-apps/planet/templates/cronjob.yml b/roles/openshift-apps/planet/templates/cronjob.yml index 9372bc4332..3b6ef384ad 100644 --- a/roles/openshift-apps/planet/templates/cronjob.yml +++ b/roles/openshift-apps/planet/templates/cronjob.yml @@ -46,6 +46,21 @@ spec: - name: planet-build-storage mountPath: /var/www/html readOnly: false + - name: fedora-messaging-config-volume + mountPath: /etc/fedora-messaging + readOnly: true + - name: fedora-messaging-ca-volume + mountPath: /etc/pki/fedora-messaging/cacert.pem + subPath: cacert.pem + readOnly: true + - name: fedora-messaging-crt-volume + mountPath: /etc/pki/fedora-messaging/planet-cert.pem + subPath: planet-cert.pem + readOnly: true + - name: fedora-messaging-key-volume + mountPath: /etc/pki/fedora-messaging/planet-key.pem + subPath: planet-key.pem + readOnly: true volumes: - name: keytab-volume secret: @@ -56,6 +71,18 @@ spec: - name: ipa-config-volume configMap: name: ipa-client-config + - name: fedora-messaging-config-volume + configMap: + name: fedora-messaging-configmap + - name: fedora-messaging-ca-volume + secret: + secretName: planet-fedora-messaging-ca + - name: fedora-messaging-crt-volume + secret: + secretName: planet-fedora-messaging-crt + - name: fedora-messaging-key-volume + secret: + secretName: planet-fedora-messaging-key - name: planet-build-storage persistentVolumeClaim: claimName: planet-http-storage