From 7acbba961b8f5028289ecab92efdc4147a309b16 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sat, 11 Dec 2021 11:27:52 +0700 Subject: [PATCH] feat(platform): upgrade Knative and replace Linkerd with Kourier --- platform/knative/kustomization.yaml | 8 ++++---- platform/knative/serving.yaml | 7 +++++++ platform/linkerd/Chart.yaml | 7 ------- 3 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 platform/linkerd/Chart.yaml diff --git a/platform/knative/kustomization.yaml b/platform/knative/kustomization.yaml index 6e8bd0db..49d786a3 100644 --- a/platform/knative/kustomization.yaml +++ b/platform/knative/kustomization.yaml @@ -1,7 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -# resources: -# - https://github.com/knative/operator/releases/download/v0.25.0/operator.yaml -# - serving.yaml -# - eventing.yaml +resources: +- https://github.com/knative/operator/releases/download/knative-v1.0.0/operator.yaml +- serving.yaml +- eventing.yaml diff --git a/platform/knative/serving.yaml b/platform/knative/serving.yaml index cbd1f92e..f69df3ce 100644 --- a/platform/knative/serving.yaml +++ b/platform/knative/serving.yaml @@ -2,3 +2,10 @@ apiVersion: operator.knative.dev/v1alpha1 kind: KnativeServing metadata: name: knative-serving +spec: + ingress: + kourier: + enabled: true + config: + network: + ingress.class: "kourier.ingress.networking.knative.dev" diff --git a/platform/linkerd/Chart.yaml b/platform/linkerd/Chart.yaml deleted file mode 100644 index d40ff490..00000000 --- a/platform/linkerd/Chart.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: v2 -name: linkerd -version: 0.0.0 -dependencies: -- name: linkerd2 - version: 2.11.1 - repository: https://helm.linkerd.io/stable