Skip to content

Commit 815029c

Browse files
Merge pull request #610 from jmprusi/jmprusi/microshift-ignore-removed-files
OPRUN-3063: Microshift manifests: Ignore "*.removed.yaml" files in kustomization.yaml
2 parents 639fc12 + a8a456d commit 815029c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

microshift-manifests/kustomization.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ resources:
2121
- 0000_50_olm_07-olm-operator.deployment.yaml
2222
- 0000_50_olm_08-catalog-operator.deployment.yaml
2323
- 0000_50_olm_09-aggregated.clusterrole.yaml
24-
- 0000_50_olm_11-olm-operators.configmap.removed.yaml
25-
- 0000_50_olm_12-olm-operators.catalogsource.removed.yaml
2624
- 0000_50_olm_13-operatorgroup-default.yaml
27-
- 0000_50_olm_14-packageserver.subscription.removed.yaml
2825
- 0000_50_olm_15-csv-viewer.rbac.yaml
2926
- 0000_50_olm_99-operatorstatus.yaml
3027
- 0000_90_olm_00-service-monitor.yaml

scripts/generate_crds_manifests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ microshift_manifests_files=$(find "${ROOT_DIR}/microshift-manifests" -type f -na
520520
# Let's sort the files so that we can have a deterministic order
521521
microshift_manifests_files=$(echo "${microshift_manifests_files}" | sort)
522522
# files to ignore, substring match.
523-
files_to_ignore=("ibm-cloud-managed.yaml" "kustomization.yaml" "psm-operator")
523+
files_to_ignore=("ibm-cloud-managed.yaml" "kustomization.yaml" "psm-operator" "removed")
524524

525525
# Add all the manifests files to the kustomization file while ignoring the files in the files_to_ignore list
526526
for file in ${microshift_manifests_files}; do

0 commit comments

Comments
 (0)