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
13 changes: 13 additions & 0 deletions charts/openab/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $cfg.extraInitContainers }}
initContainers:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: openab
image: {{ include "openab.agentImage" $d | quote }}
Expand Down Expand Up @@ -101,6 +105,12 @@ spec:
{{- end }}
- name: tmp
mountPath: /tmp
{{- with $cfg.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with $cfg.extraContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $cfg.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand All @@ -124,5 +134,8 @@ spec:
{{- end }}
- name: tmp
emptyDir: {}
{{- with $cfg.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}
8 changes: 8 additions & 0 deletions charts/openab/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,11 @@ agents:
nodeSelector: {}
tolerations: []
affinity: {}
# extraInitContainers adds init containers to the pod (runs before the main container)
extraInitContainers: []
# extraContainers adds sidecar containers to the pod
extraContainers: []
# extraVolumeMounts adds additional volume mounts to the main container
extraVolumeMounts: []
# extraVolumes adds additional volumes to the pod
extraVolumes: []
Loading