Merge branch 'master' into master
This commit is contained in:
commit
4f37711cd3
9 changed files with 85 additions and 40 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: 2.1.0
|
appVersion: 2.1.0
|
||||||
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: 3.14.0
|
version: 3.15.1
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-cd/assets/logo.png
|
icon: https://argoproj.github.io/argo-cd/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -142,6 +142,8 @@ NAME: my-release
|
||||||
| global.image.imagePullPolicy | If defined, a imagePullPolicy applied to all ArgoCD deployments. | `"IfNotPresent"` |
|
| 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.repository | If defined, a repository applied to all ArgoCD deployments. | `"argoproj/argocd"` |
|
||||||
| global.image.tag | If defined, a tag applied to all ArgoCD deployments. | `"v2.0.5"` |
|
| global.image.tag | If defined, a tag applied to all ArgoCD deployments. | `"v2.0.5"` |
|
||||||
|
| global.podAnnotations | Annotations for the all deployed pods |
|
||||||
|
| global.podLabels | Labels for the all deployed pods |
|
||||||
| 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 | `[]` |
|
| global.hostAliases | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files | `[]` |
|
||||||
|
@ -395,13 +397,27 @@ NAME: my-release
|
||||||
| dex.nodeSelector | [Node selector](https://kubernetes.io/docs/user-guide/node-selection/) | `{}` |
|
| dex.nodeSelector | [Node selector](https://kubernetes.io/docs/user-guide/node-selection/) | `{}` |
|
||||||
| dex.podAnnotations | Annotations for the Dex server pods | `{}` |
|
| dex.podAnnotations | Annotations for the Dex server pods | `{}` |
|
||||||
| dex.podLabels | Labels for the Dex server pods | `{}` |
|
| dex.podLabels | Labels for the Dex server pods | `{}` |
|
||||||
|
| dex.livenessProbe.enabled | Enable Kubernetes liveness probe for Dex >= 2.28.0 | `false` |
|
||||||
|
| dex.livenessProbe.failureThreshold | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `3` |
|
||||||
|
| dex.livenessProbe.initialDelaySeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) |`10` |
|
||||||
|
| dex.livenessProbe.periodSeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `10` |
|
||||||
|
| dex.livenessProbe.successThreshold | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `1` |
|
||||||
|
| dex.livenessProbe.timeoutSeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `1` |
|
||||||
|
| dex.readinessProbe.enabled | Enable Kubernetes readiness probe for Dex >= 2.28.0 | `false` |
|
||||||
|
| dex.readinessProbe.failureThreshold | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `3` |
|
||||||
|
| dex.readinessProbe.initialDelaySeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) |`10` |
|
||||||
|
| dex.readinessProbe.periodSeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `10` |
|
||||||
|
| dex.readinessProbe.successThreshold | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `1` |
|
||||||
|
| dex.readinessProbe.timeoutSeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `1` |
|
||||||
| dex.priorityClassName | Priority class for dex | `""` |
|
| dex.priorityClassName | Priority class for dex | `""` |
|
||||||
| dex.resources | Resource limits and requests for dex | `{}` |
|
| dex.resources | Resource limits and requests for dex | `{}` |
|
||||||
| dex.serviceAccount.automountServiceAccountToken | Automount API credentials for the Service Account | `true` |
|
| dex.serviceAccount.automountServiceAccountToken | Automount API credentials for the Service Account | `true` |
|
||||||
| dex.serviceAccount.create | Create dex service account | `true` |
|
| dex.serviceAccount.create | Create dex service account | `true` |
|
||||||
| dex.serviceAccount.name | Dex service account name | `"argocd-dex-server"` |
|
| dex.serviceAccount.name | Dex service account name | `"argocd-dex-server"` |
|
||||||
| dex.servicePortGrpc | Server GRPC port | `5557` |
|
| dex.servicePortGrpc | Server GRPC port | `5557` |
|
||||||
|
| dex.servicePortGrpcName | Server GRPC port name | `grpc` |
|
||||||
| dex.servicePortHttp | Server HTTP port | `5556` |
|
| dex.servicePortHttp | Server HTTP port | `5556` |
|
||||||
|
| dex.servicePortHttpName | Server GRPC port name | `http` |
|
||||||
| dex.tolerations | [Tolerations for use with node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `[]` |
|
| dex.tolerations | [Tolerations for use with node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `[]` |
|
||||||
| dex.volumeMounts | Dex volume mounts | `"/shared"` |
|
| dex.volumeMounts | Dex volume mounts | `"/shared"` |
|
||||||
| dex.volumes | Dex volumes | `{}` |
|
| dex.volumes | Dex volumes | `{}` |
|
||||||
|
|
|
@ -17,17 +17,15 @@ spec:
|
||||||
replicas: {{ .Values.controller.replicas }}
|
replicas: {{ .Values.controller.replicas }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- if .Values.controller.podAnnotations }}
|
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.controller.podAnnotations) }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.controller.podAnnotations }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 8 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 8 }}
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.controller.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.controller.image.tag | quote }}
|
||||||
{{- if .Values.controller.podLabels }}
|
{{- with (mergeOverwrite .Values.global.podLabels .Values.controller.podLabels) }}
|
||||||
{{- toYaml .Values.controller.podLabels | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.global.imagePullSecrets }}
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
|
|
@ -16,17 +16,15 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- if .Values.repoServer.podAnnotations }}
|
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.repoServer.podAnnotations) }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.repoServer.podAnnotations }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 8 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 8 }}
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.repoServer.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.repoServer.image.tag | quote }}
|
||||||
{{- if .Values.repoServer.podLabels }}
|
{{- with (mergeOverwrite .Values.global.podLabels .Values.repoServer.podLabels) }}
|
||||||
{{- toYaml .Values.repoServer.podLabels | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.global.imagePullSecrets }}
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
|
|
@ -16,17 +16,15 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- if .Values.server.podAnnotations }}
|
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.server.podAnnotations) }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.server.podAnnotations }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 8 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 8 }}
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.server.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.server.image.tag | quote }}
|
||||||
{{- if .Values.server.podLabels }}
|
{{- with (mergeOverwrite .Values.global.podLabels .Values.server.podLabels) }}
|
||||||
{{- toYaml .Values.server.podLabels | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.global.imagePullSecrets }}
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
|
|
@ -12,17 +12,15 @@ spec:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.dex.name) | nindent 6 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.dex.name) | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- if .Values.dex.podAnnotations }}
|
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.dex.podAnnotations) }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.dex.podAnnotations }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 8 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 8 }}
|
||||||
app.kubernetes.io/version: {{ .Values.dex.image.tag | quote }}
|
app.kubernetes.io/version: {{ .Values.dex.image.tag | quote }}
|
||||||
{{- if .Values.dex.podLabels }}
|
{{- with (mergeOverwrite .Values.global.podLabels .Values.dex.podLabels) }}
|
||||||
{{- toYaml .Values.dex.podLabels | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.global.imagePullSecrets }}
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
@ -73,10 +71,26 @@ spec:
|
||||||
- name: grpc
|
- name: grpc
|
||||||
containerPort: {{ .Values.dex.containerPortGrpc }}
|
containerPort: {{ .Values.dex.containerPortGrpc }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- if .Values.dex.metrics.enabled }}
|
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: {{ .Values.dex.containerPortMetrics }}
|
containerPort: {{ .Values.dex.containerPortMetrics }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
{{- if .Values.dex.livenessProbe.enabled }}
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz/live
|
||||||
|
port: metrics
|
||||||
|
{{- with .Values.dex.livenessProbe }}
|
||||||
|
{{- omit . "enabled" | toYaml | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.dex.readinessProbe.enabled }}
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz/ready
|
||||||
|
port: metrics
|
||||||
|
{{- with .Values.dex.readinessProbe }}
|
||||||
|
{{- omit . "enabled" | toYaml | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
|
|
|
@ -16,11 +16,11 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: {{ .Values.dex.servicePortHttpName }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: {{ .Values.dex.servicePortHttp }}
|
port: {{ .Values.dex.servicePortHttp }}
|
||||||
targetPort: http
|
targetPort: http
|
||||||
- name: grpc
|
- name: {{ .Values.dex.servicePortGrpcName }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: {{ .Values.dex.servicePortGrpc }}
|
port: {{ .Values.dex.servicePortGrpc }}
|
||||||
targetPort: grpc
|
targetPort: grpc
|
||||||
|
|
|
@ -13,17 +13,15 @@ spec:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.redis.name }}
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.redis.name }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- if .Values.redis.podAnnotations }}
|
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.redis.podAnnotations) }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.redis.podAnnotations }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.redis.name "name" .Values.redis.name) | nindent 8 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.redis.name "name" .Values.redis.name) | nindent 8 }}
|
||||||
app.kubernetes.io/version: {{ .Values.redis.image.tag | quote }}
|
app.kubernetes.io/version: {{ .Values.redis.image.tag | quote }}
|
||||||
{{- if .Values.redis.podLabels }}
|
{{- with (mergeOverwrite .Values.global.podLabels .Values.redis.podLabels) }}
|
||||||
{{- toYaml .Values.redis.podLabels | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.global.imagePullSecrets }}
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
|
|
|
@ -10,6 +10,10 @@ global:
|
||||||
repository: quay.io/argoproj/argocd
|
repository: quay.io/argoproj/argocd
|
||||||
tag: v2.1.0
|
tag: v2.1.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
## Annotations applied to all pods
|
||||||
|
podAnnotations: {}
|
||||||
|
## Labels applied to all pods
|
||||||
|
podLabels: {}
|
||||||
securityContext: {}
|
securityContext: {}
|
||||||
# runAsUser: 999
|
# runAsUser: 999
|
||||||
# runAsGroup: 999
|
# runAsGroup: 999
|
||||||
|
@ -261,6 +265,23 @@ dex:
|
||||||
##
|
##
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
|
|
||||||
|
## Probes for Dex server
|
||||||
|
## Supported from Dex >= 2.28.0
|
||||||
|
livenessProbe:
|
||||||
|
enabled: false
|
||||||
|
failureThreshold: 3
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 10
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 1
|
||||||
|
readinessProbe:
|
||||||
|
enabled: false
|
||||||
|
failureThreshold: 3
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 10
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 1
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
name: argocd-dex-server
|
name: argocd-dex-server
|
||||||
|
@ -282,8 +303,10 @@ dex:
|
||||||
## Dex deployment container ports
|
## Dex deployment container ports
|
||||||
containerPortHttp: 5556
|
containerPortHttp: 5556
|
||||||
servicePortHttp: 5556
|
servicePortHttp: 5556
|
||||||
|
servicePortHttpName: http
|
||||||
containerPortGrpc: 5557
|
containerPortGrpc: 5557
|
||||||
servicePortGrpc: 5557
|
servicePortGrpc: 5557
|
||||||
|
servicePortGrpcName: grpc
|
||||||
containerPortMetrics: 5558
|
containerPortMetrics: 5558
|
||||||
servicePortMetrics: 5558
|
servicePortMetrics: 5558
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue