Merge branch 'master' into events1.1

This commit is contained in:
Derek Wang 2020-12-25 16:30:20 -08:00 committed by GitHub
commit 8525220567
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 51 additions and 35 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.7.6 appVersion: 1.7.6
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.10.0 version: 2.11.0
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:

View file

@ -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` |

View file

@ -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:

View file

@ -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,11 +55,11 @@ controller:
## Environment variables to pass to argocd-controller ## Environment variables to pass to argocd-controller
## ##
env: [] env:
[]
# - name: "ARGOCD_CONTROLLER_REPLICAS" # - name: "ARGOCD_CONTROLLER_REPLICAS"
# value: "" # value: ""
## Annotations to be added to controller pods ## Annotations to be added to controller pods
## ##
podAnnotations: {} podAnnotations: {}
@ -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
@ -242,12 +246,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
@ -291,7 +295,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
@ -326,7 +331,7 @@ redis-ha:
redis: redis:
masterGroupName: argocd masterGroupName: argocd
config: config:
save: "\"\"" save: '""'
haproxy: haproxy:
enabled: true enabled: true
metrics: metrics:
@ -409,7 +414,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
@ -759,7 +765,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
@ -921,7 +928,8 @@ 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.

View file

@ -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.11 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: