From c52be9d489678940ed044e41ed2410cb119b1cc1 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 7 Apr 2023 15:39:09 +0200 Subject: [PATCH] removed no longer used resources --- src/main/resources/forgejo/certificate.yaml | 15 ------------- src/main/resources/forgejo/ingress.yaml | 24 --------------------- 2 files changed, 39 deletions(-) delete mode 100644 src/main/resources/forgejo/certificate.yaml delete mode 100644 src/main/resources/forgejo/ingress.yaml 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