From e853efe9f07109e0b9ec45bb85b583d954a34480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Tue, 28 May 2019 16:24:19 +0200 Subject: [PATCH] the-new-hotness: Add keytab for koji MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Konečný --- playbooks/openshift-apps/the-new-hotness.yml | 7 +++++++ .../the-new-hotness/files/deploymentconfig.yml | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/playbooks/openshift-apps/the-new-hotness.yml b/playbooks/openshift-apps/the-new-hotness.yml index c92690fd78..1f879d78ff 100644 --- a/playbooks/openshift-apps/the-new-hotness.yml +++ b/playbooks/openshift-apps/the-new-hotness.yml @@ -23,6 +23,13 @@ appowners: - zlopez + - role: openshift/keytab + app: the-new-hotness + key: koji-keytab + secret_name: the-new-hotness-keytab + service: the-new-hotness + host: "the-new-hotness{{ env_suffix }}.fedoraproject.org" + - role: openshift/secret-file app: the-new-hotness secret_name: the-new-hotness-fedora-messaging-ca diff --git a/roles/openshift-apps/the-new-hotness/files/deploymentconfig.yml b/roles/openshift-apps/the-new-hotness/files/deploymentconfig.yml index a37db6afdd..457b621446 100644 --- a/roles/openshift-apps/the-new-hotness/files/deploymentconfig.yml +++ b/roles/openshift-apps/the-new-hotness/files/deploymentconfig.yml @@ -41,6 +41,9 @@ items: - name: RPM_PACKAGER value: hotness volumeMounts: + - name: keytab-volume + mountPath: /etc/keytabs + readOnly: true - name: config-volume mountPath: /etc/fedora-messaging readOnly: true @@ -69,6 +72,9 @@ items: secret: secretName: the-new-hotness-fedora-messaging-cert - name: temp-volume + - name: keytab-volume + secret: + secretName: the-new-hotness-keytab triggers: - imageChangeParams: automatic: true