-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Unit test ListApps can now discover plain K8s manifests (#8949)
Signed-off-by: Ashin Sabu <[email protected]>
- Loading branch information
1 parent
ba8d3d8
commit 404f5a2
Showing
4 changed files
with
33 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: ConfigManagementPlugin | ||
metadata: | ||
name: cmp-plugin | ||
spec: | ||
version: v1.0 | ||
init: | ||
command: [env] | ||
generate: | ||
command: [sh, -c, 'kustomize build'] | ||
discover: | ||
find: | ||
glob: "**/kustomization.yaml" | ||
parameters: | ||
static: | ||
- name: string-param | ||
string: value | ||
- name: array-param | ||
collectionType: array | ||
array: | ||
- value1 | ||
- value2 | ||
- name: map-param | ||
collectionType: map | ||
map: | ||
key: value | ||
key2: value2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
kind: Deployment |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
kind: Service |