Add value for enable/disable redis securityContext; Bump chart version
Signed-off-by: jaydee94 <janherber@gmx.de>
This commit is contained in:
parent
2f36128868
commit
2f8be42476
4 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: 1.7.4
|
appVersion: 1.7.4
|
||||||
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.7.0
|
version: 2.7.1
|
||||||
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:
|
||||||
|
|
|
@ -311,6 +311,7 @@ through `xxx.extraArgs`
|
||||||
| redis.podLabels | Labels for the Redis server pods | `{}` |
|
| redis.podLabels | Labels for the Redis server pods | `{}` |
|
||||||
| redis.priorityClassName | Priority class for redis | `""` |
|
| redis.priorityClassName | Priority class for redis | `""` |
|
||||||
| redis.resources | Resource limits and requests for redis | `{}` |
|
| redis.resources | Resource limits and requests for redis | `{}` |
|
||||||
|
| redis.securityContextEnabled | Enable/Disable securityContext | `true` |
|
||||||
| redis.securityContext | Redis Pod Security Context | See [values.yaml](values.yaml) |
|
| redis.securityContext | Redis Pod Security Context | See [values.yaml](values.yaml) |
|
||||||
| redis.servicePort | Redis service port | `6379` |
|
| redis.servicePort | Redis service port | `6379` |
|
||||||
| redis.tolerations | [Tolerations for use with node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `[]` |
|
| redis.tolerations | [Tolerations for use with node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `[]` |
|
||||||
|
|
|
@ -41,9 +41,11 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
|
{{- if .Values.redis.securityContextEnabled }}
|
||||||
{{- if .Values.redis.securityContext }}
|
{{- if .Values.redis.securityContext }}
|
||||||
securityContext: {{- toYaml .Values.redis.securityContext | nindent 8 }}
|
securityContext: {{- toYaml .Values.redis.securityContext | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ template "argo-cd.redis.fullname" . }}
|
- name: {{ template "argo-cd.redis.fullname" . }}
|
||||||
args:
|
args:
|
||||||
|
|
|
@ -278,6 +278,7 @@ redis:
|
||||||
# - all
|
# - all
|
||||||
|
|
||||||
## Redis Pod specific security context
|
## Redis Pod specific security context
|
||||||
|
securityContextEnabled: true
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
|
|
Loading…
Reference in a new issue