Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ description: Prefapp's library chart for applications

type: library

version: 0.4.1
version: 0.4.2
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.4.2 [07-11-2022]

- Add clusterIP on service render. [PR](https://github.com/prefapp/prefapp-helm/pull/184).

## 0.4.1 [29-06-2022]

- Add port name on ingress render. [PR](https://github.com/prefapp/prefapp-helm/pull/180).
Expand Down
3 changes: 3 additions & 0 deletions templates/_renders_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ kind: Service
spec:
selector: {{ include "ph.service.selector.render" . | nindent 4}}
type: {{ default "ClusterIP" .type }}
{{- if hasKey . "clusterIP" }}
clusterIP: {{ .clusterIP }}
{{- end }}
{{- if hasKey . "loadBalancerSourceRanges" }}
loadBalancerSourceRanges: {{ .loadBalancerSourceRanges | toYaml | nindent 4 }}
{{- end }}
Expand Down