From 0ed5833978c704de27d4955651863ca1b1cfb848 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sat, 14 Aug 2021 00:19:26 +0200
Subject: [PATCH] feat(cert-manager): Add intial operator deployment

---
 infrastructure/cert-manager/kustomization.yaml |  5 +++++
 infrastructure/cert-manager/subscription.yaml  | 10 ++++++++++
 infrastructure/kustomization.yaml              |  1 +
 3 files changed, 16 insertions(+)
 create mode 100644 infrastructure/cert-manager/kustomization.yaml
 create mode 100644 infrastructure/cert-manager/subscription.yaml

diff --git a/infrastructure/cert-manager/kustomization.yaml b/infrastructure/cert-manager/kustomization.yaml
new file mode 100644
index 000000000..5d1b88e8a
--- /dev/null
+++ b/infrastructure/cert-manager/kustomization.yaml
@@ -0,0 +1,5 @@
+apiVersion: kustomize.config.k8s.io/v1beta1
+kind: Kustomization
+namespace: openshift-operators
+resources:
+  - subscription.yaml
diff --git a/infrastructure/cert-manager/subscription.yaml b/infrastructure/cert-manager/subscription.yaml
new file mode 100644
index 000000000..6244334b0
--- /dev/null
+++ b/infrastructure/cert-manager/subscription.yaml
@@ -0,0 +1,10 @@
+apiVersion: operators.coreos.com/v1alpha1
+kind: Subscription
+metadata:
+  name: cert-manager
+  namespace: openshift-operators
+spec:
+  channel: stable
+  name: cert-manager
+  source: community-operators
+  sourceNamespace: openshift-marketplace
diff --git a/infrastructure/kustomization.yaml b/infrastructure/kustomization.yaml
index 8f98cb905..e2053b2f3 100644
--- a/infrastructure/kustomization.yaml
+++ b/infrastructure/kustomization.yaml
@@ -6,3 +6,4 @@ resources:
   - postgres
   - resource-locker
   - openshift-monitoring
+  - cert-manager
-- 
GitLab