From 45af542b8258bcc516a09b123bb750b8451446dc Mon Sep 17 00:00:00 2001 From: Vincent Thomas <77443389+vincent-thomas@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:05:46 +0100 Subject: [PATCH] gateway fuck off --- manifests/core/gateway-api/certificate.yaml | 20 ------- manifests/core/gateway-api/gateway-class.yaml | 57 ------------------- manifests/core/gateway-api/kustomization.yaml | 6 -- 3 files changed, 83 deletions(-) delete mode 100644 manifests/core/gateway-api/certificate.yaml delete mode 100644 manifests/core/gateway-api/gateway-class.yaml delete mode 100644 manifests/core/gateway-api/kustomization.yaml diff --git a/manifests/core/gateway-api/certificate.yaml b/manifests/core/gateway-api/certificate.yaml deleted file mode 100644 index b271414..0000000 --- a/manifests/core/gateway-api/certificate.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: gateway-cert -spec: - secretName: gateway-cert - - secretTemplate: - labels: - app.kubernetes.io/part-of: gateway - app.kubernetes.io/name: gateway-cert - app.kubernetes.io/component: certificate - - dnsNames: - - homelab.v-thomas.com - - "*.homelab.v-thomas.com" - - issuerRef: - name: letsencrypt-prod - kind: ClusterIssuer diff --git a/manifests/core/gateway-api/gateway-class.yaml b/manifests/core/gateway-api/gateway-class.yaml deleted file mode 100644 index cad1cb7..0000000 --- a/manifests/core/gateway-api/gateway-class.yaml +++ /dev/null @@ -1,57 +0,0 @@ -apiVersion: gateway.networking.k8s.io/v1 -kind: GatewayClass -metadata: - name: traefik - namespace: default -spec: - controllerName: traefik.io/gateway-controller ---- -apiVersion: gateway.networking.k8s.io/v1 -kind: Gateway -metadata: - name: traefik - namespace: default -spec: - gatewayClassName: traefik - - # Only Routes from the same namespace are allowed. - listeners: - # - name: http - # protocol: HTTP - # port: 80 - # allowedRoutes: - # namespaces: - # from: Same - - - name: https - protocol: HTTPS - port: 443 - tls: - mode: Terminate - certificateRefs: - - name: gateway-cert - namespace: default - - allowedRoutes: - namespaces: - from: Same - - # - name: tcp - # protocol: TCP - # port: 3000 - # allowedRoutes: - # namespaces: - # from: Same - # - # - name: tls - # protocol: TLS - # port: 3443 - # tls: - # mode: Terminate - # certificateRefs: - # - name: secret-tls - # namespace: default - # - # allowedRoutes: - # namespaces: - # from: Same diff --git a/manifests/core/gateway-api/kustomization.yaml b/manifests/core/gateway-api/kustomization.yaml deleted file mode 100644 index f79ef02..0000000 --- a/manifests/core/gateway-api/kustomization.yaml +++ /dev/null @@ -1,6 +0,0 @@ -resources: - - https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.0/standard-install.yaml - - https://raw.githubusercontent.com/traefik/traefik/v3.2/docs/content/reference/dynamic-configuration/kubernetes-gateway-rbac.yml # When using traefik - - gateway-class.yaml - - certificate.yaml -