-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add compatiblity for "source_namespaces" introduced in ArgoCD v2.5.0 (#…
…212) * add source_namespaces * update pinned k8s.io versions * set: github.com/argoproj/gitops-engine => github.com/argoproj/gitops-engine v0.7.1-0.20220804190909-2bc3fef13e07 * Add reference to issue * Add additional tests, update test environment, update test instructions in README * remove source_namespaces from schemas V0 and V1 * Add "AppNamespace" find to application queries * Prepare an env that can test "application namespaces" feature * Add "application namespaces" acceptance tests * Set argocd_version to 2.5.0 in automated tests * Run "Application" acceptance tests against "test" AppProject * bump go version to 1.19 * Bump go version on release pipeline * Add older versions back into acceptane testing pipeline * separate testdata for pre and post v2.5.0 * make a dedicated "testAccArgoCDProjectSimpleWithSourceNamespaces" test * Fixes to argocd project changes - Mark source_namespaces as Optional - Add feature/version constraint - Add test for project with source namespaces * Revert "separate testdata for pre and post v2.5.0" This reverts commit 0119016. * Revert "Run "Application" acceptance tests against "test" AppProject" This reverts commit 1a011ff. * Revert "Add "application namespaces" acceptance tests" This reverts commit 5858bfa. * Revert changes to `token_resource` * Patch default installation to support deployment of apps to specific namespace * Format application + tests * Add test deploying application to custom namespace * Use composite ID for ArgoCD applications To be able to import existing resources in custom namespaces we need to store the namespace as part of the ID on the ArgoCD application resource. * Format test resource * Fix typo in error message Co-authored-by: Olivier Boukili <[email protected]> * Use `TypeSet ` instead of `List` for project `source_namespaces` * Simplify `applicationSpecSchemaV3` Schema for `application.spec` has not changed. * Ensure test resources are created in correct order Co-authored-by: Brian Fox <[email protected]> Co-authored-by: Olivier Boukili <[email protected]>
- Loading branch information
1 parent
47115ea
commit bf3c417
Showing
20 changed files
with
584 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.