From e87f0e70d83faeb81b1d8e6c1c8d0451c2239051 Mon Sep 17 00:00:00 2001 From: Erik Humphrey Date: Tue, 10 Dec 2024 01:53:21 -0500 Subject: [PATCH] fix(ce): Remove unused existingSecret condition for GITHUB_BOT_USER_ID (#609) * fix(ce): Remove unused existingSecret condition for GITHUB_BOT_USER_ID * fix(ce): Remove extraneous 'or' in BITBUCKET_USER condition --- helm-charts/mend-renovate-ce/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-charts/mend-renovate-ce/templates/deployment.yaml b/helm-charts/mend-renovate-ce/templates/deployment.yaml index e1571951..137887f9 100644 --- a/helm-charts/mend-renovate-ce/templates/deployment.yaml +++ b/helm-charts/mend-renovate-ce/templates/deployment.yaml @@ -85,7 +85,7 @@ spec: key: mendRnvGithubAppId optional: true {{- end }} - {{- if or .Values.renovate.mendRnvGithubBotUserId .Values.renovate.existingSecret }} + {{- if .Values.renovate.mendRnvGithubBotUserId }} - name: MEND_RNV_GITHUB_BOT_USER_ID value: {{ .Values.renovate.mendRnvGithubBotUserId | quote }} {{- end }} @@ -98,7 +98,7 @@ spec: optional: true {{- end }} # BitBucket - {{- if or .Values.renovate.mendRnvBitbucketUser }} + {{- if .Values.renovate.mendRnvBitbucketUser }} - name: MEND_RNV_BITBUCKET_USER value: {{ .Values.renovate.mendRnvBitbucketUser | quote }} {{- end }}