Allow specifying sidecars for the pods in our Helm chart.

This commit is contained in:
Sam Rose 2024-04-12 10:27:35 +01:00
parent 0a54396f66
commit 7f36a74130
No known key found for this signature in database
7 changed files with 42 additions and 1 deletions

View File

@ -235,6 +235,9 @@ spec:
args: args:
{{- toYaml .Values.services.apps.args | nindent 10 }} {{- toYaml .Values.services.apps.args | nindent 10 }}
{{ end }} {{ end }}
{{- if .Values.services.apps.extraContainers }}
{{- toYaml .Values.services.apps.extraContainers | nindent 6 }}
{{- end }}
{{- with .Values.affinity }} {{- with .Values.affinity }}
affinity: affinity:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -235,6 +235,9 @@ spec:
args: args:
{{- toYaml .Values.services.automationWorkers.args | nindent 10 }} {{- toYaml .Values.services.automationWorkers.args | nindent 10 }}
{{ end }} {{ end }}
{{- if .Values.services.automationWorkers.extraContainers }}
{{- toYaml .Values.services.automationWorkers.extraContainers | nindent 6 }}
{{- end }}
{{- with .Values.affinity }} {{- with .Values.affinity }}
affinity: affinity:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -54,6 +54,9 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
name: minio-data name: minio-data
{{- if .Values.services.objectStore.extraContainers }}
{{- toYaml .Values.services.objectStore.extraContainers | nindent 6 }}
{{- end }}
{{- with .Values.affinity }} {{- with .Values.affinity }}
affinity: affinity:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -82,7 +82,9 @@ spec:
resources: resources:
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
{{ end }} {{ end }}
volumeMounts: {{- if .Values.services.proxy.extraContainers }}
{{- toYaml .Values.services.proxy.extraContainers | nindent 6 }}
{{- end }}
{{- with .Values.affinity }} {{- with .Values.affinity }}
affinity: affinity:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -34,6 +34,9 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
name: redis-data name: redis-data
{{- if .Values.services.redis.extraContainers }}
{{- toYaml .Values.services.redis.extraContainers | nindent 6 }}
{{- end }}
{{- with .Values.affinity }} {{- with .Values.affinity }}
affinity: affinity:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -221,6 +221,9 @@ spec:
args: args:
{{- toYaml .Values.services.worker.args | nindent 10 }} {{- toYaml .Values.services.worker.args | nindent 10 }}
{{ end }} {{ end }}
{{- if .Values.services.worker.extraContainers }}
{{- toYaml .Values.services.worker.extraContainers | nindent 6 }}
{{- end }}
{{- with .Values.affinity }} {{- with .Values.affinity }}
affinity: affinity:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -206,6 +206,10 @@ services:
# for autoscaling to work, you will need to have metrics-server # for autoscaling to work, you will need to have metrics-server
# configured, and resources set for the proxy pods. # configured, and resources set for the proxy pods.
targetCPUUtilizationPercentage: 80 targetCPUUtilizationPercentage: 80
# -- Additional containers to be added to the proxy pod.
extraContainers: []
# - name: my-sidecar
# image: myimage:latest
apps: apps:
# @ignore (you shouldn't need to change this) # @ignore (you shouldn't need to change this)
@ -274,6 +278,10 @@ services:
# autoscaling to work, you will need to have metrics-server configured, # autoscaling to work, you will need to have metrics-server configured,
# and resources set for the apps pods. # and resources set for the apps pods.
targetCPUUtilizationPercentage: 80 targetCPUUtilizationPercentage: 80
# -- Additional containers to be added to the apps pod.
extraContainers: []
# - name: my-sidecar
# image: myimage:latest
automationWorkers: automationWorkers:
# -- Whether or not to enable the automation worker service. If you disable this, # -- Whether or not to enable the automation worker service. If you disable this,
@ -346,6 +354,10 @@ services:
# Note that for autoscaling to work, you will need to have metrics-server # Note that for autoscaling to work, you will need to have metrics-server
# configured, and resources set for the automation worker pods. # configured, and resources set for the automation worker pods.
targetCPUUtilizationPercentage: 80 targetCPUUtilizationPercentage: 80
# -- Additional containers to be added to the automationWorkers pod.
extraContainers: []
# - name: my-sidecar
# image: myimage:latest
worker: worker:
# @ignore (you shouldn't need to change this) # @ignore (you shouldn't need to change this)
@ -414,6 +426,10 @@ services:
# for autoscaling to work, you will need to have metrics-server # for autoscaling to work, you will need to have metrics-server
# configured, and resources set for the worker pods. # configured, and resources set for the worker pods.
targetCPUUtilizationPercentage: 80 targetCPUUtilizationPercentage: 80
# -- Additional containers to be added to the worker pod.
extraContainers: []
# - name: my-sidecar
# image: myimage:latest
couchdb: couchdb:
# -- Whether or not to spin up a CouchDB instance in your cluster. True by # -- Whether or not to spin up a CouchDB instance in your cluster. True by
@ -463,6 +479,10 @@ services:
# <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/> # <https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/>
# for more information on how to set these. # for more information on how to set these.
resources: {} resources: {}
# -- Additional containers to be added to the redis pod.
extraContainers: []
# - name: my-sidecar
# image: myimage:latest
objectStore: objectStore:
# -- Set to false if using another object store, such as S3. You will need # -- Set to false if using another object store, such as S3. You will need
@ -505,6 +525,10 @@ services:
publicKeyId: "" publicKeyId: ""
# -- Base64 encoded private key for the above public key. # -- Base64 encoded private key for the above public key.
privateKey64: "" privateKey64: ""
# -- Additional containers to be added to the objectStore pod.
extraContainers: []
# - name: my-sidecar
# image: myimage:latest
# Override values in couchDB subchart. We're only specifying the values we're changing. # Override values in couchDB subchart. We're only specifying the values we're changing.
# If you want to see all of the available values, see: # If you want to see all of the available values, see: