* feat: Helm Chart: add hostAliases to deployments #272 * feat: Bumped version number of argo-cd chart * Bumped version number of argo-cd chart. Feature #272
This commit is contained in:
parent
c6c4722787
commit
bad9aff0aa
6 changed files with 18 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: 2.0.2
|
version: 2.0.3
|
||||||
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:
|
||||||
|
|
|
@ -60,6 +60,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| 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. | `[]` |
|
| global.imagePullSecrets | If defined, uses a Secret to pull an image from a private Docker registry or repository. | `[]` |
|
||||||
|
| global.hostAliases | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files | `[]` |
|
||||||
| 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) |
|
||||||
|
|
|
@ -113,6 +113,10 @@ spec:
|
||||||
{{- toYaml .Values.controller.affinity | nindent 8 }}
|
{{- toYaml .Values.controller.affinity | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ template "argo-cd.controllerServiceAccountName" . }}
|
serviceAccountName: {{ template "argo-cd.controllerServiceAccountName" . }}
|
||||||
|
{{- with .Values.global.hostAliases }}
|
||||||
|
hostAliases:
|
||||||
|
{{ toYaml . | indent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.controller.volumes }}
|
{{- if .Values.controller.volumes }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- toYaml .Values.controller.volumes | nindent 8 }}
|
{{- toYaml .Values.controller.volumes | nindent 8 }}
|
||||||
|
|
|
@ -120,6 +120,10 @@ spec:
|
||||||
{{- toYaml .Values.repoServer.affinity | nindent 8 }}
|
{{- toYaml .Values.repoServer.affinity | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ template "argo-cd.repoServerServiceAccountName" . }}
|
serviceAccountName: {{ template "argo-cd.repoServerServiceAccountName" . }}
|
||||||
|
{{- with .Values.global.hostAliases }}
|
||||||
|
hostAliases:
|
||||||
|
{{ toYaml . | indent 6 }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- if .Values.repoServer.volumes }}
|
{{- if .Values.repoServer.volumes }}
|
||||||
{{- toYaml .Values.repoServer.volumes | nindent 6}}
|
{{- toYaml .Values.repoServer.volumes | nindent 6}}
|
||||||
|
|
|
@ -130,6 +130,10 @@ spec:
|
||||||
{{- toYaml .Values.server.affinity | nindent 8 }}
|
{{- toYaml .Values.server.affinity | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ template "argo-cd.serverServiceAccountName" . }}
|
serviceAccountName: {{ template "argo-cd.serverServiceAccountName" . }}
|
||||||
|
{{- with .Values.global.hostAliases }}
|
||||||
|
hostAliases:
|
||||||
|
{{ toYaml . | indent 6 }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- if .Values.server.volumes }}
|
{{- if .Values.server.volumes }}
|
||||||
{{- toYaml .Values.server.volumes | nindent 6}}
|
{{- toYaml .Values.server.volumes | nindent 6}}
|
||||||
|
|
|
@ -17,6 +17,10 @@ global:
|
||||||
# runAsGroup: 999
|
# runAsGroup: 999
|
||||||
# fsGroup: 999
|
# fsGroup: 999
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
hostAliases: []
|
||||||
|
# - ip: 10.20.30.40
|
||||||
|
# hostnames:
|
||||||
|
# - git.myhostname
|
||||||
|
|
||||||
## Controller
|
## Controller
|
||||||
controller:
|
controller:
|
||||||
|
|
Loading…
Reference in a new issue