From 09af6729e1afffba91cd3c9b291aaea016153c30 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Fri, 13 Aug 2021 19:29:40 +0200 Subject: [PATCH] Add resource locker to cluster This patch deploys the resource locker operator, that allows to force changes onto the cluster without the need to always specify the entire object myself. This should help to slightly adjust existing objects instead of forcing gitops on them. --- infrastructure/kustomization.yaml | 1 + infrastructure/resource-locker/kustomization.yaml | 5 +++++ infrastructure/resource-locker/subscription.yaml | 10 ++++++++++ 3 files changed, 16 insertions(+) create mode 100644 infrastructure/resource-locker/kustomization.yaml create mode 100644 infrastructure/resource-locker/subscription.yaml diff --git a/infrastructure/kustomization.yaml b/infrastructure/kustomization.yaml index 610bfb56c..54eb1fde3 100644 --- a/infrastructure/kustomization.yaml +++ b/infrastructure/kustomization.yaml @@ -4,3 +4,4 @@ resources: - sources - rook - postgres + - resource-locker diff --git a/infrastructure/resource-locker/kustomization.yaml b/infrastructure/resource-locker/kustomization.yaml new file mode 100644 index 000000000..31cbef5df --- /dev/null +++ b/infrastructure/resource-locker/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: rook-ceph +resources: + - subscription.yaml diff --git a/infrastructure/resource-locker/subscription.yaml b/infrastructure/resource-locker/subscription.yaml new file mode 100644 index 000000000..9c6ae9598 --- /dev/null +++ b/infrastructure/resource-locker/subscription.yaml @@ -0,0 +1,10 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + name: resource-locker-operator + namespace: resource-locker-operator +spec: + channel: alpha + name: resource-locker-operator + source: community-operators + sourceNamespace: openshift-marketplace -- GitLab