Skip to content

Commit ccf6ffd

Browse files
nicosinghcilindrox
andauthored
Add ingress secret name variable in helm chart (#119)
* feat: add ingress secret name variable in helm chart * minor bump the helm chart --------- Co-authored-by: Gaston Festari <[email protected]>
1 parent 1b5ec9c commit ccf6ffd

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

charts/plex-media-server/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 0.7.2
25+
version: 0.8.0
2626

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

charts/plex-media-server/templates/ingress.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ spec:
2828
tls:
2929
- hosts:
3030
- {{ trimPrefix "https://" .Values.ingress.url }}
31-
secretName: {{ include "pms-chart.fullname" . }}-ingress-lets-encrypt
31+
secretName: {{ .Values.ingress.certificateSecret | default (printf "%s-ingress-lets-encrypt" (include "pms-chart.fullname" .)) }}
3232
{{- end -}}

charts/plex-media-server/values.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ ingress:
2222
# -- The url to use for the ingress reverse proxy to point at this pms instance
2323
url: ""
2424

25+
# -- Optional secret name to provide valid https connections
26+
# using an existing SSL certificate
27+
certificateSecret: ""
28+
2529
# -- Custom annotations to put on the ingress resource
2630
annotations: {}
2731

0 commit comments

Comments
 (0)