fix gitea
This commit is contained in:
parent
d4be3c16c1
commit
d945b5d56b
|
@ -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"
|
|
@ -20,8 +20,12 @@ spec:
|
|||
|
||||
persistence:
|
||||
enabled: true
|
||||
existingClaim: false
|
||||
hostPath: /mnt/MainPool/Kubernetes/gitea
|
||||
size: 30Gi
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: kube-prometheus-stack-pv
|
||||
#existingClaim:
|
||||
#hostPath: /mnt/MainPool/Kubernetes/gitea
|
||||
|
||||
resources:
|
||||
requests:
|
||||
|
@ -58,10 +62,15 @@ spec:
|
|||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
hostname: "budget.${SECRET_NEW_DOMAIN}"
|
||||
hostname: &host "budget.${SECRET_NEW_DOMAIN}"
|
||||
|
||||
tls: true
|
||||
secrets: false
|
||||
extraTls:
|
||||
- hosts:
|
||||
- *host
|
||||
secretName: wildcard-main-tls
|
||||
|
||||
secrets: nil
|
||||
# secrets:
|
||||
# - wildcard-main-tls
|
||||
|
||||
|
|
Loading…
Reference in New Issue