Skip to content

Commit

Permalink
[stable/sentry] Support loadBalancerSourceRanges on Service template (h…
Browse files Browse the repository at this point in the history
…elm#13665)

* Support loadBalancerSourceRanges on Service

Signed-off-by: Wilfrido Vidana <wvidanas@gmail.com>

* Chart version bump

Signed-off-by: Wilfrido Vidana <wvidanas@gmail.com>

* Adding default values and README

Signed-off-by: Wilfrido Vidana <wvidanas@gmail.com>

* Revert "Adding default values and README"

This reverts commit 940f3e2.

Signed-off-by: Wilfrido Vidana <wvidanas@gmail.com>

* Version bump

Signed-off-by: Wilfrido Vidana <wvidanas@gmail.com>

* Another version bump

Signed-off-by: Wilfrido Vidana <wvidanas@gmail.com>

* Version bump

Signed-off-by: Wilfrido Vidana <wvidanas@gmail.com>

* Add documentation on values and README

Signed-off-by: Wilfrido Vidana <wvidanas@gmail.com>
  • Loading branch information
wvidana authored and rvdh committed Jun 3, 2019
1 parent 33ba93f commit 851bc0a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/sentry/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Sentry is a cross-platform crash reporting and aggregation platform.
name: sentry
version: 1.4.0
version: 1.4.1
appVersion: 9.1.1
keywords:
- debugging
Expand Down
1 change: 1 addition & 0 deletions stable/sentry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ The following table lists the configurable parameters of the Sentry chart and th
| `service.internalPort` | Kubernetes internal service port | `9000` |
| `service.annotations` | Service annotations | `{}` |
| `service.nodePort` | Kubernetes service NodePort port | Randomly chosen by Kubernetes |
| `service.loadBalancerSourceRanges` | Allow list for the load balancer | `nil` |
| `ingress.enabled` | Enable ingress controller resource | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.hostname` | URL to address your Sentry installation | `sentry.local` |
Expand Down
4 changes: 4 additions & 0 deletions stable/sentry/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ spec:
selector:
app: {{ template "fullname" . }}
role: web
{{- with .Values.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{- toYaml . | nindent 4 }}
{{- end }}
3 changes: 3 additions & 0 deletions stable/sentry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ service:
# externalIPs:
# - 192.168.0.1

## Load Balancer allow-list
# loadBalancerSourceRanges: []

## Enable persistence using Persistent Volume Claims
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
Expand Down

0 comments on commit 851bc0a

Please sign in to comment.