Skip to content

Commit

Permalink
Add imagePullSecrets to the multicluster chart.
Browse files Browse the repository at this point in the history
Fixes linkerd#11285

Signed-off-by: Louis Haußknecht <[email protected]>
  • Loading branch information
Louis Haußknecht committed Aug 24, 2023
1 parent a4bec90 commit e4bbae0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
name: namespace-metadata
namespace: {{.Release.Namespace}}
{{- include "partials.image-pull-secrets" .Values.imagePullSecrets }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ metadata:
{{- with $.Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
annotations:
{{ include "partials.annotations.created-by" $ }}
{{- include "partials.image-pull-secrets" $.Values.imagePullSecrets }}
---
apiVersion: v1
kind: Secret
Expand Down
4 changes: 4 additions & 0 deletions multicluster/charts/linkerd-multicluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ podLabels: {}
commonLabels: {}
# -- Docker imagePullPolicy for all multicluster components
imagePullPolicy: IfNotPresent
# -- For Private docker registries, authentication is needed.
# Registry secrets are applied to the respective service accounts
imagePullSecrets: []
# - name: my-private-docker-registry-login-secret
# -- The port on which the proxy accepts outbound traffic
proxyOutboundPort: 4140
# -- If the remote mirror service account should be installed
Expand Down

0 comments on commit e4bbae0

Please sign in to comment.