First iteration of static grocy helm chart without templating.
This commit is contained in:
35
grocy/templates/deployment.yaml
Normal file
35
grocy/templates/deployment.yaml
Normal 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
|
||||
Reference in New Issue
Block a user