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'