Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions charts/kube-plex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ The following tables lists the configurable parameters of the Plex chart and the
| `kubePlex.image.repository` | Image repository | `quay.io/munnerz/kube-plex` |
| `kubePlex.image.tag` | Image tag. | `latest`|
| `kubePlex.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `webtools.enabled` | Enables WebTools | `false` |
| `webtools.enabled.path` | Access webtools via path | `/WebTools` |
| `claimToken` | Plex Claim Token to authenticate your acount | `` |
| `timezone` | Timezone plex instance should run as, e.g. 'America/New_York' | `Europe/London` |
| `Service.type` | Kubernetes service type for the plex GUI/API | `ClusterIP` |
Expand Down
4 changes: 4 additions & 0 deletions charts/kube-plex/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ spec:
containerPort: 32400
- name: https
containerPort: 32443
{{- if .Values.webtools.enabled }}
- name: webtools
containerPort: 33400
{{- end }}
env:
- name: TZ
value: "{{ .Values.timezone }}"
Expand Down
6 changes: 6 additions & 0 deletions charts/kube-plex/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ spec:
backend:
serviceName: {{ $serviceName }}
servicePort: pms
{{- if .Values.webtools.enabled }}
- path: {{ .Values.webtools.path }}
backend:
serviceName: {{ $serviceName }}
servicePort: webtools
{{- end }}
{{- end -}}
{{- if .Values.ingress.tls }}
tls:
Expand Down
5 changes: 5 additions & 0 deletions charts/kube-plex/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ spec:
- name: https
port: 443
targetPort: 32443
{{- if .Values.webtools.enabled }}
- name: webtools
port: 33400
targetPort: 33400
{{- end }}
selector:
app: {{ template "name" . }}
release: {{ .Release.Name }}
Expand Down
6 changes: 6 additions & 0 deletions charts/kube-plex/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ kubePlex:
tag: latest
pullPolicy: Always

# If webtools is installed, enable access to the extension
# ref: https://github.com/ukdtom/WebTools.bundle/wiki
webtools:
enabled: false
path: /WebTools

# Override this with the plex claim token from plex.tv/claim
claimToken: ""

Expand Down