First iteration of static grocy helm chart without templating.

This commit is contained in:
2022-05-01 09:57:23 +12:00
parent 13dcad1e2b
commit 4a7bae8c27
6 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,35 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: grocy
spec:
replicas: 1
selector:
matchLabels:
name: grocy
template:
metadata:
labels:
name: grocy
spec:
containers:
- name: grocy
imagePullPolicy: Always
image: ghcr.io/linuxserver/grocy:latest
ports:
- containerPort: 9283
volumeMounts:
- name: db
mountPath: /config
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "Pacific/Auckland"
volumes:
- name: db
persistentVolumeClaim:
claimName: grocy