added initcontainer into server yaml
This commit is contained in:
parent
2d4e2f34a9
commit
81afba9df8
3 changed files with 14 additions and 0 deletions
|
@ -189,6 +189,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i
|
|||
| server.certificate.domain | Certificate manager domain | `"argocd.example.com"` |
|
||||
| server.certificate.enabled | Enables a certificate manager certificate. | `false` |
|
||||
| server.certificate.issuer | Certificate manager issuer | `{}` |
|
||||
| server.initContainers | initContainers for server can be used for custom plugin wgets | `{}` |
|
||||
| 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.containerPort | Server container port. | `8080` |
|
||||
|
|
|
@ -46,6 +46,10 @@ spec:
|
|||
{{- end }}
|
||||
{{- if .Values.global.securityContext }}
|
||||
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.server.initContainers }}
|
||||
initContainers:
|
||||
{{- toYaml .Values.server.initContainers | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ .Values.server.name }}
|
||||
|
|
|
@ -342,6 +342,15 @@ server:
|
|||
##
|
||||
podLabels: {}
|
||||
|
||||
## initContainer
|
||||
initContainers: {}
|
||||
## - name: download-tools
|
||||
## image: alpine:3.8
|
||||
## command: [sh, -c]
|
||||
## args:
|
||||
## - wget -qO- https://storage.googleapis.com/kubernetes-helm/helm-v2.12.3-linux-amd64.tar.gz | tar -xvzf - &&
|
||||
## mv linux-amd64/helm /custom-tools/
|
||||
|
||||
## Configures the server port
|
||||
containerPort: 8080
|
||||
|
||||
|
|
Loading…
Reference in a new issue