add app plex
This commit is contained in:
42
apps/plex/base/deployment.yaml
Normal file
42
apps/plex/base/deployment.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: plex
|
||||
namespace: plex
|
||||
labels:
|
||||
app.kubernetes.io/name: plex
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: plex
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: plex
|
||||
spec:
|
||||
hostNetwork: true
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
containers:
|
||||
- name: plex
|
||||
image: plexinc/pms-docker
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
env:
|
||||
- name: TZ
|
||||
value: "Australia/Sydney"
|
||||
- name: PLEX_CLAIM
|
||||
value: "0"
|
||||
ports:
|
||||
- protocol: TCP
|
||||
containerPort: 8088
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: assets
|
||||
mountPath: /www/assets
|
||||
volumes:
|
||||
- name: assets
|
||||
hostPath:
|
||||
path: /mnt/nfs/AppData/homer/www/assets
|
||||
type: Directory
|
||||
3
apps/plex/base/kustomization.yaml
Normal file
3
apps/plex/base/kustomization.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources: []
|
||||
12
apps/plex/env/k3s-cluster/config.json
vendored
Normal file
12
apps/plex/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "XXX",
|
||||
"userGivenName": "XXX",
|
||||
"namespace": "XXX",
|
||||
"destNamespace": "XXX",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "XXX/XXX/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
4
apps/plex/env/k3s-cluster/kustomization.yaml
vendored
Normal file
4
apps/plex/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
@@ -20,6 +20,7 @@ resources:
|
||||
- ./mongodb.yaml
|
||||
- ./new-relic.yaml
|
||||
- ./nexus.yaml
|
||||
- ./plex.yaml
|
||||
- ./postgresql.yaml
|
||||
- ./prometheus.yaml
|
||||
- ./prometheus-operator.yaml
|
||||
|
||||
9
resources/namespaces/base/plex.yaml
Normal file
9
resources/namespaces/base/plex.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: Prune=false
|
||||
creationTimestamp: null
|
||||
name: plex
|
||||
spec: {}
|
||||
status: {}
|
||||
Reference in New Issue
Block a user