Browse Source

replace hostPath with local, bump chart

master
sseneca 11 months ago
parent
commit
fc144efcd1
  1. 4
      gitea/release.yaml
  2. 10
      gitea/storage-db.yaml

4
gitea/release.yaml

@ -20,7 +20,7 @@ spec:
chart:
repository: https://dl.gitea.io/charts/
name: gitea
version: 2.1.3
version: 2.1.4
valuesFrom:
- secretKeyRef:
name: gitea-secrets
@ -73,6 +73,6 @@ spec:
volumePermissions:
enabled: true
psp:
Create: true
create: true
rbac:
create: true

10
gitea/storage-db.yaml

@ -9,8 +9,16 @@ spec:
storage: 10Gi
accessModes:
- ReadWriteOnce
hostPath:
local:
path: /var/lib/databases/gitea
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- sserver
---
apiVersion: v1
kind: PersistentVolumeClaim

Loading…
Cancel
Save