diff --git a/charts/brigade-github-app/templates/gateway-role.yaml b/charts/brigade-github-app/templates/gateway-role.yaml index 57b2f22..b572a33 100644 --- a/charts/brigade-github-app/templates/gateway-role.yaml +++ b/charts/brigade-github-app/templates/gateway-role.yaml @@ -10,6 +10,10 @@ metadata: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" +imagePullSecrets: +{{- range $imagePullSecret := .Values.serviceAccount.imagePullSecrets }} +- name: {{ $imagePullSecret }} +{{- end }} {{ end }} {{ if .Values.rbac.enabled }} --- diff --git a/charts/brigade-github-app/values.yaml b/charts/brigade-github-app/values.yaml index 0337cad..5b414a7 100755 --- a/charts/brigade-github-app/values.yaml +++ b/charts/brigade-github-app/values.yaml @@ -4,6 +4,7 @@ rbac: serviceAccount: create: true name: + imagePullSecrets: [] ## Image configuration registry: brigadecore