|
|
@ -22,7 +22,7 @@ spec: |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
initContainers: |
|
|
initContainers: |
|
|
- name: {{ .Chart.Name }}-install |
|
|
- name: {{ .Chart.Name }}-install |
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" |
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }} |
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }} |
|
|
env: |
|
|
env: |
|
|
- name: INSTALL_SECRET |
|
|
- name: INSTALL_SECRET |
|
|
@ -40,7 +40,7 @@ spec: |
|
|
- "/data/bin/install.php" |
|
|
- "/data/bin/install.php" |
|
|
containers: |
|
|
containers: |
|
|
- name: {{ .Chart.Name }} |
|
|
- name: {{ .Chart.Name }} |
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" |
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }} |
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }} |
|
|
ports: |
|
|
ports: |
|
|
- name: http |
|
|
- name: http |
|
|
@ -59,9 +59,6 @@ spec: |
|
|
value: "{{ include "osticket.name" . }}-memcached" |
|
|
value: "{{ include "osticket.name" . }}-memcached" |
|
|
livenessProbe: |
|
|
livenessProbe: |
|
|
failureThreshold: 3 |
|
|
failureThreshold: 3 |
|
|
httpGet: |
|
|
|
|
|
path: / |
|
|
|
|
|
port: http |
|
|
|
|
|
initialDelaySeconds: 30 |
|
|
initialDelaySeconds: 30 |
|
|
periodSeconds: 10 |
|
|
periodSeconds: 10 |
|
|
successThreshold: 1 |
|
|
successThreshold: 1 |
|
|
@ -71,9 +68,6 @@ spec: |
|
|
port: http |
|
|
port: http |
|
|
readinessProbe: |
|
|
readinessProbe: |
|
|
failureThreshold: 3 |
|
|
failureThreshold: 3 |
|
|
httpGet: |
|
|
|
|
|
path: / |
|
|
|
|
|
port: http |
|
|
|
|
|
initialDelaySeconds: 30 |
|
|
initialDelaySeconds: 30 |
|
|
periodSeconds: 10 |
|
|
periodSeconds: 10 |
|
|
successThreshold: 2 |
|
|
successThreshold: 2 |
|
|
|