Skip to content

Commit

Permalink
Allow skipping tls secret (for use with wildcards)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekrey committed Aug 7, 2023
1 parent 2ccf3c7 commit d433ce9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/single-container/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.2
version: 0.2.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/single-container/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ spec:
{{- range $.Values.ingress.hosts }}
- {{ .host | quote }}
{{- end }}
{{- if not .Values.ingress.tls.noSecret }}
secretName: {{ include "single-container.tlssecretname" . }}
{{- end -}}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
Expand Down
1 change: 1 addition & 0 deletions charts/single-container/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ ingress:
tls:
enabled: true
# secretName: example-tls-name
# noSecret: false

resources: {}
# limits:
Expand Down

0 comments on commit d433ce9

Please sign in to comment.