Skip to content

Commit

Permalink
Merge pull request #442 from SydoxX/externalIPSupport
Browse files Browse the repository at this point in the history
Added externalIP to service in chart
  • Loading branch information
rusenask committed Sep 11, 2019
2 parents 2e60104 + 232bca6 commit ae0e63d
Show file tree
Hide file tree
Showing 3 changed files with 6 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.8.14
version: 0.8.15
# Note that we use appVersion to get images tag, so make sure this is correct.
appVersion: 0.15.0-rc1
keywords:
Expand Down
1 change: 1 addition & 0 deletions chart/keel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ The following table lists has the main configurable parameters (polling, trigger
| `slack.approvalsChannel` | Slack channel for approvals | |
| `service.enabled` | Enable/disable Keel service | `false` |
| `service.type` | Keel service type | `LoadBalancer` |
| `service.externalIP` | Keel static IP | |
| `service.externalPort` | Keel service port | `9300` |
| `service.clusterIP` | Keel service clusterIP | |
| `webhookRelay.enabled` | Enable/disable WebhookRelay integration| `false` |
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 @@ -18,6 +18,10 @@ spec:
{{- if .Values.service.clusterIP }}
clusterIP: {{ .Values.service.clusterIP | quote }}
{{- end }}
{{- if .Values.service.externalIP }}
externalIPs:
- {{ .Values.service.externalIP }}
{{- end }}
ports:
- port: {{ .Values.service.externalPort }}
{{- if or (ne .Values.service.type "ClusterIP") (ne .Values.service.clusterIP "None") }}
Expand Down

0 comments on commit ae0e63d

Please sign in to comment.