From be932031c91a95a0354f7cbf08b557ed47e946fe Mon Sep 17 00:00:00 2001 From: Tim Stasse Date: Wed, 11 Feb 2026 20:20:11 +1100 Subject: [PATCH 1/2] feat: add crossplane-system --- crossplane-system/base/kustomization.yaml | 6 ++++++ crossplane-system/base/namespace.yaml | 6 ++++++ crossplane-system/base/role-binding.yaml | 12 ++++++++++++ crossplane-system/overlays/stable/kustomization.yaml | 11 +++++++++++ 4 files changed, 35 insertions(+) create mode 100644 crossplane-system/base/kustomization.yaml create mode 100644 crossplane-system/base/namespace.yaml create mode 100644 crossplane-system/base/role-binding.yaml create mode 100644 crossplane-system/overlays/stable/kustomization.yaml diff --git a/crossplane-system/base/kustomization.yaml b/crossplane-system/base/kustomization.yaml new file mode 100644 index 00000000..c2a03aa5 --- /dev/null +++ b/crossplane-system/base/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - namespace.yaml + - role-binding.yaml diff --git a/crossplane-system/base/namespace.yaml b/crossplane-system/base/namespace.yaml new file mode 100644 index 00000000..b46b7293 --- /dev/null +++ b/crossplane-system/base/namespace.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: crossplane-system + labels: + openshift.io/cluster-monitoring: "true" diff --git a/crossplane-system/base/role-binding.yaml b/crossplane-system/base/role-binding.yaml new file mode 100644 index 00000000..66a6d2f3 --- /dev/null +++ b/crossplane-system/base/role-binding.yaml @@ -0,0 +1,12 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: nonroot-v2-scc +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: system:openshift:scc:nonroot-v2 +subjects: + - kind: Group + apiGroup: rbac.authorization.k8s.io + name: system:serviceaccounts:crossplane-system diff --git a/crossplane-system/overlays/stable/kustomization.yaml b/crossplane-system/overlays/stable/kustomization.yaml new file mode 100644 index 00000000..307c6884 --- /dev/null +++ b/crossplane-system/overlays/stable/kustomization.yaml @@ -0,0 +1,11 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - ../../base + +helmCharts: + - name: crossplane + releaseName: crossplane + repo: https://charts.crossplane.io/stable + namespace: crossplane-system From 48f54642c5e24fc137e2c5220c6675543d0b7528 Mon Sep 17 00:00:00 2001 From: Tim Stasse Date: Fri, 20 Feb 2026 19:12:00 +1100 Subject: [PATCH 2/2] docs: add readme for crossplane-system --- crossplane-system/README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 crossplane-system/README.md diff --git a/crossplane-system/README.md b/crossplane-system/README.md new file mode 100644 index 00000000..afb00d69 --- /dev/null +++ b/crossplane-system/README.md @@ -0,0 +1,32 @@ +# Crossplane System + +Install Crossplane System. + +Do not use the `base` directory directly, as you will need to patch the `channel` based on the version of OpenShift you are using, or the version of the operator you want to use. + +The current _overlays_ available are for the following channels: + +- [stable](operator/overlays/stable) + +## Usage + +If you have cloned the `gitops-catalog` repository, you can install Crossplane System based on the overlay of your choice by running from the root (`gitops-catalog`) directory. + +``` +oc apply -k crossplane-system/operator/overlays/ +``` + +Or, without cloning: + +``` +oc apply -k https://github.com/redhat-cop/gitops-catalog/crossplane-system/operator/overlays/ +``` + +As part of a different overlay in your own GitOps repo: + +``` +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - https://github.com/redhat-cop/gitops-catalog/crossplane-system/operator/overlays/?ref=main +```