feat: Support ImagePullSecrets parameter (support private registries) (#254)
* Support ImagePullSecrets * Bump chart version
This commit is contained in:
parent
400f141dae
commit
6eed9ad16c
8 changed files with 23 additions and 1 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "1.4.2"
|
appVersion: "1.4.2"
|
||||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 1.8.3
|
version: 1.8.4
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -38,6 +38,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| global.image.repository | If defined, a repository applied to all ArgoCD deployments. | `"argoproj/argocd"` |
|
| global.image.repository | If defined, a repository applied to all ArgoCD deployments. | `"argoproj/argocd"` |
|
||||||
| global.image.tag | If defined, a tag applied to all ArgoCD deployments. | `"v1.4.2"` |
|
| global.image.tag | If defined, a tag applied to all ArgoCD deployments. | `"v1.4.2"` |
|
||||||
| global.securityContext | Toggle and define securityContext | See [values.yaml](values.yaml) |
|
| global.securityContext | Toggle and define securityContext | See [values.yaml](values.yaml) |
|
||||||
|
| global.imagePullSecrets | If defined, uses a Secret to pull an image from a private Docker registry or repository. | `[]` |
|
||||||
| nameOverride | Provide a name in place of `argocd` | `"argocd"` |
|
| nameOverride | Provide a name in place of `argocd` | `"argocd"` |
|
||||||
| installCRDs | bool | `true` | Install CRDs if you are using Helm2. |
|
| installCRDs | bool | `true` | Install CRDs if you are using Helm2. |
|
||||||
| configs.knownHosts.data.ssh_known_hosts | Known Hosts | See [values.yaml](values.yaml) |
|
| configs.knownHosts.data.ssh_known_hosts | Known Hosts | See [values.yaml](values.yaml) |
|
||||||
|
|
|
@ -38,6 +38,10 @@ spec:
|
||||||
{{- toYaml .Values.controller.podLabels | nindent 8 }}
|
{{- toYaml .Values.controller.podLabels | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.securityContext }}
|
{{- if .Values.global.securityContext }}
|
||||||
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -39,6 +39,10 @@ spec:
|
||||||
{{- toYaml .Values.repoServer.podLabels | nindent 8 }}
|
{{- toYaml .Values.repoServer.podLabels | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.securityContext }}
|
{{- if .Values.global.securityContext }}
|
||||||
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -39,6 +39,10 @@ spec:
|
||||||
{{- toYaml .Values.server.podLabels | nindent 8 }}
|
{{- toYaml .Values.server.podLabels | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.securityContext }}
|
{{- if .Values.global.securityContext }}
|
||||||
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -27,6 +27,10 @@ spec:
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
app.kubernetes.io/component: {{ .Values.dex.name }}
|
||||||
app.kubernetes.io/version: {{ .Values.dex.image.tag }}
|
app.kubernetes.io/version: {{ .Values.dex.image.tag }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.securityContext }}
|
{{- if .Values.global.securityContext }}
|
||||||
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -26,6 +26,10 @@ spec:
|
||||||
app.kubernetes.io/component: {{ .Values.redis.name }}
|
app.kubernetes.io/component: {{ .Values.redis.name }}
|
||||||
app.kubernetes.io/version: {{ .Values.redis.image.tag }}
|
app.kubernetes.io/version: {{ .Values.redis.image.tag }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
{{- if .Values.global.securityContext }}
|
{{- if .Values.global.securityContext }}
|
||||||
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
||||||
|
|
|
@ -16,6 +16,7 @@ global:
|
||||||
# runAsUser: 999
|
# runAsUser: 999
|
||||||
# runAsGroup: 999
|
# runAsGroup: 999
|
||||||
# fsGroup: 999
|
# fsGroup: 999
|
||||||
|
imagePullSecrets: []
|
||||||
|
|
||||||
## Controller
|
## Controller
|
||||||
controller:
|
controller:
|
||||||
|
|
Loading…
Reference in a new issue