diff --git a/charts/loadtester/templates/deployment.yaml b/charts/loadtester/templates/deployment.yaml index c52dacca3..38b86f20c 100644 --- a/charts/loadtester/templates/deployment.yaml +++ b/charts/loadtester/templates/deployment.yaml @@ -81,6 +81,10 @@ spec: volumeMounts: {{- toYaml . | nindent 12 }} {{- end }} + {{- if .Values.image.pullSecret }} + imagePullSecrets: + - name: {{ .Values.image.pullSecret }} + {{- end }} {{ with .Values.volumes }} volumes: {{- toYaml . | nindent 8 }} diff --git a/charts/loadtester/values.yaml b/charts/loadtester/values.yaml index c88c975c4..f13e3cb84 100644 --- a/charts/loadtester/values.yaml +++ b/charts/loadtester/values.yaml @@ -4,6 +4,7 @@ image: repository: ghcr.io/fluxcd/flagger-loadtester tag: 0.19.0 pullPolicy: IfNotPresent + pullSecret: podLabels: {}