diff --git a/helm-charts/mend-renovate-ce/templates/deployment.yaml b/helm-charts/mend-renovate-ce/templates/deployment.yaml index 46a8510f..6323d73f 100644 --- a/helm-charts/mend-renovate-ce/templates/deployment.yaml +++ b/helm-charts/mend-renovate-ce/templates/deployment.yaml @@ -85,6 +85,10 @@ spec: key: mendRnvGithubAppId optional: true {{- end }} + {{- if or .Values.renovate.mendRnvGithubBotUserId .Values.renovate.existingSecret }} + - name: MEND_RNV_GITHUB_BOT_USER_ID + value: {{ .Values.renovate.mendRnvGithubBotUserId | quote }} + {{- end }} {{- if or .Values.renovate.mendRnvGithubAppKey .Values.renovate.existingSecret }} - name: MEND_RNV_GITHUB_APP_KEY valueFrom: diff --git a/helm-charts/mend-renovate-ce/values.yaml b/helm-charts/mend-renovate-ce/values.yaml index ad3ed015..6591bd79 100644 --- a/helm-charts/mend-renovate-ce/values.yaml +++ b/helm-charts/mend-renovate-ce/values.yaml @@ -33,6 +33,10 @@ renovate: # The GitHub App ID provided when you provisioned the Mend Renovate app. Force string format by quoting value. mendRnvGithubAppId: + # Optional: The GitHub bot user ID that can be found by calling `https://api.github.com/users/{appName}[bot]` under the `id` key. + # Force string format by quoting value. + mendRnvGithubBotUserId: + # A string representation of the private key provided by GitHub Enterprise when you provisioned Mend Renovate mendRnvGithubAppKey: diff --git a/helm-charts/mend-renovate-ee/templates/server-deployment.yaml b/helm-charts/mend-renovate-ee/templates/server-deployment.yaml index d5910c63..aff2cd3a 100644 --- a/helm-charts/mend-renovate-ee/templates/server-deployment.yaml +++ b/helm-charts/mend-renovate-ee/templates/server-deployment.yaml @@ -86,6 +86,10 @@ spec: key: mendRnvGithubAppId optional: true {{- end }} + {{- if or .Values.renovateServer.mendRnvGithubBotUserId }} + - name: MEND_RNV_GITHUB_BOT_USER_ID + value: {{ .Values.renovateServer.mendRnvGithubBotUserId | quote }} + {{- end }} {{- if or .Values.renovateServer.mendRnvGithubAppKey .Values.renovateServer.existingSecret }} - name: MEND_RNV_GITHUB_APP_KEY valueFrom: diff --git a/helm-charts/mend-renovate-ee/values.yaml b/helm-charts/mend-renovate-ee/values.yaml index d623e203..7982d580 100644 --- a/helm-charts/mend-renovate-ee/values.yaml +++ b/helm-charts/mend-renovate-ee/values.yaml @@ -50,6 +50,10 @@ renovateServer: # The GitHub App ID provided when you provisioned the Mend Renovate app. Force string format by quoting value. mendRnvGithubAppId: + # Optional: The GitHub bot user ID that can be found by calling `https://api.github.com/users/{appName}[bot]` under the `id` key. + # Force string format by quoting value. + mendRnvGithubBotUserId: + # A string representation of the private key provided by GitHub Enterprise when you provisioned Mend Renovate mendRnvGithubAppKey: