clean up
This commit is contained in:
1 parent
ce188a5482
commit
7160b0c8f6
21 files changed
-481
No files matched your search
@@ -1,7 +0,0 @@
|
||||
apiVersion: v2
|
||||
name: basement-assistant
|
||||
description: An apps service for homelab
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "edge"
|
||||
dependencies: []
|
||||
@@ -1,41 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 2
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
homelab/app: "{{ .Release.Name }}"
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
homelab/app: "{{ .Release.Name }}"
|
||||
spec:
|
||||
affinity:
|
||||
{{- .Values.affinity | toYaml | nindent 12}}
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.config.claimName }}
|
||||
containers:
|
||||
- name: main
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
securityContext:
|
||||
privileged: true
|
||||
image: "{{ .Values.image }}:{{ .Values.tag | default .Chart.AppVersion }}"
|
||||
resources:
|
||||
{{- .Values.resources | toYaml | nindent 14}}
|
||||
env:
|
||||
- name: TZ
|
||||
value: "{{ .Values.global.timezone }}"
|
||||
ports:
|
||||
- containerPort: 8123
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
spec:
|
||||
selector:
|
||||
homelab/app: {{ .Release.Name }}
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8123
|
||||
name: http
|
||||
protocol: TCP
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-node-port
|
||||
spec:
|
||||
selector:
|
||||
homelab/app: {{ .Release.Name }}
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 80
|
||||
nodePort: 30101
|
||||
targetPort: 8123
|
||||
name: http
|
||||
protocol: TCP
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -1,15 +0,0 @@
|
||||
|
||||
image: homeassistant/home-assistant
|
||||
tag: "2023.10"
|
||||
|
||||
persistence:
|
||||
config:
|
||||
claimName: ""
|
||||
|
||||
resources:
|
||||
requests:
|
||||
memory: "500Mi"
|
||||
cpu: "150m"
|
||||
limits:
|
||||
memory: "500Mi"
|
||||
cpu: "150m"
|
||||
@@ -1,7 +0,0 @@
|
||||
apiVersion: v2
|
||||
name: scrypted
|
||||
description: An apps service for homelab
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "edge"
|
||||
dependencies: []
|
||||
@@ -1,76 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
selector:
|
||||
matchLabels:
|
||||
{{ .Release.Name }}/app: scrypted
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
{{ .Release.Name }}/app: scrypted
|
||||
spec:
|
||||
volumes:
|
||||
{{- if .Values.persistence.media_path.enabled }}
|
||||
- name: media-path
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.media_path.claimName }}
|
||||
{{- end }}
|
||||
{{- if .Values.persistence.conf_path.enabled }}
|
||||
- name: conf-path
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.conf_path.claimName }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: main
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
securityContext:
|
||||
privileged: true
|
||||
image: "{{ .Values.image }}:{{ .Values.tag | default .Chart.AppVersion }}"
|
||||
resources:
|
||||
{{- .Values.resources | toYaml | nindent 14}}
|
||||
# livenessProbe:
|
||||
# httpGet:
|
||||
# path: /
|
||||
# port: http
|
||||
# scheme: HTTP
|
||||
# initialDelaySeconds: 10
|
||||
# failureThreshold: 10
|
||||
# timeoutSeconds: 30
|
||||
# readinessProbe:
|
||||
# httpGet:
|
||||
# path: /
|
||||
# port: http
|
||||
# scheme: HTTP
|
||||
# initialDelaySeconds: 10
|
||||
# failureThreshold: 10
|
||||
# timeoutSeconds: 30
|
||||
# startupProbe:
|
||||
# httpGet:
|
||||
# path: /
|
||||
# port: http
|
||||
# scheme: HTTP
|
||||
# failureThreshold: 60
|
||||
# periodSeconds: 15
|
||||
env:
|
||||
- name: SCRYPTED_NVR_VOLUME
|
||||
value: /media/nvr
|
||||
ports:
|
||||
- containerPort: 10443
|
||||
name: https
|
||||
- containerPort: 11080
|
||||
name: http
|
||||
volumeMounts:
|
||||
{{- if .Values.persistence.media_path.enabled }}
|
||||
- name: media-path
|
||||
mountPath: /media/nvr
|
||||
{{ end }}
|
||||
{{- if .Values.persistence.conf_path.enabled }}
|
||||
- name: conf-path
|
||||
mountPath: /server/volume
|
||||
{{ end }}
|
||||
@@ -1,22 +0,0 @@
|
||||
{{ if .Values.flags.enableNodePort }}
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-nodeport
|
||||
spec:
|
||||
selector:
|
||||
{{ .Release.Name }}/app: scrypted
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 443
|
||||
nodePort: 30001
|
||||
targetPort: 10443
|
||||
name: https
|
||||
protocol: TCP
|
||||
- port: 80
|
||||
nodePort: 30002
|
||||
targetPort: 11080
|
||||
name: http
|
||||
protocol: TCP
|
||||
{{ end }}
|
||||
@@ -1,18 +0,0 @@
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
spec:
|
||||
selector:
|
||||
{{ .Release.Name }}/app: scrypted
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 443
|
||||
targetPort: 10443
|
||||
name: https
|
||||
protocol: TCP
|
||||
- port: 80
|
||||
targetPort: 11080
|
||||
name: http
|
||||
protocol: TCP
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -1,21 +0,0 @@
|
||||
image: "koush/scrypted"
|
||||
tag: "20-jammy-thin.s6-v0.57.0"
|
||||
|
||||
flags:
|
||||
enableNodePort: false
|
||||
|
||||
persistence:
|
||||
media_path:
|
||||
enabled: false
|
||||
claimName: ""
|
||||
conf_path:
|
||||
enabled: false
|
||||
claimName: ""
|
||||
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "500m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
@@ -1,7 +0,0 @@
|
||||
apiVersion: v2
|
||||
name: z2m
|
||||
description: An apps service for homelab
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "edge"
|
||||
dependencies: []
|
||||
@@ -1,74 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 2
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
{{ .Release.Name }}/app: z2m
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
{{ .Release.Name }}/app: z2m
|
||||
spec:
|
||||
affinity:
|
||||
{{- .Values.affinity | toYaml | nindent 12}}
|
||||
volumes:
|
||||
- name: udev
|
||||
hostPath:
|
||||
path: /run/udev
|
||||
- name: zigbee-stick
|
||||
hostPath:
|
||||
path: "{{ .Values.devicePath }}"
|
||||
- name: data-path
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.data_path.claimName }}
|
||||
containers:
|
||||
- name: main
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
securityContext:
|
||||
privileged: true
|
||||
image: "{{ .Values.image }}:{{ .Values.tag | default .Chart.AppVersion }}"
|
||||
resources:
|
||||
{{- .Values.resources | toYaml | nindent 14}}
|
||||
# livenessProbe:
|
||||
# tcpSocket:
|
||||
# port: http
|
||||
# initialDelaySeconds: 0
|
||||
# failureThreshold: 3
|
||||
# timeoutSeconds: 1
|
||||
# periodSeconds: 10
|
||||
# readinessProbe:
|
||||
# tcpSocket:
|
||||
# port: http
|
||||
# initialDelaySeconds: 0
|
||||
# failureThreshold: 3
|
||||
# timeoutSeconds: 1
|
||||
# periodSeconds: 10
|
||||
# startupProbe:
|
||||
# tcpSocket:
|
||||
# port: http
|
||||
# initialDelaySeconds: 0
|
||||
# failureThreshold: 30
|
||||
# timeoutSeconds: 1
|
||||
# periodSeconds: 5
|
||||
env:
|
||||
- name: TZ
|
||||
value: "{{ .Values.global.timezone }}"
|
||||
- name: "ZIGBEE2MQTT_DATA"
|
||||
value: "/data"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: zigbee-stick
|
||||
mountPath: "{{ .Values.devicePath }}"
|
||||
- name: data-path
|
||||
mountPath: /data
|
||||
- name: udev
|
||||
mountPath: /run/udev
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
spec:
|
||||
selector:
|
||||
{{ .Release.Name }}/app: z2m
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-node-port
|
||||
spec:
|
||||
selector:
|
||||
{{ .Release.Name }}/app: z2m
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 80
|
||||
nodePort: 30100
|
||||
targetPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -1,30 +0,0 @@
|
||||
image: "koenkk/zigbee2mqtt"
|
||||
tag: "latest-dev"
|
||||
global:
|
||||
timezone: changeme
|
||||
mqtt:
|
||||
host: ""
|
||||
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 1
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: hardware/zigbee
|
||||
operator: In
|
||||
values:
|
||||
- "yes"
|
||||
persistence:
|
||||
data_path:
|
||||
claimName: ""
|
||||
|
||||
devicePath: /dev/ttyUSB0
|
||||
|
||||
resources:
|
||||
requests:
|
||||
memory: "500Mi"
|
||||
cpu: "150m"
|
||||
limits:
|
||||
memory: "500Mi"
|
||||
cpu: "150m"
|
||||
@@ -43,22 +43,10 @@ services:
|
||||
service: "plex"
|
||||
namespace: "apps-videohosting"
|
||||
port: 32400
|
||||
- prefix: "scrypted"
|
||||
service: "scrypted"
|
||||
namespace: "apps-scrypted"
|
||||
port: 80
|
||||
- prefix: "frigate"
|
||||
service: "frigate"
|
||||
namespace: "apps-frigate"
|
||||
middleware: "apps-ingresses-chain-authentik"
|
||||
- prefix: "z2m"
|
||||
service: "z2m"
|
||||
namespace: "apps-z2m"
|
||||
middleware: "apps-ingresses-chain-authentik"
|
||||
- prefix: "basement"
|
||||
service: "basement-assistant"
|
||||
namespace: "apps-basement-assistant"
|
||||
middleware: "apps-ingresses-chain-authentik"
|
||||
# vh services
|
||||
{{- range $k, $v := .Values.videohosting.linuxserverServices }}
|
||||
- prefix: "{{ $k }}.vh"
|
||||
|
||||
@@ -62,9 +62,6 @@ apps:
|
||||
nextcloud:
|
||||
valuesFile: nextcloud.yaml
|
||||
|
||||
# photoprism:
|
||||
# valuesFile: photoprism.yaml
|
||||
|
||||
ingresses:
|
||||
valuesFile: ingresses.yaml
|
||||
|
||||
@@ -83,28 +80,6 @@ apps:
|
||||
smtp_password_secret: {{ .Values.secrets.smtp.secrets.smtp.name }}
|
||||
smtp_password_secret_key: password
|
||||
|
||||
scrypted:
|
||||
values: |-
|
||||
persistence:
|
||||
media_path:
|
||||
enabled: true
|
||||
claimName: {{ .Values.storage.scrypted.name }}
|
||||
persistence:
|
||||
conf_path:
|
||||
enabled: truescryptedConf
|
||||
claimName: {{ .Values.storage.scryptedConf.name }}
|
||||
z2m:
|
||||
values: |-
|
||||
persistence:
|
||||
data_path:
|
||||
enabled: true
|
||||
claimName: {{ .Values.storage.z2mData.name }}
|
||||
basement-assistant:
|
||||
values: |-
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
claimName: {{ .Values.storage.basementConfig.name }}
|
||||
frigate:
|
||||
values: |-
|
||||
persistence:
|
||||
@@ -186,24 +161,6 @@ secrets:
|
||||
configmaps:
|
||||
auth:
|
||||
name: authentick-config-envs
|
||||
# photoprism:
|
||||
# namespace: apps-photoprism
|
||||
# secrets:
|
||||
# db:
|
||||
# name: "db"
|
||||
# autogenerated:
|
||||
# - MARIADB_PASSWORD
|
||||
# - MARIADB_ROOT_PASSWORD
|
||||
# data: |-
|
||||
# MARIADB_USER: {{ "photoprism" | b64enc }}
|
||||
# MARIADB_DATABASE: {{ "photoprism" | b64enc }}
|
||||
# auth:
|
||||
# name: "auth"
|
||||
# autogenerated:
|
||||
# - PHOTOPRISM_ADMIN_PASSWORD
|
||||
# data: |-
|
||||
# PHOTOPRISM_ADMIN_USER: {{ "admin" | b64enc }}
|
||||
# PHOTOPRISM_AUTH_MODE: {{ "password" | b64enc }}
|
||||
authentik:
|
||||
namespace: chart-authentik
|
||||
secrets:
|
||||
@@ -219,16 +176,6 @@ secrets:
|
||||
secretName: "password.pg.authentik"
|
||||
secretKey: "password"
|
||||
storage:
|
||||
# photoprism:
|
||||
# name: photoprism
|
||||
# namespace: apps-photoprism
|
||||
# accessModes:
|
||||
# - ReadWriteMany
|
||||
# resources:
|
||||
# requests:
|
||||
# storage: 8Gi
|
||||
# limits:
|
||||
# storage: 500Gi
|
||||
database:
|
||||
name: primary-database
|
||||
namespace: chart-database
|
||||
@@ -277,46 +224,6 @@ storage:
|
||||
storage: 100Gi
|
||||
requests:
|
||||
storage: 10Gi
|
||||
scrypted:
|
||||
name: scrypted-media
|
||||
namespace: apps-scrypted
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
limits:
|
||||
storage: 100Gi
|
||||
requests:
|
||||
storage: 10Gi
|
||||
scryptedConf:
|
||||
name: scrypted-conf
|
||||
namespace: apps-scrypted
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
limits:
|
||||
storage: 100Gi
|
||||
requests:
|
||||
storage: 10Gi
|
||||
z2mData:
|
||||
name: z2m-data
|
||||
namespace: apps-z2m
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
limits:
|
||||
storage: 2Gi
|
||||
requests:
|
||||
storage: 2Gi
|
||||
basementConfig:
|
||||
name: basement-assistant-config
|
||||
namespace: apps-basement-assistant
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
limits:
|
||||
storage: 2Gi
|
||||
requests:
|
||||
storage: 2Gi
|
||||
frigateConf:
|
||||
name: frigate-conf
|
||||
namespace: apps-frigate
|
||||
|
||||
Reference in new issue
Block a user