feat: Upgrade version and add SSL certificate
This commit is contained in:
parent
a7a03b2608
commit
a54c41da9d
@ -45,5 +45,5 @@ mv data/* /data/gitea
|
|||||||
|
|
||||||
And finally, restore the database
|
And finally, restore the database
|
||||||
```bash
|
```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
|
||||||
```
|
```
|
||||||
|
12
manifests/certificate.yaml
Normal file
12
manifests/certificate.yaml
Normal 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
|
@ -17,7 +17,7 @@ spec:
|
|||||||
subdomain: gitea
|
subdomain: gitea
|
||||||
containers:
|
containers:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
image: gitea/gitea:1.22.3
|
image: gitea/gitea:1.22.4
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
env:
|
env:
|
||||||
|
@ -8,6 +8,7 @@ resources:
|
|||||||
- service.yaml
|
- service.yaml
|
||||||
- servicemonitor.yaml
|
- servicemonitor.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
- certificate.yaml
|
||||||
- configmap.yaml
|
- configmap.yaml
|
||||||
- admin-creator.yaml
|
- admin-creator.yaml
|
||||||
- pvc.yaml
|
- pvc.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user