Skip to content

Commit 6322c2b

Browse files
tmshortci-robot
authored andcommitted
UPSTREAM: <carry>: Remove kustomize manifests from images and repo
Now that helm manifests are being used to dynamically generate the manifests, the pre-generated manifests are no longer needed. So, we can remove them from the repo and the images. However, because we still want to verify the manifests are "good", we are still creating a "single-file" version of the manifests for verification purposes, and to allow us to see what changes are happening to the manifests (from upstream and/or downstream sources). Signed-off-by: Todd Short <[email protected]>
1 parent 647de0b commit 6322c2b

File tree

168 files changed

+14
-5979
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+14
-5979
lines changed

openshift/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ verify: ## Run downstream-specific verify
2626
.PHONY: manifests
2727
manifests: $(YQ) $(HELM)
2828
$(DIR)/helm/generate-manifests.sh
29-
# Make a single file of each manifest for comparison purposes
30-
cat $(DIR)/operator-controller/manifests/*.yml > $(DIR)/operator-controller/manifests.yaml
31-
cat $(DIR)/operator-controller/manifests-experimental/*.yml > $(DIR)/operator-controller/manifests-experimental.yaml
32-
cat $(DIR)/catalogd/manifests/*.yml > $(DIR)/catalogd/manifests.yaml
33-
cat $(DIR)/catalogd/manifests-experimental/*.yml > $(DIR)/catalogd/manifests-experimental.yaml
3429

3530
.PHONY: verify-manifests
3631
verify-manifests: manifests

openshift/catalogd.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ FROM registry.ci.openshift.org/ocp/4.21:base-rhel9
1010
USER 1001
1111
COPY --from=builder /build/bin/catalogd /catalogd
1212
COPY openshift/catalogd/cp-manifests /cp-manifests
13-
COPY openshift/catalogd/manifests /openshift/manifests
14-
COPY openshift/catalogd/manifests-experimental /openshift/manifests-experimental
1513
COPY helm/olmv1 /openshift/helm/olmv1
1614
COPY openshift/helm/experimental.yaml /openshift/helm
1715
COPY openshift/helm/catalogd.yaml /openshift/helm/openshift.yaml

openshift/catalogd/cp-manifests

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@ fi
77

88
DEST=${1}
99

10-
if [ -d /openshift/manifests ]; then
11-
mkdir -p "${DEST}/standard/catalogd"
12-
cp -a /openshift/manifests "${DEST}/standard/catalogd"
13-
fi
14-
15-
if [ -d /openshift/manifests-experimental ]; then
16-
mkdir -p "${DEST}/experimental/catalogd"
17-
cp -a /openshift/manifests-experimental "${DEST}/experimental/catalogd"
18-
fi
19-
2010
if [ -d /openshift/helm ]; then
2111
mkdir -p "${DEST}/helm/catalogd"
2212
cp -a /openshift/helm/* "${DEST}/helm/catalogd"

openshift/catalogd/generate-manifests.sh

Lines changed: 0 additions & 141 deletions
This file was deleted.

openshift/catalogd/kustomize/overlays/openshift-experimental/kustomization.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

openshift/catalogd/kustomize/overlays/openshift-experimental/rbac/kustomization.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

openshift/catalogd/kustomize/overlays/openshift/catalogs/kustomization.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

openshift/catalogd/kustomize/overlays/openshift/catalogs/openshift-certified-operators.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

openshift/catalogd/kustomize/overlays/openshift/catalogs/openshift-community-operators.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

openshift/catalogd/kustomize/overlays/openshift/catalogs/openshift-redhat-marketplace.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)