parent
77e638f55d
commit
108fb73d2c
11 changed files with 1200 additions and 435 deletions
|
|
@ -28,14 +28,6 @@ spec:
|
|||
{{- end }}
|
||||
spec:
|
||||
serviceAccountName: argocd-server
|
||||
initContainers:
|
||||
- name: ui
|
||||
image: {{ .Values.server.uiInitImage.repository }}:{{ .Values.server.uiInitImage.tag }}
|
||||
imagePullPolicy: {{ .Values.server.uiInitImage.pullPolicy }}
|
||||
command: [cp, -r, /app, /shared]
|
||||
volumeMounts:
|
||||
- mountPath: /shared
|
||||
name: static-files
|
||||
containers:
|
||||
- name: argocd-server
|
||||
image: {{ .Values.server.image.repository }}:{{ .Values.server.image.tag }}
|
||||
|
|
@ -48,13 +40,12 @@ spec:
|
|||
- {{. | quote }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- mountPath: /shared
|
||||
name: static-files
|
||||
{{- if .Values.server.volumeMounts }}
|
||||
{{ toYaml .Values.server.volumeMounts | nindent 8 | trim }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.server.containerPort }}
|
||||
- containerPort: {{ .Values.server.metricsPort }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue