fix gitea

This commit is contained in:
SeanOMik 2023-06-04 01:10:47 -04:00
parent d4be3c16c1
commit d945b5d56b
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
2 changed files with 29 additions and 4 deletions

View File

@ -0,0 +1,16 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: gitea-pv
namespace: default
labels:
app.kubernetes.io/name: gitea-pv
spec:
storageClassName: hostpath
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 30Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/MainPool/Kubernetes/gitea"

View File

@ -20,8 +20,12 @@ spec:
persistence: persistence:
enabled: true enabled: true
existingClaim: false size: 30Gi
hostPath: /mnt/MainPool/Kubernetes/gitea selector:
matchLabels:
app.kubernetes.io/name: kube-prometheus-stack-pv
#existingClaim:
#hostPath: /mnt/MainPool/Kubernetes/gitea
resources: resources:
requests: requests:
@ -58,10 +62,15 @@ spec:
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-production cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
hostname: "budget.${SECRET_NEW_DOMAIN}" hostname: &host "budget.${SECRET_NEW_DOMAIN}"
tls: true tls: true
secrets: false extraTls:
- hosts:
- *host
secretName: wildcard-main-tls
secrets: nil
# secrets: # secrets:
# - wildcard-main-tls # - wildcard-main-tls