add cert to gitea

This commit is contained in:
2026-05-05 00:39:53 +02:00
parent ba3a79ee9b
commit 49a1f1e2d7
7 changed files with 17 additions and 3 deletions

2
.gitignore vendored
View File

@@ -1 +1,3 @@
/.terraform/providers/registry.opentofu.org
/terraform.tfstate
/terraform.tfstate.backup

View File

@@ -5,4 +5,3 @@ resources:
- ./namespace.yaml
- ./ingress.yaml
- ./cert.yaml
- ./argo-cmd-params.yaml

View File

@@ -0,0 +1,13 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: gitea-tls
namespace: devops
spec:
secretName: gitea-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- gitea.milasholsting.dk

View File

@@ -39,6 +39,7 @@ spec:
gitea:
admin:
enabled: false
existingSecret: gitea-admin
config:
server:

View File

@@ -4,3 +4,4 @@ resources:
- ./namespace.yaml
- ./gitea-admin-secret.yaml
- ./gitea.yaml
- ./cert.yaml

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long