Merge branch 'master' into dexAnnotations
This commit is contained in:
commit
65ccdafdaa
8 changed files with 63 additions and 41 deletions
|
@ -14,6 +14,10 @@ This chart currently installs the non-HA version of ArgoCD.
|
||||||
|
|
||||||
## Upgrading
|
## Upgrading
|
||||||
|
|
||||||
|
### 2.10.x to 2.11.0
|
||||||
|
|
||||||
|
The application controller is now available as a `StatefulSet` when the `controller.enableStatefulSet` flag is set to true. Depending on your Helm deployment this may be a downtime or breaking change if enabled when using HA and will become the default in 3.x.
|
||||||
|
|
||||||
### 1.8.7 to 2.x.x
|
### 1.8.7 to 2.x.x
|
||||||
|
|
||||||
`controller.extraArgs`, `repoServer.extraArgs` and `server.extraArgs` are now arrays of strings intead of a map
|
`controller.extraArgs`, `repoServer.extraArgs` and `server.extraArgs` are now arrays of strings intead of a map
|
||||||
|
@ -93,6 +97,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| controller.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
|
| controller.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
|
||||||
| controller.containerPort | Controller listening port. | `8082` |
|
| controller.containerPort | Controller listening port. | `8082` |
|
||||||
| controller.extraArgs | Additional arguments for the controller. A list of flags | `[]` |
|
| controller.extraArgs | Additional arguments for the controller. A list of flags | `[]` |
|
||||||
|
| controller.enableStatefulSet | Enable deploying the controller as a StatefulSet instead of a Deployment. Used for HA installations. | `false` |
|
||||||
| controller.env | Environment variables for the controller. | `[]` |
|
| controller.env | Environment variables for the controller. | `[]` |
|
||||||
| controller.image.repository | Repository to use for the controller | `global.image.repository` |
|
| controller.image.repository | Repository to use for the controller | `global.image.repository` |
|
||||||
| controller.image.imagePullPolicy | Image pull policy for the controller | `global.image.imagePullPolicy` |
|
| controller.image.imagePullPolicy | Image pull policy for the controller | `global.image.imagePullPolicy` |
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{- $redisHa := (index .Values "redis-ha") -}}
|
{{- $redisHa := (index .Values "redis-ha") -}}
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: {{ .Values.controller.enableStatefulSet | ternary "StatefulSet" "Deployment" }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
|
@ -16,6 +16,9 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{- if .Values.controller.enableStatefulSet }}
|
||||||
|
serviceName: {{ template "argo-cd.controller.fullname" . }}
|
||||||
|
{{- end }}
|
||||||
revisionHistoryLimit: 5
|
revisionHistoryLimit: 5
|
||||||
replicas: {{ .Values.controller.replicas }}
|
replicas: {{ .Values.controller.replicas }}
|
||||||
template:
|
template:
|
||||||
|
|
|
@ -34,6 +34,9 @@ controller:
|
||||||
# If changing the number of replicas you must pass the number as ARGOCD_CONTROLLER_REPLICAS as an environment variable
|
# If changing the number of replicas you must pass the number as ARGOCD_CONTROLLER_REPLICAS as an environment variable
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
||||||
|
# Deploy the application as a StatefulSet instead of a Deployment, this is required for HA capability.
|
||||||
|
# This is a feature flag that will become the default in chart version 3.x
|
||||||
|
enableStatefulSet: false
|
||||||
|
|
||||||
## Argo controller commandline flags
|
## Argo controller commandline flags
|
||||||
args:
|
args:
|
||||||
|
@ -52,10 +55,10 @@ controller:
|
||||||
|
|
||||||
## Environment variables to pass to argocd-controller
|
## Environment variables to pass to argocd-controller
|
||||||
##
|
##
|
||||||
env: []
|
env:
|
||||||
# - name: "ARGOCD_CONTROLLER_REPLICAS"
|
[]
|
||||||
# value: ""
|
# - name: "ARGOCD_CONTROLLER_REPLICAS"
|
||||||
|
# value: ""
|
||||||
|
|
||||||
## Annotations to be added to controller pods
|
## Annotations to be added to controller pods
|
||||||
##
|
##
|
||||||
|
@ -66,7 +69,8 @@ controller:
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
|
|
||||||
## Labels to set container specific security contexts
|
## Labels to set container specific security contexts
|
||||||
containerSecurityContext: {}
|
containerSecurityContext:
|
||||||
|
{}
|
||||||
# capabilities:
|
# capabilities:
|
||||||
# drop:
|
# drop:
|
||||||
# - all
|
# - all
|
||||||
|
@ -244,12 +248,12 @@ dex:
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
## Labels to set container specific security contexts
|
## Labels to set container specific security contexts
|
||||||
containerSecurityContext: {}
|
containerSecurityContext:
|
||||||
|
{}
|
||||||
# capabilities:
|
# capabilities:
|
||||||
# drop:
|
# drop:
|
||||||
# - all
|
# - all
|
||||||
|
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# limits:
|
# limits:
|
||||||
# cpu: 50m
|
# cpu: 50m
|
||||||
|
@ -293,7 +297,8 @@ redis:
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
## Labels to set container specific security contexts
|
## Labels to set container specific security contexts
|
||||||
containerSecurityContext: {}
|
containerSecurityContext:
|
||||||
|
{}
|
||||||
# capabilities:
|
# capabilities:
|
||||||
# drop:
|
# drop:
|
||||||
# - all
|
# - all
|
||||||
|
@ -328,7 +333,7 @@ redis-ha:
|
||||||
redis:
|
redis:
|
||||||
masterGroupName: argocd
|
masterGroupName: argocd
|
||||||
config:
|
config:
|
||||||
save: "\"\""
|
save: '""'
|
||||||
haproxy:
|
haproxy:
|
||||||
enabled: true
|
enabled: true
|
||||||
metrics:
|
metrics:
|
||||||
|
@ -411,7 +416,8 @@ server:
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
## Labels to set container specific security contexts
|
## Labels to set container specific security contexts
|
||||||
containerSecurityContext: {}
|
containerSecurityContext:
|
||||||
|
{}
|
||||||
# capabilities:
|
# capabilities:
|
||||||
# drop:
|
# drop:
|
||||||
# - all
|
# - all
|
||||||
|
@ -761,7 +767,8 @@ repoServer:
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
## Labels to set container specific security contexts
|
## Labels to set container specific security contexts
|
||||||
containerSecurityContext: {}
|
containerSecurityContext:
|
||||||
|
{}
|
||||||
# capabilities:
|
# capabilities:
|
||||||
# drop:
|
# drop:
|
||||||
# - all
|
# - all
|
||||||
|
@ -817,24 +824,24 @@ repoServer:
|
||||||
## Use init containers to configure custom tooling
|
## Use init containers to configure custom tooling
|
||||||
## https://argoproj.github.io/argo-cd/operator-manual/custom_tools/
|
## https://argoproj.github.io/argo-cd/operator-manual/custom_tools/
|
||||||
## When using the volumes & volumeMounts section bellow, please comment out those above.
|
## When using the volumes & volumeMounts section bellow, please comment out those above.
|
||||||
# volumes:
|
# volumes:
|
||||||
# - name: custom-tools
|
# - name: custom-tools
|
||||||
# emptyDir: {}
|
# emptyDir: {}
|
||||||
#
|
#
|
||||||
# initContainers:
|
# initContainers:
|
||||||
# - name: download-tools
|
# - name: download-tools
|
||||||
# image: alpine:3.8
|
# image: alpine:3.8
|
||||||
# command: [sh, -c]
|
# command: [sh, -c]
|
||||||
# args:
|
# args:
|
||||||
# - wget -qO- https://get.helm.sh/helm-v2.16.1-linux-amd64.tar.gz | tar -xvzf - &&
|
# - wget -qO- https://get.helm.sh/helm-v2.16.1-linux-amd64.tar.gz | tar -xvzf - &&
|
||||||
# mv linux-amd64/helm /custom-tools/
|
# mv linux-amd64/helm /custom-tools/
|
||||||
# volumeMounts:
|
# volumeMounts:
|
||||||
# - mountPath: /custom-tools
|
# - mountPath: /custom-tools
|
||||||
# name: custom-tools
|
# name: custom-tools
|
||||||
# volumeMounts:
|
# volumeMounts:
|
||||||
# - mountPath: /usr/local/bin/helm
|
# - mountPath: /usr/local/bin/helm
|
||||||
# name: custom-tools
|
# name: custom-tools
|
||||||
# subPath: helm
|
# subPath: helm
|
||||||
|
|
||||||
## Argo Configs
|
## Argo Configs
|
||||||
configs:
|
configs:
|
||||||
|
@ -923,10 +930,11 @@ configs:
|
||||||
# Custom secrets. Useful for injecting SSO secrets into environment variables.
|
# Custom secrets. Useful for injecting SSO secrets into environment variables.
|
||||||
# Ref: https://argoproj.github.io/argo-cd/operator-manual/sso/
|
# Ref: https://argoproj.github.io/argo-cd/operator-manual/sso/
|
||||||
# Note that all values must be non-empty.
|
# Note that all values must be non-empty.
|
||||||
extra: {}
|
extra:
|
||||||
|
{}
|
||||||
# LDAP_PASSWORD: "mypassword"
|
# LDAP_PASSWORD: "mypassword"
|
||||||
|
|
||||||
# Argo TLS Data.
|
# Argo TLS Data.
|
||||||
argocdServerTlsConfig:
|
argocdServerTlsConfig:
|
||||||
{}
|
{}
|
||||||
# key:
|
# key:
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "0.9.1"
|
appVersion: "0.9.1"
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 0.3.9
|
version: 0.3.10
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -2,12 +2,6 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}
|
name: {{ .Release.Name }}
|
||||||
{{- if .Values.podAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.podAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/component: {{ .Values.controller.component }}
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
@ -21,6 +15,12 @@ spec:
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
{{- if .Values.podAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := .Values.podAnnotations }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
apiVersion: v1
|
apiVersion: v2
|
||||||
appVersion: v2.11.7
|
appVersion: v2.11.7
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
name: argo
|
name: argo
|
||||||
version: 0.13.10
|
version: 0.14.0
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -61,6 +61,9 @@ spec:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
|
{{- with .Values.controller.extraEnv }}
|
||||||
|
{{ toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.controller.resources | nindent 12 }}
|
{{- toYaml .Values.controller.resources | nindent 12 }}
|
||||||
{{- if .Values.controller.metricsConfig.enabled }}
|
{{- if .Values.controller.metricsConfig.enabled }}
|
||||||
|
|
|
@ -115,6 +115,9 @@ controller:
|
||||||
# service type `LoadBalancer`
|
# service type `LoadBalancer`
|
||||||
loadBalancerSourceRanges: []
|
loadBalancerSourceRanges: []
|
||||||
resources: {}
|
resources: {}
|
||||||
|
# The list of environment variable definitions to be added to the controller
|
||||||
|
# manages container verbatim.
|
||||||
|
extraEnv: []
|
||||||
replicas: 1
|
replicas: 1
|
||||||
pdb:
|
pdb:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Reference in a new issue