mirror of
https://github.com/truenas/charts.git
synced 2026-11-25 07:22:02 +00:00
Remove pkcs configuration from plex chart
This commit is contained in:
1 parent
769b45d4a4
commit
0cf46c6400
6 files changed
-246
No files matched your search
@@ -220,61 +220,6 @@ persistence:
|
||||
# Access mode for this volume
|
||||
accessMode: ReadWriteOnce
|
||||
|
||||
# Certificate(s) in Plex
|
||||
certificate:
|
||||
# Assuming you have a kubernetes certificate secret (say from cert-manager) that has a tls.crt and tls.key but NO PFX!
|
||||
# pkcsMangler to the rescue. The pkcsMangler part will add the supplied pfxPassword to a kubernetes secret
|
||||
# This is so it's not in the clear in the YAML of the deployment in the kubernetes api.
|
||||
# We will then use an OpenSSL init container to create a pfx file using the supplied secret (only available in container)
|
||||
# Then we will use an init script (via configMap) to move the pfx file out of /shared (it's temporary storage) to
|
||||
# the location specified in pfxInContainerPath.
|
||||
pkcsMangler:
|
||||
enabled: false
|
||||
# The Image to use for pkcsMangler
|
||||
image:
|
||||
repository: tlsprint/openssl
|
||||
tag: 1.1.1f
|
||||
configmap:
|
||||
labels: {}
|
||||
annotations: {}
|
||||
# Right now you can't really change this, additionally the configmap data is
|
||||
# not configurable.
|
||||
name: 42-pkcs-mangler
|
||||
volume:
|
||||
name: 42-pkcs-mangler
|
||||
defaultMode: 493 # 0755 in octal permission notation
|
||||
# Using mountPath & SubPath allow you to volume mount a configMap AS A FILE
|
||||
# Unfortunately this also means that updates to the configMap are not automtically
|
||||
# propagated to the file contents. But it's better then replacing the entire
|
||||
# /etc/cont-init.d/ directory which is the "normal" behavior when doing volume
|
||||
# mounts.
|
||||
mountPath: /etc/cont-init.d/42-pkcs-mangler
|
||||
subPath: 42-pkcs-mangler
|
||||
setPlexPreferences:
|
||||
enabled: true # Set Plex Preferences related to Certificates
|
||||
customCertificateDomain: "" # If not empty, Set the Plex Preference customCertificateDomain
|
||||
# Use spec.certificate.pkcsMangler.pfxPassword.value to Set the Plex Preference customCertificateKey
|
||||
# Use spec.certificate.pkcsMangler.pfxInContainerPath to Set the Plex Preference customCertificatePath
|
||||
pfxPassword:
|
||||
value: "setpassword"
|
||||
# We wlll create a Kubernetes Secret for spec.certificate.pkcsMangler.pfxPassword.value
|
||||
# These are your options.
|
||||
secretName: "plex-media-server-pfx-password"
|
||||
passwordKey: "pfx-password"
|
||||
labels: {}
|
||||
annotations: {}
|
||||
pfxInContainerPath: "/config/plex.pfx" # This is full path in the container pkcsMangler will copy the pfx file to
|
||||
# This is the SSL Certificate Secret that will provide our crt and key file. If you used cert-manager to create
|
||||
# the certificate, these defaults should work for you. This Secret (and volume details) are only used by the
|
||||
# pkcsMangler Init Container.
|
||||
certificateSecret:
|
||||
name: ""
|
||||
keyName: "tls.key"
|
||||
crtName: "tls.crt"
|
||||
volume:
|
||||
name: plex-certs
|
||||
mountPath: /etc/plex-certs
|
||||
|
||||
# Probes configuration
|
||||
probes:
|
||||
liveness:
|
||||
@@ -288,28 +233,6 @@ probes:
|
||||
failureThreshold: 30
|
||||
periodSeconds: 10
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
deploymentAnnotations: {}
|
||||
|
||||
proxy:
|
||||
# This allows to set a proxy environment variable, which PMS uses to fetch the token and assets like movie cover
|
||||
enabled: false
|
||||
|
||||
Reference in new issue
Block a user