Skip to content

Commit 2ccf3c7

Browse files
committed
Reduce set of required values
1 parent df30022 commit 2ccf3c7

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

charts/single-container/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.1
18+
version: 0.2.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/single-container/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ spec:
1919
{{- end }}
2020
labels:
2121
{{- include "single-container.selectorLabels" . | nindent 8 }}
22+
{{- if .Values.podLabels }}
2223
{{- toYaml .Values.podLabels | nindent 8 }}
24+
{{- end }}
2325
spec:
2426
{{- with .Values.imagePullSecrets }}
2527
imagePullSecrets:

charts/single-container/templates/ingress.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ metadata:
77
name: {{ $fullName }}
88
labels:
99
{{- include "single-container.labels" . | nindent 4 }}
10+
{{- if .Values.ingress.annotations }}
1011
{{- with .Values.ingress.annotations }}
1112
annotations:
1213
{{- toYaml . | nindent 4 }}
1314
{{- end }}
15+
{{- end }}
1416
spec:
1517
{{- if .Values.ingress.ingressClassname }}
1618
ingressClassName: {{ .Values.ingress.ingressClassname }}

charts/single-container/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ service:
5353

5454
ingress:
5555
enabled: true
56-
ingressClassName: defaultIngressClass
57-
annotations:
58-
acme.cert-manager.io/http01-edit-in-place: "true"
56+
# ingressClassName: ingressClassNmae
57+
# annotations:
58+
# acme.cert-manager.io/http01-edit-in-place: "true"
5959
hosts:
6060
- host: chart-example.local
6161
paths:

0 commit comments

Comments
 (0)