diff --git a/stable/odoo/Chart.yaml b/stable/odoo/Chart.yaml index bfef6b5055..e435135af2 100644 --- a/stable/odoo/Chart.yaml +++ b/stable/odoo/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: odoo -version: 10.0.1 +version: 10.0.2 appVersion: 12.0.20190715 description: A suite of web based open source business apps. home: https://www.odoo.com/ diff --git a/stable/odoo/templates/svc.yaml b/stable/odoo/templates/svc.yaml index d0c8a4663e..cd9296fedd 100644 --- a/stable/odoo/templates/svc.yaml +++ b/stable/odoo/templates/svc.yaml @@ -9,7 +9,7 @@ metadata: heritage: {{ .Release.Service | quote }} spec: type: {{ .Values.service.type }} - {{- if .Values.service.loadBalancerIP }} + {{- if (and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerIP))) }} loadBalancerIP: {{ .Values.service.loadBalancerIP }} {{- end }} {{- if (or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort")) }}