Skip to content

Commit

Permalink
Merge pull request #316 from boxrick/master
Browse files Browse the repository at this point in the history
Improving helm chart to allow for service serviceAnnotations:
  • Loading branch information
rusenask authored Nov 29, 2018
2 parents 5ddf810 + 559178e commit dc9f249
Show file tree
Hide file tree
Showing 3 changed files with 10 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.7.4
version: 0.7.5
# Note that we use appVersion to get images tag, so make sure this is correct.
appVersion: 0.12.0
keywords:
Expand Down
4 changes: 4 additions & 0 deletions chart/keel/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ metadata:
chart: {{ template "keel.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- with .Values.serviceAnnotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
{{- if .Values.service.clusterIP }}
Expand Down
5 changes: 5 additions & 0 deletions chart/keel/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ createNamespaceResource: false

podAnnotations: {}

serviceAnnotations: {}
# Useful for making the load balancer internal
# serviceAnnotations:
# cloud.google.com/load-balancer-type: Internal

aws:
region: null

Expand Down

0 comments on commit dc9f249

Please sign in to comment.