updated production chart and removed preview chart
This commit is contained in:
@@ -97,11 +97,31 @@ spec:
|
||||
- name: elasticsearch-nfs
|
||||
mountPath: /usr/share/elasticsearch/data
|
||||
{{- end }}
|
||||
|
||||
resources:
|
||||
{{ toYaml .resources | indent 12 }}
|
||||
{{- end }}
|
||||
|
||||
- name: postgres
|
||||
{{- with .Values.postgres }}
|
||||
image: "{{ .image.repository }}:{{ .image.tag }}"
|
||||
imagePullPolicy: {{ .image.pullPolicy }}
|
||||
env:
|
||||
- name: POSTGRES_USER
|
||||
value: {{ $.Values.molgenis.services.postgres.user }}
|
||||
- name: POSTGRES_PASSWORD
|
||||
value: {{ $.Values.molgenis.services.postgres.password }}
|
||||
- name: POSTGRES_DB
|
||||
value: {{ $.Values.molgenis.services.postgres.scheme }}
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
resources:
|
||||
{{ toYaml .resources | indent 12 }}
|
||||
volumeMounts:
|
||||
- name: postgres-nfs
|
||||
mountPath: /var/lib/postgresql/data
|
||||
{{- end }}
|
||||
|
||||
|
||||
{{- if .Values.persistence.enabled }}
|
||||
volumes:
|
||||
- name: molgenis-nfs
|
||||
@@ -110,6 +130,9 @@ spec:
|
||||
- name: elasticsearch-nfs
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.elasticsearch.persistence.claim }}
|
||||
- name: postgres-nfs
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.postgres.persistence.claim }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.nodeSelector }}
|
||||
|
||||
Reference in New Issue
Block a user