Merge pull request from nbjohnson/add-optional-keel-chart-containers

Add option for additional containers to be run with Helm chart
pull/591/head
Karolis 2021-04-26 11:03:17 +01:00 committed by GitHub
commit 421495f523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1
name: keel
description: Open source, tool for automating Kubernetes deployment updates. Keel is stateless, robust and lightweight.
version: 0.9.8
version: 0.9.9
# Note that we use appVersion to get images tag, so make sure this is correct.
appVersion: 0.16.1
keywords:

View File

@ -26,6 +26,9 @@ spec:
spec:
serviceAccountName: {{ template "serviceAccount.name" . }}
containers:
{{- if .Values.extraContainers }}
{{ toYaml .Values.extraContainers | indent 8 }}
{{- end }}
- name: keel
# Note that we use appVersion to get images tag.
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"

View File

@ -15,6 +15,13 @@ insecureRegistry: false
polling:
enabled: true
# Extra Containers to run alongside Keel
# extraContainers:
# - name: busybox
# image: busybox
# imagePullPolicy: IfNotPresent
# command: ['sh', '-c', 'echo Container 1 is Running ; sleep 3600']
# Helm provider support
helmProvider:
enabled: true