feat: Add support for sidecar containers in Helm (#1494)
This commit is contained in:
@@ -15,7 +15,7 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 1.1.1
|
version: 1.1.2
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|||||||
@@ -190,6 +190,9 @@ spec:
|
|||||||
value: {{ .Values.oidc.admin.ignoreRoles | quote }}
|
value: {{ .Values.oidc.admin.ignoreRoles | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.extraContainers -}}
|
||||||
|
{{ toYaml .Values.extraContainers | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|||||||
@@ -286,3 +286,23 @@ extraMounts: []
|
|||||||
## extraEnv:
|
## extraEnv:
|
||||||
## - name: NODE_EXTRA_CA_CERTS
|
## - name: NODE_EXTRA_CA_CERTS
|
||||||
## value: "/etc/ssl/certs/keycloak-ca.crt"
|
## value: "/etc/ssl/certs/keycloak-ca.crt"
|
||||||
|
|
||||||
|
extraContainers: []
|
||||||
|
## Extra sidecar containers
|
||||||
|
## Add additional containers to the PLANKA pod
|
||||||
|
##
|
||||||
|
## Example extraContainers:
|
||||||
|
## extraContainers:
|
||||||
|
## - name: nginx-sidecar
|
||||||
|
## image: nginx:latest
|
||||||
|
## ports:
|
||||||
|
## - containerPort: 8085
|
||||||
|
## name: nginx-http
|
||||||
|
## - name: log-collector
|
||||||
|
## image: busybox:latest
|
||||||
|
## command: ['sh', '-c', 'tail -f /var/log/app.log']
|
||||||
|
## volumeMounts:
|
||||||
|
## - name: planka
|
||||||
|
## mountPath: /var/log
|
||||||
|
## subPath: app-logs
|
||||||
|
##
|
||||||
|
|||||||
Reference in New Issue
Block a user