add cert to gitea
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
||||
/.terraform/providers/registry.opentofu.org
|
||||
/terraform.tfstate
|
||||
/terraform.tfstate.backup
|
||||
|
||||
@@ -5,4 +5,3 @@ resources:
|
||||
- ./namespace.yaml
|
||||
- ./ingress.yaml
|
||||
- ./cert.yaml
|
||||
- ./argo-cmd-params.yaml
|
||||
|
||||
13
manifests/devops/cert.yaml
Normal file
13
manifests/devops/cert.yaml
Normal 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
|
||||
|
||||
@@ -39,6 +39,7 @@ spec:
|
||||
|
||||
gitea:
|
||||
admin:
|
||||
enabled: false
|
||||
existingSecret: gitea-admin
|
||||
config:
|
||||
server:
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user