From 1a46529d96f1df7cc4a72b3ba69dd7ead53889fa Mon Sep 17 00:00:00 2001 From: Milos Milosavljevic Date: Sun, 17 Nov 2024 16:36:04 +0100 Subject: [PATCH] fix(cert-manager): remove deprecated flag cert-manager deprecated flag Gateway API CRDs Correction --- .gitignore | 3 +++ k8s/infra/controllers/cert-manager/values.yaml | 6 ++++-- .../talos/machine-config/control-plane.yaml.tftpl | 8 ++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5dd1faa..81ed3f9 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,9 @@ override.tf.json *_override.tf *_override.tf.json +**/.DS_Store +**/*.tfplan + *.qcow2 *.raw diff --git a/k8s/infra/controllers/cert-manager/values.yaml b/k8s/infra/controllers/cert-manager/values.yaml index 87835a4..d916cbe 100644 --- a/k8s/infra/controllers/cert-manager/values.yaml +++ b/k8s/infra/controllers/cert-manager/values.yaml @@ -1,5 +1,7 @@ -installCRDs: true - +#installCRDs: true +crds: + enabled: true + keep: true extraArgs: - "--enable-gateway-api" diff --git a/tofu/kubernetes/talos/machine-config/control-plane.yaml.tftpl b/tofu/kubernetes/talos/machine-config/control-plane.yaml.tftpl index 12871e3..539529e 100644 --- a/tofu/kubernetes/talos/machine-config/control-plane.yaml.tftpl +++ b/tofu/kubernetes/talos/machine-config/control-plane.yaml.tftpl @@ -12,6 +12,14 @@ cluster: name: none proxy: disabled: true + #need to install gateway api manifests before cilium deployment. GatewayClass acceptance + extraManifests: + - https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_gatewayclasses.yaml + - https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml + - https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_httproutes.yaml + - https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_referencegrants.yaml + - https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_grpcroutes.yaml + - https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/experimental/gateway.networking.k8s.io_tlsroutes.yaml inlineManifests: - name: cilium-values contents: |