Skip to content

Commit

Permalink
Add ingress secret name variable in helm chart (#119)
Browse files Browse the repository at this point in the history
* feat: add ingress secret name variable in helm chart

* minor bump the helm chart

---------

Co-authored-by: Gaston Festari <[email protected]>
  • Loading branch information
nicosingh and cilindrox authored Jan 3, 2025
1 parent 1b5ec9c commit ccf6ffd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/plex-media-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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.7.2
version: 0.8.0

# 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: 1 addition & 1 deletion charts/plex-media-server/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ spec:
tls:
- hosts:
- {{ trimPrefix "https://" .Values.ingress.url }}
secretName: {{ include "pms-chart.fullname" . }}-ingress-lets-encrypt
secretName: {{ .Values.ingress.certificateSecret | default (printf "%s-ingress-lets-encrypt" (include "pms-chart.fullname" .)) }}
{{- end -}}
4 changes: 4 additions & 0 deletions charts/plex-media-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ ingress:
# -- The url to use for the ingress reverse proxy to point at this pms instance
url: ""

# -- Optional secret name to provide valid https connections
# using an existing SSL certificate
certificateSecret: ""

# -- Custom annotations to put on the ingress resource
annotations: {}

Expand Down

0 comments on commit ccf6ffd

Please sign in to comment.