Skip to content

Commit

Permalink
Add support for loadBalancerIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertalan Gergaly committed Sep 27, 2024
1 parent 99286b4 commit a09a2fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/uptime-kuma/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ A self-hosted Monitoring tool like "Uptime-Robot".
| service.nodePort | string | `nil` | |
| service.port | int | `3001` | |
| service.type | string | `"ClusterIP"` | |
| service.loadBalancerIP | string | `""` | |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `false` | |
| serviceAccount.name | string | `""` | |
Expand Down
3 changes: 3 additions & 0 deletions charts/uptime-kuma/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ spec:
nodePort: {{ . }}
{{- end }}
name: http
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP | quote }}
{{- end }}
selector:
{{- include "uptime-kuma.selectorLabels" . | nindent 4 }}
1 change: 1 addition & 0 deletions charts/uptime-kuma/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ service:
port: 3001
nodePort:
annotations: {}
loadBalancerIP:

ingress:
enabled: false
Expand Down

0 comments on commit a09a2fb

Please sign in to comment.