From ff96d521b3efcdbf673ab498671dfe550a4de9c8 Mon Sep 17 00:00:00 2001 From: Martin Eggen Date: Wed, 17 Apr 2024 12:21:04 +0200 Subject: [PATCH] Add OpenShift GitOps 1.12 channel --- openshift-gitops-operator/README.md | 1 + .../overlays/gitops-1.12/kustomization.yaml | 14 ++++++++++++++ .../overlays/gitops-1.12/patch-subscription.yaml | 6 ++++++ 3 files changed, 21 insertions(+) create mode 100644 openshift-gitops-operator/operator/overlays/gitops-1.12/kustomization.yaml create mode 100644 openshift-gitops-operator/operator/overlays/gitops-1.12/patch-subscription.yaml diff --git a/openshift-gitops-operator/README.md b/openshift-gitops-operator/README.md index b59ef35c..b33729c5 100644 --- a/openshift-gitops-operator/README.md +++ b/openshift-gitops-operator/README.md @@ -15,6 +15,7 @@ The current *overlays* available are for the following channels: * [gitops-1.9](operator/overlays/gitops-1.9) * [gitops-1.10](operator/overlays/gitops-1.10) * [gitops-1.11](operator/overlays/gitops-1.11) +* [gitops-1.12](operator/overlays/gitops-1.12) * [latest](operator/overlays/latest) * [preview](operator/overlays/preview) diff --git a/openshift-gitops-operator/operator/overlays/gitops-1.12/kustomization.yaml b/openshift-gitops-operator/operator/overlays/gitops-1.12/kustomization.yaml new file mode 100644 index 00000000..c7daae2d --- /dev/null +++ b/openshift-gitops-operator/operator/overlays/gitops-1.12/kustomization.yaml @@ -0,0 +1,14 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - ../../base + +components: + - ../../components/openshift-gitops-operator + +patches: + - target: + kind: Subscription + name: openshift-gitops-operator + path: patch-subscription.yaml diff --git a/openshift-gitops-operator/operator/overlays/gitops-1.12/patch-subscription.yaml b/openshift-gitops-operator/operator/overlays/gitops-1.12/patch-subscription.yaml new file mode 100644 index 00000000..f13a480f --- /dev/null +++ b/openshift-gitops-operator/operator/overlays/gitops-1.12/patch-subscription.yaml @@ -0,0 +1,6 @@ +- op: replace + path: /spec/channel + value: gitops-1.12 +- op: replace + path: /metadata/namespace + value: openshift-gitops-operator