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:
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue