Merge branch 'master' into argo-rollouts-conditional-aggregate-clusterroles

This commit is contained in:
Scott Cabrinha 2020-12-01 15:23:01 -08:00 committed by GitHub
commit 8d5d270161
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 36 additions and 17 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.9.5 version: 2.10.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

@ -119,6 +119,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
| controller.readinessProbe.periodSeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `10` | | controller.readinessProbe.periodSeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `10` |
| controller.readinessProbe.successThreshold | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `1` | | controller.readinessProbe.successThreshold | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `1` |
| controller.readinessProbe.timeoutSeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `1` | | controller.readinessProbe.timeoutSeconds | [Kubernetes probe configuration](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes) | `1` |
| controller.replicas | The number of controller pods to run | `1` |\
| controller.resources | Resource limits and requests for the controller pods. | `{}` | | controller.resources | Resource limits and requests for the controller pods. | `{}` |
| controller.service.annotations | Controller service annotations. | `{}` | | controller.service.annotations | Controller service annotations. | `{}` |
| controller.service.labels | Controller service labels. | `{}` | | controller.service.labels | Controller service labels. | `{}` |

View file

@ -17,7 +17,7 @@ spec:
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 }}
revisionHistoryLimit: 5 revisionHistoryLimit: 5
replicas: 1 replicas: {{ .Values.controller.replicas }}
template: template:
metadata: metadata:
{{- if .Values.controller.podAnnotations }} {{- if .Values.controller.podAnnotations }}

View file

@ -31,6 +31,10 @@ controller:
tag: # v1.7.6 tag: # v1.7.6
imagePullPolicy: # IfNotPresent imagePullPolicy: # IfNotPresent
# If changing the number of replicas you must pass the number as ARGOCD_CONTROLLER_REPLICAS as an environment variable
replicas: 1
## Argo controller commandline flags ## Argo controller commandline flags
args: args:
statusProcessors: "20" statusProcessors: "20"
@ -49,6 +53,9 @@ controller:
## Environment variables to pass to argocd-controller ## Environment variables to pass to argocd-controller
## ##
env: [] env: []
# - name: "ARGOCD_CONTROLLER_REPLICAS"
# value: ""
## Annotations to be added to controller pods ## Annotations to be added to controller pods
## ##

View file

@ -2,7 +2,7 @@ apiVersion: v1
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.6 version: 0.13.8
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:

View file

@ -13,12 +13,6 @@ rules:
- get - get
- watch - watch
- list - list
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@ -30,6 +24,21 @@ rules:
- list - list
- watch - watch
- delete - delete
- apiGroups:
- ""
resources:
- serviceaccounts
verbs:
- get
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
{{- with .Values.server.rbac.secretWhitelist }}
resourceNames: {{- toYaml . | nindent 4 }}
{{- end }}
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@ -41,15 +50,14 @@ rules:
- "" - ""
resources: resources:
- secrets - secrets
- serviceaccounts
resourceNames: resourceNames:
{{- if .Values.controller.persistence.postgresql }} {{- with .Values.controller.persistence.postgresql }}
- {{ .Values.controller.persistence.postgresql.userNameSecret.name }} - {{ .userNameSecret.name }}
- {{ .Values.controller.persistence.postgresql.passwordSecret.name }} - {{ .passwordSecret.name }}
{{- end}} {{- end}}
{{- if .Values.controller.persistence.mysql }} {{- with .Values.controller.persistence.mysql }}
- {{ .Values.controller.persistence.mysql.userNameSecret.name }} - {{ .userNameSecret.name }}
- {{ .Values.controller.persistence.mysql.passwordSecret.name }} - {{ .passwordSecret.name }}
{{- end}} {{- end}}
verbs: verbs:
- get - get

View file

@ -51,7 +51,7 @@ spec:
- "--workflow-workers" - "--workflow-workers"
- {{ . | quote }} - {{ . | quote }}
{{- end }} {{- end }}
{{- if .Values.controller.podWorkers }} {{- with .Values.controller.podWorkers }}
- "--pod-workers" - "--pod-workers"
- {{ . | quote }} - {{ . | quote }}
{{- end }} {{- end }}

View file

@ -164,6 +164,9 @@ server:
serviceType: ClusterIP serviceType: ClusterIP
servicePort: 2746 servicePort: 2746
# servicePortName: http # servicePortName: http
rbac:
# When present, restricts secrets the server can read to a given list.
secretWhitelist: []
serviceAccount: argo-server serviceAccount: argo-server
# Whether to create the service account with the name specified in # Whether to create the service account with the name specified in
# server.serviceAccount and bind it to the server role. # server.serviceAccount and bind it to the server role.