diff --git a/components/tyk-dashboard/templates/deployment-dashboard.yaml b/components/tyk-dashboard/templates/deployment-dashboard.yaml index bf4c418d..b6e619b9 100644 --- a/components/tyk-dashboard/templates/deployment-dashboard.yaml +++ b/components/tyk-dashboard/templates/deployment-dashboard.yaml @@ -313,6 +313,9 @@ spec: periodSeconds: 10 timeoutSeconds: 3 failureThreshold: 3 + {{- with .Values.dashboard.extraContainers }} + {{- include "tyk-dashboard.tplvalues.render" (dict "value" . "context" $) | nindent 6 }} + {{- end }} {{- if .Values.dashboard.securityContext }} securityContext: {{- toYaml .Values.dashboard.securityContext | nindent 10 }} diff --git a/components/tyk-dashboard/values.yaml b/components/tyk-dashboard/values.yaml index 0855e04d..09b6f218 100644 --- a/components/tyk-dashboard/values.yaml +++ b/components/tyk-dashboard/values.yaml @@ -371,6 +371,11 @@ dashboard: # affinity specifies affinity and anti-affinity constraints. affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set extra environment variables to Tyk Dashboard pod. # - name: TYK_DB_PAGESIZE # value: "10" diff --git a/components/tyk-dev-portal/templates/statefulset-enterprise-portal.yaml b/components/tyk-dev-portal/templates/statefulset-enterprise-portal.yaml index 6fd85390..d9d58e08 100644 --- a/components/tyk-dev-portal/templates/statefulset-enterprise-portal.yaml +++ b/components/tyk-dev-portal/templates/statefulset-enterprise-portal.yaml @@ -226,6 +226,9 @@ spec: periodSeconds: 10 timeoutSeconds: 3 failureThreshold: 3 + {{- with .Values.extraContainers }} + {{- include "tyk-dev-portal.tplvalues.render" (dict "value" . "context" $) | nindent 6 }} + {{- end }} volumes: {{- if and (eq .Values.kind "Deployment") .Values.storage.persistence.mountExistingPVC }} - name: dev-portal-pvc-{{ include "tyk-dev-portal.fullname" . }} diff --git a/components/tyk-dev-portal/values.yaml b/components/tyk-dev-portal/values.yaml index 29fb1b3a..559a126b 100644 --- a/components/tyk-dev-portal/values.yaml +++ b/components/tyk-dev-portal/values.yaml @@ -211,6 +211,11 @@ tolerations: [] # affinity specifies affinity and anti-affinity constraints. affinity: {} +# extraContainers is a list of containers to be added to the pod +# - name: sidecar +# image: sidecar:latest +extraContainers: [] + # extraEnvs is used to set extra environment variables to Tyk Developer Portal pod. # - name: PORTAL_REFRESHINTERVAL # value: "10" diff --git a/components/tyk-gateway/templates/deployment-gw-repset.yaml b/components/tyk-gateway/templates/deployment-gw-repset.yaml index e734602c..f089c278 100644 --- a/components/tyk-gateway/templates/deployment-gw-repset.yaml +++ b/components/tyk-gateway/templates/deployment-gw-repset.yaml @@ -446,6 +446,9 @@ spec: periodSeconds: 10 timeoutSeconds: 3 failureThreshold: 3 + {{- with .Values.gateway.extraContainers }} + {{- include "tyk-gateway.tplvalues.render" (dict "value" . "context" $) | nindent 6 }} + {{- end }} {{- if .Values.gateway.securityContext }} securityContext: {{- toYaml .Values.gateway.securityContext | nindent 10 }} diff --git a/components/tyk-gateway/values.yaml b/components/tyk-gateway/values.yaml index 3ad55097..90f9daba 100644 --- a/components/tyk-gateway/values.yaml +++ b/components/tyk-gateway/values.yaml @@ -419,6 +419,11 @@ gateway: # affinity for gateway pod assignment affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set gateway env variables # - name: TYK_GW_HTTPSERVEROPTIONS_SSLINSECURESKIPVERIFY # value: "true" diff --git a/components/tyk-mdcb/templates/deployment-mdcb.yaml b/components/tyk-mdcb/templates/deployment-mdcb.yaml index f5db94a3..04aad674 100644 --- a/components/tyk-mdcb/templates/deployment-mdcb.yaml +++ b/components/tyk-mdcb/templates/deployment-mdcb.yaml @@ -225,6 +225,9 @@ spec: {{- if .Values.mdcb.extraEnvs }} {{- include "mdcb.tplvalues.render" (dict "value" .Values.mdcb.extraEnvs "context" $) | nindent 12 }} {{- end }} + {{- with .Values.mdcb.extraContainers }} + {{- include "mdcb.tplvalues.render" (dict "value" . "context" $) | nindent 8 }} + {{- end }} volumes: {{- if .Values.mdcb.tls.useSSL }} - name: {{ .Values.mdcb.tls.volumeName }} diff --git a/components/tyk-mdcb/values.yaml b/components/tyk-mdcb/values.yaml index f1feb7f0..4d500d50 100644 --- a/components/tyk-mdcb/values.yaml +++ b/components/tyk-mdcb/values.yaml @@ -373,6 +373,11 @@ mdcb: targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + extraEnvs: [] # Additional volumes on the output MDCB Deployment definition. diff --git a/components/tyk-pump/templates/deployment-pmp.yaml b/components/tyk-pump/templates/deployment-pmp.yaml index 92576e8d..e585962b 100644 --- a/components/tyk-pump/templates/deployment-pmp.yaml +++ b/components/tyk-pump/templates/deployment-pmp.yaml @@ -357,6 +357,9 @@ spec: resources: {{ toYaml .Values.pump.resources | indent 12 }} {{- if .Values.pump.securityContext }} + {{- with .Values.pump.extraContainers }} + {{- include "tyk-pump.tplvalues.render" (dict "value" . "context" $) | nindent 6 }} + {{- end }} securityContext: {{- toYaml .Values.pump.securityContext | nindent 10 }} {{- end }} diff --git a/components/tyk-pump/values.yaml b/components/tyk-pump/values.yaml index 54a4da1e..5edfee67 100644 --- a/components/tyk-pump/values.yaml +++ b/components/tyk-pump/values.yaml @@ -338,6 +338,11 @@ pump: # affinity for pump pod assignment affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set environment variables in pump container # - name: TYK_PMP_PURGEDELAY # value: 30 diff --git a/tyk-control-plane/values.yaml b/tyk-control-plane/values.yaml index e1a2db9b..b2257409 100644 --- a/tyk-control-plane/values.yaml +++ b/tyk-control-plane/values.yaml @@ -532,6 +532,11 @@ tyk-gateway: # Regular expressions and parameterized routes will be left alone regardless of this setting. enableStrictRoutes: true + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set gateway env variables # - name: TYK_GW_HTTPSERVEROPTIONS_SSLINSECURESKIPVERIFY # value: "true" @@ -811,6 +816,11 @@ tyk-pump: # affinity for pump pod assignment affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set environment variables in pump container # - name: TYK_PMP_PURGEDELAY # value: 30 @@ -1120,6 +1130,11 @@ tyk-dashboard: # affinity specifies affinity and anti-affinity constraints. affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set extra environment variables to Tyk Dashboard pod. # - name: TYK_DB_PAGESIZE # value: "10" @@ -1425,6 +1440,11 @@ tyk-mdcb: targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + extraEnvs: [] # Additional volumes on the output MDCB Deployment definition. @@ -1606,6 +1626,12 @@ tyk-dev-portal: tolerations: [] # affinity specifies affinity and anti-affinity constraints. affinity: {} + + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set extra environment variables to Tyk Developer Portal pod. # - name: PORTAL_REFRESHINTERVAL # value: "10" diff --git a/tyk-data-plane/values.yaml b/tyk-data-plane/values.yaml index 90f449e4..4de93010 100644 --- a/tyk-data-plane/values.yaml +++ b/tyk-data-plane/values.yaml @@ -402,6 +402,11 @@ tyk-gateway: # affinity for gateway pod assignment affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set gateway env variables # - name: TYK_GW_HTTPSERVEROPTIONS_SSLINSECURESKIPVERIFY # value: "true" @@ -686,6 +691,11 @@ tyk-pump: # affinity for pump pod assignment affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set environment variables in pump container # - name: TYK_PMP_PURGEDELAY # value: 30 diff --git a/tyk-oss/values.yaml b/tyk-oss/values.yaml index 53c50701..934399b2 100644 --- a/tyk-oss/values.yaml +++ b/tyk-oss/values.yaml @@ -455,6 +455,11 @@ tyk-gateway: # Regular expressions and parameterized routes will be left alone regardless of this setting. enableStrictRoutes: true + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set gateway env variables # - name: TYK_GW_HTTPSERVEROPTIONS_SSLINSECURESKIPVERIFY # value: "true" @@ -722,6 +727,11 @@ tyk-pump: # affinity for pump pod assignment affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set environment variables in pump container # - name: TYK_PMP_PURGEDELAY # value: 30 diff --git a/tyk-stack/values.yaml b/tyk-stack/values.yaml index 6eb31c2b..fc9beeb6 100644 --- a/tyk-stack/values.yaml +++ b/tyk-stack/values.yaml @@ -542,6 +542,11 @@ tyk-gateway: # Regular expressions and parameterized routes will be left alone regardless of this setting. enableStrictRoutes: true + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set gateway env variables # - name: TYK_GW_HTTPSERVEROPTIONS_SSLINSECURESKIPVERIFY # value: "true" @@ -812,6 +817,11 @@ tyk-pump: # affinity for pump pod assignment affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set environment variables in pump container # - name: TYK_PMP_PURGEDELAY # value: 30 @@ -1119,6 +1129,11 @@ tyk-dashboard: # affinity specifies affinity and anti-affinity constraints. affinity: {} + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set extra environment variables to Tyk Dashboard pod. # - name: TYK_DB_PAGESIZE # value: "10" @@ -1327,6 +1342,12 @@ tyk-dev-portal: tolerations: [] # affinity specifies affinity and anti-affinity constraints. affinity: {} + + # extraContainers is a list of containers to be added to the pod + # - name: sidecar + # image: sidecar:latest + extraContainers: [] + # extraEnvs is used to set extra environment variables to Tyk Developer Portal pod. # - name: PORTAL_REFRESHINTERVAL # value: "10"