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
6 changes: 6 additions & 0 deletions charts/intel/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ spec:
- name: {{ include "codetogether.fullname" . }}-pull-secret
{{- end }}
serviceAccountName: {{ include "codetogether.serviceAccountName" . }}

{{- with .Values.initContainers }}
initContainers:
{{- toYaml . | nindent 8 }}
{{- end }}

containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
13 changes: 13 additions & 0 deletions charts/intel/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,19 @@ serviceAccount:

podAnnotations: {}

# Optional: add initContainers (startup containers) to the pod spec.
# Useful to wait for Cassandra or run startup checks before Intel starts.
initContainers: []
# Example:
# initContainers:
# - name: wait-for-cassandra
# image: busybox:1.36
# command: ["sh", "-c"]
# args:
# - >
# until nc -z codetogether-cassandra.default.svc.cluster.local 9042;
# do echo "Waiting for Cassandra..."; sleep 2; done

securityContext: {} #defaults
# capabilities:
# drop:
Expand Down
Loading