feat: extraArgs allows same flag multiple times
Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>
This commit is contained in:
parent
d9d7862864
commit
57630d6364
7 changed files with 39 additions and 30 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "1.4.2"
|
appVersion: "1.4.2"
|
||||||
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: 1.8.0
|
version: 2.0.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:
|
||||||
|
|
|
@ -11,6 +11,27 @@ The default installation is intended to be similar to the provided ArgoCD [relea
|
||||||
|
|
||||||
This chart currently installs the non-HA version of ArgoCD.
|
This chart currently installs the non-HA version of ArgoCD.
|
||||||
|
|
||||||
|
## Upgrading
|
||||||
|
|
||||||
|
### 1.8.0 to 2.0.0
|
||||||
|
|
||||||
|
`controller.extraArgs`, `repoServer.extraArgs` and `server.extraArgs` are not arrays of strings intead of a map
|
||||||
|
|
||||||
|
What was
|
||||||
|
```
|
||||||
|
controller:
|
||||||
|
extraArgs:
|
||||||
|
insecure: ""
|
||||||
|
```
|
||||||
|
|
||||||
|
is now
|
||||||
|
|
||||||
|
```
|
||||||
|
controller:
|
||||||
|
extraArgs:
|
||||||
|
- --insecure
|
||||||
|
```
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- Kubernetes 1.7+
|
- Kubernetes 1.7+
|
||||||
|
@ -59,7 +80,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| controller.args.statusProcessors | define the controller `--status-processors` | `"20"` |
|
| controller.args.statusProcessors | define the controller `--status-processors` | `"20"` |
|
||||||
| 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 key:value pairs | `[]` |
|
| controller.extraArgs | Additional arguments for the controller. A list of flags. | `[]` |
|
||||||
| 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` |
|
||||||
|
@ -107,7 +128,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| repoServer.autoscaling.targetCPUUtilizationPercentage | Average CPU utilization percentage for the repo server HPA | `50` |
|
| repoServer.autoscaling.targetCPUUtilizationPercentage | Average CPU utilization percentage for the repo server HPA | `50` |
|
||||||
| repoServer.autoscaling.targetMemoryUtilizationPercentage | Average memory utilization percentage for the repo server HPA | `50` |
|
| repoServer.autoscaling.targetMemoryUtilizationPercentage | Average memory utilization percentage for the repo server HPA | `50` |
|
||||||
| repoServer.containerPort | Repo server port | `8081` |
|
| repoServer.containerPort | Repo server port | `8081` |
|
||||||
| repoServer.extraArgs | Additional arguments for the repo server. A list of key:value pairs. | `[]` |
|
| repoServer.extraArgs | Additional arguments for the repo server. A list of flags. | `[]` |
|
||||||
| repoServer.env | Environment variables for the repo server. | `[]` |
|
| repoServer.env | Environment variables for the repo server. | `[]` |
|
||||||
| repoServer.image.repository | Repository to use for the repo server | `global.image.repository` |
|
| repoServer.image.repository | Repository to use for the repo server | `global.image.repository` |
|
||||||
| repoServer.image.imagePullPolicy | Image pull policy for the repo server | `global.image.imagePullPolicy` |
|
| repoServer.image.imagePullPolicy | Image pull policy for the repo server | `global.image.imagePullPolicy` |
|
||||||
|
@ -160,7 +181,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
||||||
| server.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
|
| server.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
|
||||||
| server.config | [General Argo CD configuration](https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#repositories) | See [values.yaml](values.yaml) |
|
| server.config | [General Argo CD configuration](https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#repositories) | See [values.yaml](values.yaml) |
|
||||||
| server.containerPort | Server container port. | `8080` |
|
| server.containerPort | Server container port. | `8080` |
|
||||||
| server.extraArgs | Additional arguments for the server. A list of key:value pairs. | `[]` |
|
| server.extraArgs | Additional arguments for the server. A list of flags. | `[]` |
|
||||||
| server.env | Environment variables for the server. | `[]` |
|
| server.env | Environment variables for the server. | `[]` |
|
||||||
| server.image.repository | Repository to use for the server | `global.image.repository` |
|
| server.image.repository | Repository to use for the server | `global.image.repository` |
|
||||||
| server.image.imagePullPolicy | Image pull policy for the server | `global.image.imagePullPolicy` |
|
| server.image.imagePullPolicy | Image pull policy for the server | `global.image.imagePullPolicy` |
|
||||||
|
|
|
@ -6,7 +6,7 @@ In order to access the server UI you have the following options:
|
||||||
|
|
||||||
2. enable ingress in the values file `service.ingress.enabled` and either
|
2. enable ingress in the values file `service.ingress.enabled` and either
|
||||||
- Add the annotation for ssl passthrough: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/ingress.md#option-1-ssl-passthrough
|
- Add the annotation for ssl passthrough: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/ingress.md#option-1-ssl-passthrough
|
||||||
- Add the `insecure: ""` flag to `server.extraArgs` in the values file and terminate SSL at your ingress: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/ingress.md#option-2-multiple-ingress-objects-and-hosts
|
- Add the `--insecure` flag to `server.extraArgs` in the values file and terminate SSL at your ingress: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/ingress.md#option-2-multiple-ingress-objects-and-hosts
|
||||||
|
|
||||||
|
|
||||||
After reaching the UI the first time you can login with username: admin and the password will be the
|
After reaching the UI the first time you can login with username: admin and the password will be the
|
||||||
|
|
|
@ -56,12 +56,8 @@ spec:
|
||||||
- --redis
|
- --redis
|
||||||
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}
|
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range $key, $value := .Values.controller.extraArgs }}
|
{{- with .Values.controller.extraArgs }}
|
||||||
{{- if $value }}
|
{{ . | toYaml | nindent 8 }}
|
||||||
- --{{ $key }}={{ $value }}
|
|
||||||
{{- else }}
|
|
||||||
- --{{ $key }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
image: {{ default .Values.global.image.repository .Values.controller.image.repository }}:{{ default .Values.global.image.tag .Values.controller.image.tag }}
|
image: {{ default .Values.global.image.repository .Values.controller.image.repository }}:{{ default .Values.global.image.tag .Values.controller.image.tag }}
|
||||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.controller.image.imagePullPolicy }}
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.controller.image.imagePullPolicy }}
|
||||||
|
|
|
@ -54,12 +54,8 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- --loglevel
|
- --loglevel
|
||||||
- {{ .Values.repoServer.logLevel }}
|
- {{ .Values.repoServer.logLevel }}
|
||||||
{{- range $key, $value := .Values.repoServer.extraArgs }}
|
{{- with .Values.controller.extraArgs }}
|
||||||
{{- if $value }}
|
{{ . | toYaml | nindent 8 }}
|
||||||
- --{{ $key }}={{ $value }}
|
|
||||||
{{- else }}
|
|
||||||
- --{{ $key }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.repoServer.containerSecurityContext }}
|
{{- if .Values.repoServer.containerSecurityContext }}
|
||||||
securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
||||||
|
|
|
@ -62,12 +62,8 @@ spec:
|
||||||
- --redis
|
- --redis
|
||||||
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}
|
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range $key, $value := .Values.server.extraArgs }}
|
{{- with .Values.controller.extraArgs }}
|
||||||
{{- if $value }}
|
{{ . | toYaml | nindent 8 }}
|
||||||
- --{{ $key }}={{ $value }}
|
|
||||||
{{- else }}
|
|
||||||
- --{{ $key }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.server.containerSecurityContext }}
|
{{- if .Values.server.containerSecurityContext }}
|
||||||
securityContext: {{- toYaml .Values.server.containerSecurityContext | nindent 10 }}
|
securityContext: {{- toYaml .Values.server.containerSecurityContext | nindent 10 }}
|
||||||
|
|
|
@ -35,8 +35,8 @@ controller:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-controller
|
## Additional command line arguments to pass to argocd-controller
|
||||||
## key: value
|
## --argument=value
|
||||||
extraArgs: {}
|
extraArgs: []
|
||||||
|
|
||||||
## Environment variables to pass to argocd-controller
|
## Environment variables to pass to argocd-controller
|
||||||
##
|
##
|
||||||
|
@ -284,9 +284,9 @@ server:
|
||||||
imagePullPolicy: # IfNotPresent
|
imagePullPolicy: # IfNotPresent
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-server
|
## Additional command line arguments to pass to argocd-server
|
||||||
## key: value
|
## --argument=value
|
||||||
extraArgs: {}
|
extraArgs: []
|
||||||
# insecure: true
|
# - --insecure=true
|
||||||
|
|
||||||
## Environment variables to pass to argocd-server
|
## Environment variables to pass to argocd-server
|
||||||
##
|
##
|
||||||
|
@ -539,8 +539,8 @@ repoServer:
|
||||||
imagePullPolicy: # IfNotPresent
|
imagePullPolicy: # IfNotPresent
|
||||||
|
|
||||||
## Additional command line arguments to pass to argocd-repo-server
|
## Additional command line arguments to pass to argocd-repo-server
|
||||||
## key: value
|
## --argument=value
|
||||||
extraArgs: {}
|
extraArgs: []
|
||||||
|
|
||||||
## Environment variables to pass to argocd-repo-server
|
## Environment variables to pass to argocd-repo-server
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue