Skip to content

Commit

Permalink
Merge pull request #602 from nbjohnson/add-optional-keel-chart-contai…
Browse files Browse the repository at this point in the history
…ners

Add option for additional containers to be run with Helm chart
  • Loading branch information
rusenask committed Apr 26, 2021
2 parents ce58072 + 5ac174f commit 421495f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chart/keel/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
3 changes: 3 additions & 0 deletions chart/keel/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
7 changes: 7 additions & 0 deletions chart/keel/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 421495f

Please sign in to comment.