From 7e7c0353aef69c864130261bd165475eaf26f496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Mon, 10 Oct 2022 16:22:34 +0200 Subject: [PATCH] initial commit (gitops) --- infrastructure/3scale.yaml | 13 +++++++++++++ infrastructure/microcks.yaml | 36 ++++++++++++++++++++++++++++++++++++ infrastructure/sso.yaml | 36 ++++++++++++++++++++++++++++++++++++ infrastructure/tekton.yaml | 12 ++++++++++++ 4 files changed, 97 insertions(+) create mode 100644 infrastructure/3scale.yaml create mode 100644 infrastructure/microcks.yaml create mode 100644 infrastructure/sso.yaml create mode 100644 infrastructure/tekton.yaml diff --git a/infrastructure/3scale.yaml b/infrastructure/3scale.yaml new file mode 100644 index 0000000..03ccda4 --- /dev/null +++ b/infrastructure/3scale.yaml @@ -0,0 +1,13 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + annotations: + argocd.argoproj.io/sync-wave: "10" + name: 3scale-operator + namespace: openshift-operators +spec: + channel: threescale-2.12 + name: 3scale-operator + source: redhat-operators + sourceNamespace: openshift-marketplace +--- diff --git a/infrastructure/microcks.yaml b/infrastructure/microcks.yaml new file mode 100644 index 0000000..e39a858 --- /dev/null +++ b/infrastructure/microcks.yaml @@ -0,0 +1,36 @@ +apiVersion: project.openshift.io/v1 +kind: Project +metadata: + annotations: + argocd.argoproj.io/sync-wave: "0" + openshift.io/display-name: "Microcks" + labels: + kubernetes.io/metadata.name: microcks + name: microcks +spec: + finalizers: + - kubernetes +--- +apiVersion: operators.coreos.com/v1 +kind: OperatorGroup +metadata: + annotations: + argocd.argoproj.io/sync-wave: "10" + name: microcks + namespace: microcks +spec: + targetNamespaces: + - microcks +--- +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + annotations: + argocd.argoproj.io/sync-wave: "10" + name: microcks + namespace: microcks +spec: + channel: stable + name: microcks + source: community-operators + sourceNamespace: openshift-marketplace diff --git a/infrastructure/sso.yaml b/infrastructure/sso.yaml new file mode 100644 index 0000000..6809205 --- /dev/null +++ b/infrastructure/sso.yaml @@ -0,0 +1,36 @@ +apiVersion: project.openshift.io/v1 +kind: Project +metadata: + annotations: + argocd.argoproj.io/sync-wave: "0" + openshift.io/display-name: "Single Sign On" + labels: + kubernetes.io/metadata.name: sso + name: sso +spec: + finalizers: + - kubernetes +--- +apiVersion: operators.coreos.com/v1 +kind: OperatorGroup +metadata: + annotations: + argocd.argoproj.io/sync-wave: "10" + name: sso + namespace: sso +spec: + targetNamespaces: + - sso +--- +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + annotations: + argocd.argoproj.io/sync-wave: "10" + name: rhsso-operator + namespace: sso +spec: + channel: stable + name: rhsso-operator + source: redhat-operators + sourceNamespace: openshift-marketplace diff --git a/infrastructure/tekton.yaml b/infrastructure/tekton.yaml new file mode 100644 index 0000000..4803f10 --- /dev/null +++ b/infrastructure/tekton.yaml @@ -0,0 +1,12 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + annotations: + argocd.argoproj.io/sync-wave: "10" + name: openshift-pipelines-operator-rh + namespace: openshift-operators +spec: + channel: stable + name: openshift-pipelines-operator-rh + source: redhat-operators + sourceNamespace: openshift-marketplace