Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
pgadmin
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Apr 1, 2021
1 parent a1458a4 commit 2cd2c6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/pgadmin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.5
version: 0.2.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 7 additions & 1 deletion charts/pgadmin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ spec:
labels:
{{- include "pgadmin.selectorLabels" . | nindent 8 }}
spec:
{{- if .Values.discovery.postgres -}}
volumes:
- name: config
configMap:
name: {{ include "pgadmin.fullname" . }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand All @@ -49,16 +51,20 @@ spec:
httpGet:
path: /
port: http
{{- if .Values.discovery.postgres -}}
volumeMounts:
- name: config
mountPath: "/data"
{{- end }}
env:
- name: PGADMIN_DEFAULT_EMAIL
value: {{ .Values.security.mail }}
- name: PGADMIN_DEFAULT_PASSWORD
value: {{ .Values.security.password }}
{{- if .Values.discovery.postgres -}}
- name: PGADMIN_SERVER_JSON_FILE
value: "/data/servers.json"
value: "/data/servers.json"
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down

0 comments on commit 2cd2c6b

Please sign in to comment.