diff --git a/templates/ingress.yaml b/templates/ingress.yaml index f08919549ff5e60bb2ca777274f8cbf80aba4565_dGVtcGxhdGVzL2luZ3Jlc3MueWFtbA==..a852b1d0dc13bc3bfc2316927ca18866207a8ba8_dGVtcGxhdGVzL2luZ3Jlc3MueWFtbA== 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -1,4 +1,4 @@ -{{- if .Values.ingress }} +{{- if .Values.ingress.enabled }} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: diff --git a/templates/service.yaml b/templates/service.yaml index f08919549ff5e60bb2ca777274f8cbf80aba4565_dGVtcGxhdGVzL3NlcnZpY2UueWFtbA==..a852b1d0dc13bc3bfc2316927ca18866207a8ba8_dGVtcGxhdGVzL3NlcnZpY2UueWFtbA== 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -1,3 +1,4 @@ +{{- if .Values.service.enabled }} --- apiVersion: v1 kind: Service @@ -14,3 +15,4 @@ selector: app.kubernetes.io/name: {{ .Values.appName }} app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} diff --git a/values.yaml b/values.yaml index f08919549ff5e60bb2ca777274f8cbf80aba4565_dmFsdWVzLnlhbWw=..a852b1d0dc13bc3bfc2316927ca18866207a8ba8_dmFsdWVzLnlhbWw= 100644 --- a/values.yaml +++ b/values.yaml @@ -57,5 +57,9 @@ # cpu: 100m # memory: 512Mi +# Configure service +service: + enabled: true + # Configure nginx ingress ingress: @@ -60,5 +64,6 @@ # Configure nginx ingress ingress: + enabled: true clusterIssuer: "letsencrypt-staging" tlsSecret: true path: /