Skip to content
This repository was archived by the owner on Oct 10, 2020. It is now read-only.

Commit 41b52af

Browse files
StackclashRichard Cox
andauthored
[plex] Added values to choose init container image (#259)
* Added values for the init container image * bumped Chart version Co-authored-by: Richard Cox <[email protected]>
1 parent 4c16a65 commit 41b52af

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

charts/plex/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: 1.19.1.2645-ccb6eb67e
33
description: Plex Media Server
44
name: plex
5-
version: 1.3.0
5+
version: 1.3.1
66
keywords:
77
- plex
88
home: https://plex.tv/

charts/plex/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
# This is ugly, but it does work to create a pks file that will work with PLEX from the tls.crt and tls.key that cert-manager normally creates
4141
{{- if .Values.certificate.pkcsMangler.enabled }}
4242
- name: pkcsmangler-init-container
43-
image: tlsprint/openssl:1.1.1f
43+
image: "{{ .Values.certificate.pkcsMangler.image.repository }}:{{ .Values.certificate.pkcsMangler.image.tag }}"
4444
imagePullPolicy: Always
4545
command: ["/bin/sh"]
4646
args: ["-c", "openssl pkcs12 -export -passout pass:$(PKCSMANGLER_PFXPASSWORD) -out /shared/cert.pfx -inkey {{ .Values.certificate.pkcsMangler.certificateSecret.volume.mountPath }}/{{ .Values.certificate.pkcsMangler.certificateSecret.keyName }} -in {{ .Values.certificate.pkcsMangler.certificateSecret.volume.mountPath }}/{{ .Values.certificate.pkcsMangler.certificateSecret.crtName }}; chmod 0444 /shared/cert.pfx"]

charts/plex/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ certificate:
215215
# the location specified in pfxInContainerPath.
216216
pkcsMangler:
217217
enabled: false
218+
# The Image to use for pkcsMangler
219+
image:
220+
repository: tlsprint/openssl
221+
tag: 1.1.1f
218222
configmap:
219223
labels: {}
220224
annotations: {}

0 commit comments

Comments
 (0)