Helm charts for media stack (Plex, Sonarr, Radarr, etc.), dashboards (Glance, Homepage), paperless-ngx, mealie, traefik ingress, MetalLB, and utilities. Includes SOPS-encrypted secrets and bootstrap script.
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: glance
|
|
labels:
|
|
app: glance
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
app: glance
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: glance
|
|
spec:
|
|
nodeSelector:
|
|
node-role.kubernetes.io/control-plane: "true"
|
|
tolerations:
|
|
- key: node-role.kubernetes.io/control-plane
|
|
effect: NoSchedule
|
|
containers:
|
|
- name: glance
|
|
image: {{ .Values.glance.image }}
|
|
ports:
|
|
- containerPort: 8080
|
|
env:
|
|
- name: DOMAIN
|
|
value: {{ .Values.domain }}
|
|
- name: HOST_IP
|
|
value: {{ .Values.hostIp | quote }}
|
|
- name: ADGUARD_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: {{ .Values.glance.secretName }}
|
|
key: ADGUARD_PASSWORD
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /app/config
|
|
volumes:
|
|
- name: config
|
|
hostPath:
|
|
path: /dogstore/service-data/glance/config
|
|
type: Directory
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: glance
|
|
spec:
|
|
selector:
|
|
app: glance
|
|
ports:
|
|
- port: 8082
|
|
targetPort: 8080
|