Skip to content

Commit

Permalink
ghcr.io/k8s-at-home/plex:v1.26.2.5797-5bd057d2b
Browse files Browse the repository at this point in the history
  • Loading branch information
bloopyboi committed Jun 12, 2022
1 parent 066987e commit 035159d
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions cluster/apps/media/plex/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
Expand All @@ -25,7 +24,7 @@ spec:
values:
image:
repository: ghcr.io/k8s-at-home/plex # {"$imagepolicy": "flux-system:plex:name"}
tag: v1.25.3.5409-f11334058 # {"$imagepolicy": "flux-system:plex:tag"}
tag: v1.26.2.5797-5bd057d2b # {"$imagepolicy": "flux-system:plex:tag"}
imagePullPolicy: IfNotPresent
env:
TZ: "${TZ}"
Expand Down Expand Up @@ -57,7 +56,6 @@ spec:
- 65541
- 65536
- 65537

service:
main:
type: LoadBalancer
Expand All @@ -69,7 +67,6 @@ spec:
coredns.io/hostname: plex
port:
port: 32400

ingress:
main:
enabled: true
Expand All @@ -93,7 +90,6 @@ spec:
- hosts:
- "{{ (index .Values.ingress.main.hosts 0).host }}"
secretName: "tls.plex"

persistence:
config:
enabled: true
Expand Down Expand Up @@ -126,14 +122,12 @@ spec:
existingClaim: nfs-misc-pvc
mountPath: /DataR
readOnly: false

podAnnotations:
backup.velero.io/backup-volumes: config
# pre.hook.backup.velero.io/container: fsfreeze
# pre.hook.backup.velero.io/command: '["/sbin/fsfreeze", "--freeze", "/data"]'
# post.hook.backup.velero.io/container: fsfreeze
# post.hook.backup.velero.io/command: '["/sbin/fsfreeze", "--unfreeze", "/data"]'

resources:
requests:
cpu: 100m
Expand All @@ -142,7 +136,6 @@ spec:
limits:
gpu.intel.com/i915: 1
memory: 9000Mi

affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down Expand Up @@ -171,12 +164,12 @@ spec:
securityContext:
runAsUser: 0

# additionalContainers:
# fsfreeze:
# name: fsfreeze
# image: ghcr.io/k8s-at-home/fsfreeze:v2.37-r0
# volumeMounts:
# - name: config
# mountPath: /data
# securityContext:
# privileged: true
# additionalContainers:
# fsfreeze:
# name: fsfreeze
# image: ghcr.io/k8s-at-home/fsfreeze:v2.37-r0
# volumeMounts:
# - name: config
# mountPath: /data
# securityContext:
# privileged: true

1 comment on commit 035159d

@h3mmy
Copy link
Owner

@h3mmy h3mmy commented on 035159d Jun 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this worked, I noticed the formatting changes that aren't great. There is a wide net of issues documenting this and then collected at kubernetes-sigs/kustomize#3946 for reference.

Current solution is to have flux deploy to it's own branch and allow the PR checks and linting to fix the formatting. May have to add some logic for whitespace and triple dash markers

Please sign in to comment.