From 92177b9b4e88a06e3d4a556b2f4bc449bdf8f6a6 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 31 Jan 2022 02:16:45 +0100
Subject: [PATCH] feat(calico): Enable calico API server

---
 infrastructure/calico/README.md             | 2 +-
 infrastructure/calico/calico-apiserver.yaml | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 infrastructure/calico/calico-apiserver.yaml

diff --git a/infrastructure/calico/README.md b/infrastructure/calico/README.md
index 0a6ce7620..acd3d9bd0 100644
--- a/infrastructure/calico/README.md
+++ b/infrastructure/calico/README.md
@@ -8,7 +8,7 @@ This component provides general networking to the cluster. The overlay network i
 Nice to knows
 ---
 
-- The operator provides its own set of CRDs, examples from the docs, won't work by default. Operator uses `crd.projectcalico.org/v1` while calico itself uses `projectcalico.org/v3`
+- <del>The operator provides its own set of CRDs, examples from the docs, won't work by default. Operator uses `crd.projectcalico.org/v1` while calico itself uses `projectcalico.org/v3`</del> You have to install the [calico API server](https://projectcalico.docs.tigera.io/maintenance/install-apiserver) in order to use the correct CRD versions. 
 
 Links
 ---
diff --git a/infrastructure/calico/calico-apiserver.yaml b/infrastructure/calico/calico-apiserver.yaml
new file mode 100644
index 000000000..cd9898dea
--- /dev/null
+++ b/infrastructure/calico/calico-apiserver.yaml
@@ -0,0 +1,6 @@
+apiVersion: operator.tigera.io/v1
+kind: APIServer
+metadata:
+  name: default
+spec: {}
+
-- 
GitLab