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.domain | Certificate manager domain | `"argocd.example.com"` |
|
||||||
| server.certificate.enabled | Enables a certificate manager certificate. | `false` |
|
| server.certificate.enabled | Enables a certificate manager certificate. | `false` |
|
||||||
| server.certificate.issuer | Certificate manager issuer | `{}` |
|
| 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.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` |
|
||||||
|
|
|
@ -46,6 +46,10 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.global.securityContext }}
|
{{- if .Values.global.securityContext }}
|
||||||
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.server.initContainers }}
|
||||||
|
initContainers:
|
||||||
|
{{- toYaml .Values.server.initContainers | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.server.name }}
|
- name: {{ .Values.server.name }}
|
||||||
|
|
|
@ -342,6 +342,15 @@ server:
|
||||||
##
|
##
|
||||||
podLabels: {}
|
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
|
## Configures the server port
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue