Skip to content
Open
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
3 changes: 3 additions & 0 deletions cockroachdb/templates/job.init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,7 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- with .Values.init.extraPodSpec -}}
{{- . | toYaml | nindent 6 }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions cockroachdb/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ spec:
secret:
secretName: {{ template "cockroachdb.fullname" . }}-log-config
{{- end }}
{{- with .Values.statefulset.extraPodSpec -}}
{{- . | toYaml | nindent 6 }}
{{- end }}
{{- if .Values.storage.persistentVolume.enabled }}
volumeClaimTemplates:
- metadata:
Expand Down
9 changes: 9 additions & 0 deletions cockroachdb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ statefulset:
# initialDelaySeconds: 30
# periodSeconds: 5

# Add extra fields to the statefulset pod spec
extraPodSpec: {}
# shareProcessNamespace: true

service:
ports:
# You can set a different external and internal gRPC ports and their name.
Expand Down Expand Up @@ -420,6 +424,11 @@ init:
# options: [first_run = 'now']


# Add extra fields to the init job pod spec
extraPodSpec: {}
# shareProcessNamespace: true


# Whether to run securely using TLS certificates.
tls:
enabled: true
Expand Down