From 1e5bea53e95babff07cf6f37dffafd2da1791c06 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Tue, 17 Aug 2021 01:29:52 +0200 Subject: [PATCH] feat(openshift-image-registry): Remove useless samples This patch intstructs the samples operator to remove all samples from the cluster and not polute the registry or interface with them. As a positive side effect, the complaining about missing redhat pull secrets stop. --- .../okd4/openshift-image-registry/kustomization.yaml | 1 + .../okd4/openshift-image-registry/samples-config.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 clusters/okd4/openshift-image-registry/samples-config.yaml diff --git a/clusters/okd4/openshift-image-registry/kustomization.yaml b/clusters/okd4/openshift-image-registry/kustomization.yaml index 131ca5ac9..b6439fc2c 100644 --- a/clusters/okd4/openshift-image-registry/kustomization.yaml +++ b/clusters/okd4/openshift-image-registry/kustomization.yaml @@ -4,3 +4,4 @@ resources: - s3-credentials.yaml - operator-config.yaml - default-registry-config.yaml +- samples-config.yaml diff --git a/clusters/okd4/openshift-image-registry/samples-config.yaml b/clusters/okd4/openshift-image-registry/samples-config.yaml new file mode 100644 index 000000000..e9c5569d9 --- /dev/null +++ b/clusters/okd4/openshift-image-registry/samples-config.yaml @@ -0,0 +1,10 @@ +apiVersion: samples.operator.openshift.io/v1 +kind: Config +metadata: + name: cluster + annotations: + kustomize.toolkit.fluxcd.io/prune: disabled +spec: + architectures: + - x86_64 + managementState: Removed -- GitLab