Skip to content

Commit c7be9bf

Browse files
committed
make hosts optional in chart
1 parent 09f2872 commit c7be9bf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v2
22
name: simple-app
3-
version: 3.0.1
3+
version: 3.1.0
44
description: Provides a deployment, service and ingress to expose one container at a given domain

kubernetes/.charts/simple-app/templates/ingress.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{- $dot := . }}
2+
{{- if .Values.hosts -}}
23
apiVersion: networking.k8s.io/v1
34
kind: Ingress
45
metadata:
@@ -32,3 +33,4 @@ spec:
3233
port:
3334
number: 80
3435
{{- end }}
36+
{{- end -}}

0 commit comments

Comments
 (0)