|
|
@ -41,9 +41,11 @@ spec:
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
- name: DB_TYPE
|
|
|
|
- name: DB_TYPE
|
|
|
|
value: postgres
|
|
|
|
value: postgres
|
|
|
|
{{- if .Values.externalPostgresql.databaseURL }}
|
|
|
|
{{- if (.Values.externalPostgresql).databaseURL }}
|
|
|
|
- name: DATABASE_URL
|
|
|
|
- name: DATABASE_URL
|
|
|
|
value: {{ .Values.externalPostgresql.databaseURL }}
|
|
|
|
value: {{ .Values.externalPostgresql.databaseURL }}
|
|
|
|
|
|
|
|
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
|
|
|
|
|
|
|
value: {{ default "1" .Values.externalPostgresql.NODE_TLS_REJECT_UNAUTHORIZED | quote }}
|
|
|
|
{{- else }}
|
|
|
|
{{- else }}
|
|
|
|
- name: DB_HOST
|
|
|
|
- name: DB_HOST
|
|
|
|
value: {{ template "wiki.postgresql.host" . }}
|
|
|
|
value: {{ template "wiki.postgresql.host" . }}
|
|
|
@ -81,6 +83,8 @@ spec:
|
|
|
|
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
|
|
|
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
|
|
|
readinessProbe:
|
|
|
|
readinessProbe:
|
|
|
|
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
|
|
|
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
|
|
|
|
|
|
|
startupProbe:
|
|
|
|
|
|
|
|
{{- toYaml .Values.startupProbe | nindent 12 }}
|
|
|
|
resources:
|
|
|
|
resources:
|
|
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
|
|
{{- with .Values.nodeSelector }}
|
|
|
|
{{- with .Values.nodeSelector }}
|
|
|
|