diff --git a/charts/modjo-microservice/templates/preview.service.yaml b/charts/modjo-microservice/templates/preview.service.yaml index 2b7bea7..8e8e98a 100644 --- a/charts/modjo-microservice/templates/preview.service.yaml +++ b/charts/modjo-microservice/templates/preview.service.yaml @@ -1,4 +1,4 @@ -{{- if and .Values.service.enabled (eq .Values.rollout.strategy.type "BlueGreen") -}} +{{- if and .Values.exposed .Values.service.enabled (eq .Values.rollout.strategy.type "BlueGreen") -}} apiVersion: v1 kind: Service metadata: