Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
template:
metadata:
labels:
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- include "pgdog.selectorLabels" . | nindent 8 }}
{{- if or .Values.restartOnConfigChange .Values.podAnnotations }}
annotations:
Expand All @@ -53,6 +56,10 @@ spec:
initContainers:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: pgdog
{{- if .Values.image.name }}
Expand Down
3 changes: 3 additions & 0 deletions templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ read_only = {{ .readOnly }}
{{- if .serverLifetime }}
server_lifetime = {{ .serverLifetime }}
{{- end }}
{{- if .serverAuth }}
server_auth = {{ .serverAuth | quote }}
{{- end }}
{{- end }}
{{- end -}}

Expand Down
11 changes: 11 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ selectorLabels: {}
# allows adding custom annotations to the deployment
annotations: {}

# allows adding custom labels to the pods
podLabels: {}
# allows adding custom annotations to the pods
podAnnotations: {}

Expand All @@ -28,6 +30,15 @@ podAnnotations: {}
# When set, this will be added as a label to all Prometheus metrics
# clusterName: ""

## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## e.g:
## imagePullSecrets:
## - name: regcred
##
imagePullSecrets: []
Comment thread
levkk marked this conversation as resolved.

# image contains the Docker image properties.
image:
# repository is the Docker image repository
Expand Down
Loading