From 651a4869544b5e7fd7a763ed38cda9411d5e1d05 Mon Sep 17 00:00:00 2001 From: David Igou Date: Mon, 30 Sep 2024 16:19:02 +0000 Subject: [PATCH] Add 2.5 overlays --- .../kustomization.yaml | 24 +++++++++++++++++++ .../patch-channel.yaml | 3 +++ .../overlays/stable-2.5/kustomization.yaml | 17 +++++++++++++ .../overlays/stable-2.5/patch-channel.yaml | 3 +++ 4 files changed, 47 insertions(+) create mode 100644 ansible-automation-platform/operator/overlays/stable-2.5-cluster-scoped/kustomization.yaml create mode 100644 ansible-automation-platform/operator/overlays/stable-2.5-cluster-scoped/patch-channel.yaml create mode 100644 ansible-automation-platform/operator/overlays/stable-2.5/kustomization.yaml create mode 100644 ansible-automation-platform/operator/overlays/stable-2.5/patch-channel.yaml diff --git a/ansible-automation-platform/operator/overlays/stable-2.5-cluster-scoped/kustomization.yaml b/ansible-automation-platform/operator/overlays/stable-2.5-cluster-scoped/kustomization.yaml new file mode 100644 index 00000000..46e7696f --- /dev/null +++ b/ansible-automation-platform/operator/overlays/stable-2.5-cluster-scoped/kustomization.yaml @@ -0,0 +1,24 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: ansible-automation-platform + +resources: + - ../../base + +patches: + - patch: |- + - op: replace + path: /spec/targetNamespaces + value: [] + target: + kind: OperatorGroup + name: ansible-automation-platform-operator + - path: patch-channel.yaml + target: + group: operators.coreos.com + kind: Subscription + name: ansible-automation-platform + namespace: ansible-automation-platform + version: v1alpha1 diff --git a/ansible-automation-platform/operator/overlays/stable-2.5-cluster-scoped/patch-channel.yaml b/ansible-automation-platform/operator/overlays/stable-2.5-cluster-scoped/patch-channel.yaml new file mode 100644 index 00000000..a47ba3ba --- /dev/null +++ b/ansible-automation-platform/operator/overlays/stable-2.5-cluster-scoped/patch-channel.yaml @@ -0,0 +1,3 @@ +- op: replace + path: /spec/channel + value: 'stable-2.5-cluster-scoped' diff --git a/ansible-automation-platform/operator/overlays/stable-2.5/kustomization.yaml b/ansible-automation-platform/operator/overlays/stable-2.5/kustomization.yaml new file mode 100644 index 00000000..b0059fb7 --- /dev/null +++ b/ansible-automation-platform/operator/overlays/stable-2.5/kustomization.yaml @@ -0,0 +1,17 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: ansible-automation-platform + + +resources: + - ../../base +patches: + - path: patch-channel.yaml + target: + group: operators.coreos.com + kind: Subscription + name: ansible-automation-platform + namespace: ansible-automation-platform + version: v1alpha1 diff --git a/ansible-automation-platform/operator/overlays/stable-2.5/patch-channel.yaml b/ansible-automation-platform/operator/overlays/stable-2.5/patch-channel.yaml new file mode 100644 index 00000000..4ba126f2 --- /dev/null +++ b/ansible-automation-platform/operator/overlays/stable-2.5/patch-channel.yaml @@ -0,0 +1,3 @@ +- op: replace + path: /spec/channel + value: 'stable-2.5'