diff --git a/CHANGELOG.md b/CHANGELOG.md index e9d2cf9..d946511 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented here. +### v2.3.2 +- Feature: fix clusterIP null field introduced by [PR-275](https://github.com/stakater/application/pull/275) [PR-295](https://github.com/stakater/application/pull/295) + ### v2.3.1 - Feature: Allow loadbalancer service external IP [PR-275](https://github.com/stakater/application/pull/275) - Feature: Allowing HPA behavior to be set [PR-292](https://github.com/stakater/application/pull/292) diff --git a/application/templates/service.yaml b/application/templates/service.yaml index 2286377..cba72c8 100644 --- a/application/templates/service.yaml +++ b/application/templates/service.yaml @@ -16,7 +16,9 @@ metadata: {{- end }} spec: type: {{ .Values.service.type }} - clusterIP: {{ .Values.service.clusterIP }} +{{- with .Values.service.clusterIP }} + clusterIP: {{ . }} +{{- end }} {{- if eq .Values.service.type "LoadBalancer" }} {{- with .Values.service.loadBalancerIP }} loadBalancerIP: {{ . }}