diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 7419e346..fa18260f 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: "1.3.4" +appVersion: "1.3.6" description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 1.4.5 +version: 1.5.0 home: https://github.com/argoproj/argo-helm icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png keywords: diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index 830dceca..a232385c 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -31,7 +31,8 @@ $ helm install --name my-release argo/argo-cd |-----|------|---------| | global.image.imagePullPolicy | If defined, a imagePullPolicy applied to all ArgoCD deployments. | `"IfNotPresent"` | | 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.2.3"` | +| global.image.tag | If defined, a tag applied to all ArgoCD deployments. | `"v1.3.6"` | +| global.securityContext | Toggle and define securityContext | See [values.yaml](values.yaml) |  | nameOverride | Provide a name in place of `argocd` | `"argocd"` | | configs.knownHosts.data.ssh_known_hosts | Known Hosts | See [values.yaml](values.yaml) | | configs.secret.bitbucketSecret | BitBucket incoming webhook secret | `""` | @@ -136,7 +137,7 @@ $ helm install --name my-release argo/argo-cd | server.certificate.domain | Certificate manager domain | `"argocd.example.com"` | | server.certificate.enabled | Enables a certificate manager certificate. | `false` | | server.certificate.issuer | Certificate manager issuer | `{}` | -| server.config | URL for Argo CD | `{}` | +| server.config | [General Argo CD configuration](https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#repositories) | See [values.yaml](values.yaml) | | server.containerPort | Server container port. | `8080` | | server.extraArgs | Additional arguments for the server. A list of key:value pairs. | `[]` | | server.env | Environment variables for the server. | `[]` | @@ -167,7 +168,7 @@ $ helm install --name my-release argo/argo-cd | server.podAnnotations | Annotations for the repo server pods | `{}` | | server.podLabels | Labels for the repo server pods | `{}` | | server.priorityClassName | Priority class for the repo server | `""` | -| server.rbacConfig | Argo CD RBAC policy https://argoproj.github.io/argo-cd/operator-manual/rbac/ | `See [values.yaml](values.yaml)` | +| server.rbacConfig | [Argo CD RBAC policy](https://argoproj.github.io/argo-cd/operator-manual/rbac/) | `{}` | | server.readinessProbe.failureThreshold | int | `3` | | server.readinessProbe.initialDelaySeconds | int | `10` | | server.readinessProbe.periodSeconds | int | `10` | diff --git a/charts/argo-cd/templates/argocd-application-controller/deployment.yaml b/charts/argo-cd/templates/argocd-application-controller/deployment.yaml index 12189424..8fec2fdb 100644 --- a/charts/argo-cd/templates/argocd-application-controller/deployment.yaml +++ b/charts/argo-cd/templates/argocd-application-controller/deployment.yaml @@ -35,6 +35,9 @@ spec: {{- toYaml .Values.controller.podLabels | nindent 8 }} {{- end }} spec: + {{- if .Values.global.securityContext }} + securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }} + {{- end }} containers: - command: - argocd-application-controller diff --git a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml index 0c66a115..458a7ee3 100644 --- a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml @@ -35,6 +35,9 @@ spec: {{- toYaml .Values.controller.podLabels | nindent 8 }} {{- end }} spec: + {{- if .Values.global.securityContext }} + securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }} + {{- end }} containers: - name: {{ .Values.repoServer.name }} image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default .Values.global.image.tag .Values.repoServer.image.tag }} diff --git a/charts/argo-cd/templates/argocd-server/deployment.yaml b/charts/argo-cd/templates/argocd-server/deployment.yaml index 5b728d5e..6b84c4ad 100644 --- a/charts/argo-cd/templates/argocd-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-server/deployment.yaml @@ -35,6 +35,9 @@ spec: {{- toYaml .Values.controller.podLabels | nindent 8 }} {{- end }} spec: + {{- if .Values.global.securityContext }} + securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }} + {{- end }} containers: - name: {{ .Values.server.name }} image: {{ default .Values.global.image.repository .Values.server.image.repository }}:{{ default .Values.global.image.tag .Values.server.image.tag }} diff --git a/charts/argo-cd/templates/redis/deployment.yaml b/charts/argo-cd/templates/redis/deployment.yaml index 87d6a024..ada5dc9a 100644 --- a/charts/argo-cd/templates/redis/deployment.yaml +++ b/charts/argo-cd/templates/redis/deployment.yaml @@ -25,6 +25,9 @@ spec: app.kubernetes.io/component: {{ .Values.redis.name }} spec: automountServiceAccountToken: false + {{- if .Values.global.securityContext }} + securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }} + {{- end }} containers: - name: {{ template "argo-cd.redis.fullname" . }} args: diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 632d98f3..8413e94d 100644 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -10,8 +10,12 @@ installCRDs: true global: image: repository: argoproj/argocd - tag: v1.3.4 + tag: v1.3.6 imagePullPolicy: IfNotPresent + securityContext: {} + # runAsUser: 999 + # runAsGroup: 999 + # fsGroup: 999 ## Controller controller: @@ -19,7 +23,7 @@ controller: image: repository: # argoproj/argocd - tag: # v1.3.4 + tag: # v1.3.6 imagePullPolicy: # IfNotPresent ## Argo controller commandline flags @@ -246,7 +250,7 @@ server: image: repository: # argoproj/argocd - tag: # v1.3.4 + tag: # v1.3.6 imagePullPolicy: # IfNotPresent ## Additional command line arguments to pass to argocd-server @@ -482,7 +486,7 @@ repoServer: image: repository: # argoproj/argocd - tag: # v1.3.4 + tag: # v1.3.6 imagePullPolicy: # IfNotPresent ## Additional command line arguments to pass to argocd-repo-server