diff --git a/src/main/resources/forgejo/certificate.yaml b/src/main/resources/forgejo/certificate.yaml deleted file mode 100644 index e99bb95..0000000 --- a/src/main/resources/forgejo/certificate.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: forgejo-cert - namespace: default -spec: - secretName: forgejo-cert - commonName: FQDN - duration: 2160h # 90d - renewBefore: 360h # 15d - dnsNames: - - FQDN - issuerRef: - name: staging - kind: ClusterIssuer \ No newline at end of file diff --git a/src/main/resources/forgejo/ingress.yaml b/src/main/resources/forgejo/ingress.yaml deleted file mode 100644 index 751c45b..0000000 --- a/src/main/resources/forgejo/ingress.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: ingress-forgejo - namespace: default - annotations: - ingress.kubernetes.io/ssl-redirect: "true" - traefik.ingress.kubernetes.io/router.middlewares: default-redirect-https@kubernetescrd -spec: - tls: - - hosts: - - FQDN - secretName: forgejo-cert - rules: - - host: FQDN - http: - paths: - - pathType: Prefix - path: "/" - backend: - service: - name: forgejo-service - port: - number: 3000