Compare commits

...

14 Commits

Author SHA1 Message Date
5bc8e75175 undid security and emptydir
All checks were successful
continuous-integration/publish-helm Helm publish succeeded
2026-01-12 21:43:36 +11:00
23554064c2 trying to set UID/GID explicitly to avoud s6-setuidgid
All checks were successful
continuous-integration/publish-helm Helm publish succeeded
2026-01-12 20:13:46 +11:00
f215446ea6 hello darkness my old friend...
All checks were successful
continuous-integration/publish-helm Helm publish succeeded
2026-01-12 20:00:46 +11:00
60e0298161 I <3 YAML
All checks were successful
continuous-integration/publish-helm Helm publish succeeded
2026-01-12 19:59:02 +11:00
44d28ca19a *turns 360 and walks away*
Some checks failed
continuous-integration/publish-helm Helm publish failed
2026-01-12 19:56:44 +11:00
4ac210cb9c They call it s6 run because when you see it, you want to run away
Some checks failed
continuous-integration/publish-helm Helm publish failed
2026-01-12 19:54:03 +11:00
0f45179919 LET_ME_LIVE_IN_A_WORLD_WITHOUT_S6: "1"
All checks were successful
continuous-integration/publish-helm Helm publish succeeded
2026-01-12 19:49:41 +11:00
7979b35e7e Removed redundant security directives
All checks were successful
continuous-integration/publish-helm Helm publish succeeded
removed scc anyuid (out of band)
2026-01-12 19:08:12 +11:00
aa64c846be Added argo-helm.yaml
All checks were successful
continuous-integration/publish-helm Helm publish succeeded
2025-12-28 11:02:01 +11:00
3a8481a10e removed workflow
All checks were successful
continuous-integration/publish-helm Helm publish succeeded
2025-12-19 19:34:48 +11:00
95188e479b Update README.md
Some checks failed
continuous-integration/publish-helm Helm publish succeeded
Helm Publish / publish (push) Has been cancelled
2025-12-19 08:26:19 +00:00
3a4d13893b added amd.com/gpu limits for hardware acceleration
Some checks failed
Helm Publish / publish (push) Failing after 2m19s
2025-12-16 17:59:35 +11:00
ba0ae300ea Didn't keeo my shit up to date
Some checks failed
Helm Publish / publish (push) Failing after 2m17s
Merge remote-tracking branch 'refs/remotes/origin/main'
2025-12-11 08:29:34 +11:00
ddf8fbe8d6 Storage class changes 2025-12-11 08:28:18 +11:00
5 changed files with 39 additions and 67 deletions

View File

@@ -1,57 +0,0 @@
name: Helm Publish
on:
push:
branches:
- main
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Helm
run: |
set -euo pipefail
curl -sSL https://get.helm.sh/helm-v3.15.0-linux-amd64.tar.gz -o /tmp/helm.tgz
tar xzf /tmp/helm.tgz -C /tmp
install /tmp/linux-amd64/helm /usr/local/bin/helm
- name: Install helm cm-push plugin
run: |
set -euo pipefail
helm plugin install https://github.com/chartmuseum/helm-push
- name: Lint and package chart
run: |
set -euo pipefail
helm lint .
helm dependency update . || true
helm package . -d /tmp
- name: Push chart to Gitea Helm registry
env:
HELM_REPO_URL: "https://gitea.apilab.us/api/packages/cscott/helm"
HELM_REPO_NAME: "gitea-helm"
HELM_USER: "cscott"
HELM_PASSWORD: "${{ secrets.HELM_PASSWORD }}"
run: |
set -euo pipefail
helm repo add "$HELM_REPO_NAME" "$HELM_REPO_URL" \
--username "$HELM_USER" \
--password "$HELM_PASSWORD"
NAME="$(grep '^name:' Chart.yaml | awk '{print $2}')"
YAML_VERSION="$(grep '^version:' Chart.yaml | awk '{print $2}')"
CHART_TGZ="/tmp/${NAME}-${YAML_VERSION}.tgz"
if [ ! -f "$CHART_TGZ" ]; then
echo "Expected packaged chart not found: $CHART_TGZ"
ls -l /tmp
exit 1
fi
helm cm-push "$CHART_TGZ" "$HELM_REPO_NAME"

View File

@@ -1,4 +1,4 @@
# plex-media-server
# Plex Media Server
![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.42.2](https://img.shields.io/badge/AppVersion-1.42.2-informational?style=flat-square)

25
argo-helm.yaml Normal file
View File

@@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: peanutflix
namespace: openshift-gitops
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: peanutflix
source:
repoURL: https://gitea.apilab.us/cscott/peanutflix.git
targetRevision: main
path: .
helm:
valueFiles:
- values.yaml
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
- PruneLast=true

View File

@@ -1,2 +0,0 @@
oc create sa peanutflix-sa -n peanutflix
oc adm policy add-scc-to-user anyuid -z peanutflix-sa -n peanutflix

View File

@@ -82,12 +82,13 @@ pms:
# requests:
# cpu: 100m
# memory: 128Mi
#limits:
# amd.com/gpu: 1
limits:
amd.com/gpu: 1
# -- Security context for PMS pods
securityContext: {}
# Redundant for openshift
containerSecurityContext:
runAsNonRoot: true
allowPrivilegeEscalation: false
@@ -101,8 +102,7 @@ pms:
shareProcessNamespace: false
# -- Add kubernetes liveness probe to pms container.
livenessProbe:
{}
livenessProbe: {}
# httpGet:
# path: /identity
# port: 32400
@@ -112,8 +112,7 @@ pms:
# failureThreshold: 3
# -- Add kubernetes readiness probe to pms container.
readinessProbe:
{}
readinessProbe: {}
# httpGet:
# path: /identity
# port: 32400
@@ -284,7 +283,10 @@ priorityClassName: ""
# -- Common Labels for all resources created by this chart.
commonLabels: {}
extraEnv: {}
extraEnv:
S6_YES_I_WANT_A_WORLD_WRITABLE_RUN_BECAUSE_KUBERNETES: "1"
PLEX_UID: "1000"
PLEX_GID: "1000"
# extraEnv:
# This claim is optional, and is only used for the first startup of PMS
# The claim is obtained from https://www.plex.tv/claim/ is is only valid for a few minutes
@@ -305,6 +307,8 @@ extraVolumeMounts:
# extraVolumeMounts:
- name: dev-dri
mountPath: /dev/dri
#- name: s6-run
# mountPath: /var/run/s6
- name: pms
mountPath: /mnt/nfs
@@ -318,6 +322,8 @@ extraVolumes:
- name: pms
persistentVolumeClaim:
claimName: plex
#- name: s6-run
# emptyDir: {}
extraContainers: []
# extraContainers: