chore: Add conditional for serviceName, add README
Signed-off-by: seanson@users.noreply.github.com <seanson@users.noreply.github.com>
This commit is contained in:
parent
0581868379
commit
02773ce693
2 changed files with 7 additions and 0 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` |
|
||||||
|
|
|
@ -16,7 +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" . }}
|
serviceName: {{ template "argo-cd.controller.fullname" . }}
|
||||||
|
{{- end }}
|
||||||
revisionHistoryLimit: 5
|
revisionHistoryLimit: 5
|
||||||
replicas: {{ .Values.controller.replicas }}
|
replicas: {{ .Values.controller.replicas }}
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue