Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control-service: use correct secret type #1370

Merged
merged 7 commits into from
Nov 30, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}