diff --git a/projects/control-service/projects/helm_charts/pipelines-control-service/templates/secret_pull_base_img.yaml b/projects/control-service/projects/helm_charts/pipelines-control-service/templates/secret_pull_base_img.yaml index 7a33366c77..d3d392addb 100644 --- a/projects/control-service/projects/helm_charts/pipelines-control-service/templates/secret_pull_base_img.yaml +++ b/projects/control-service/projects/helm_charts/pipelines-control-service/templates/secret_pull_base_img.yaml @@ -5,9 +5,9 @@ metadata: name: builder-secrets namespace: {{ .Values.controlK8sNamespace }} labels: {{- include "pipelines-control-service.labels" . | nindent 4 }} -type: kubernetes.io/dockerconfigjson -data: +type: Opaque +stringData: {{/* Within this section any set of properties can be set and then used in a job builder image at the moment the only one set is extra_auth: Within this property docker config should be included to connect to the registry used to pull the image from. */}} - extra_auth: {{- printf ", \"%s\": {\"auth\": \"%s\"}" .Values.deploymentDataJobBaseImage.registry (printf "%s:%s" .Values.deploymentDataJobBaseImage.username .Values.deploymentDataJobBaseImage.password | b64enc) | b64enc }} + extra_auth: {{- printf ", \"%s\": {\"auth\": \"%s\"}" .Values.deploymentDataJobBaseImage.registry (printf "%s:%s" .Values.deploymentDataJobBaseImage.username .Values.deploymentDataJobBaseImage.password | b64enc) }} {{- end }}