feat: Upgrade version and add SSL certificate

This commit is contained in:
Tanguy Herbron 2024-11-27 13:43:28 +01:00
parent a7a03b2608
commit a54c41da9d
4 changed files with 15 additions and 2 deletions

View File

@ -45,5 +45,5 @@ mv data/* /data/gitea
And finally, restore the database
```bash
PGPASSWORD=$GITEA__database_PASSWD psql -h $GITEA__database_HOST -U $GITEA__database_USER < gitea-db.sql
PGPASSWORD=$GITEA__database__PASSWD psql -h gitea-db-rw.gitea.svc.cluster.local -U $GITEA__database__USER < halis_gitea.sql
```

View File

@ -0,0 +1,12 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: gitea
namespace: gitea
spec:
secretName: git-halis-io-tls
dnsNames:
- git.halis.io
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer

View File

@ -17,7 +17,7 @@ spec:
subdomain: gitea
containers:
- name: gitea
image: gitea/gitea:1.22.3
image: gitea/gitea:1.22.4
ports:
- containerPort: 3000
env:

View File

@ -8,6 +8,7 @@ resources:
- service.yaml
- servicemonitor.yaml
- ingress.yaml
- certificate.yaml
- configmap.yaml
- admin-creator.yaml
- pvc.yaml