build: minor upgrades/refactoring to support full CRDs #14048
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
This was split off from #14044 to make it easier to review. This makes a few minor improvements to the build to support those changes.
Modifications
argo-workflows/.github/workflows/ci-build.yaml
Line 263 in ef41f83
make install
to use server-side apply, which is meant to replace client-side apply and isn't affected by size limitations for the CRDs. Sincekubectl apply --server-side
isn't compatible withkubectl apply --prune
, I had to switch to apply sets, which is intended to replace allow list pruning, and seems to work just as well.manifests/
to use Kustomize Components so that we can share code with the the manifests undertest/e2e/manifests
without duplication. See test: deduplicate test manifests and fix "stress" profile #14001 for more details on this approach.Verification
Built devcontainer locally and ran tests