-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add labels and editing for VPP apps (#25979)
For #24609 --------- Co-authored-by: Jahziel Villasana-Espinoza <[email protected]> Co-authored-by: Jahziel Villasana-Espinoza <[email protected]>
- Loading branch information
1 parent
f0cd0a6
commit d38d180
Showing
31 changed files
with
1,856 additions
and
196 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
21 changes: 21 additions & 0 deletions
21
cmd/fleetctl/testdata/gitops/team_vpp_invalid_app_labels_both.yml
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,21 @@ | ||
name: "${TEST_TEAM_NAME}" | ||
team_settings: | ||
secrets: | ||
- secret: "ABC" | ||
features: | ||
enable_host_users: true | ||
enable_software_inventory: true | ||
host_expiry_settings: | ||
host_expiry_enabled: true | ||
host_expiry_window: 30 | ||
agent_options: | ||
controls: | ||
policies: | ||
queries: | ||
software: | ||
app_store_apps: | ||
- app_store_id: "1" | ||
labels_exclude_any: | ||
- "label 1" | ||
labels_include_any: | ||
- "label 2" |
20 changes: 20 additions & 0 deletions
20
cmd/fleetctl/testdata/gitops/team_vpp_invalid_app_labels_exclude_any.yml
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,20 @@ | ||
name: "${TEST_TEAM_NAME}" | ||
team_settings: | ||
secrets: | ||
- secret: "ABC" | ||
features: | ||
enable_host_users: true | ||
enable_software_inventory: true | ||
host_expiry_settings: | ||
host_expiry_enabled: true | ||
host_expiry_window: 30 | ||
agent_options: | ||
controls: | ||
policies: | ||
queries: | ||
software: | ||
app_store_apps: | ||
- app_store_id: "1" | ||
labels_exclude_any: | ||
- "label non-existent" | ||
- "label 2" |
20 changes: 20 additions & 0 deletions
20
cmd/fleetctl/testdata/gitops/team_vpp_invalid_app_labels_include_any.yml
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,20 @@ | ||
name: "${TEST_TEAM_NAME}" | ||
team_settings: | ||
secrets: | ||
- secret: "ABC" | ||
features: | ||
enable_host_users: true | ||
enable_software_inventory: true | ||
host_expiry_settings: | ||
host_expiry_enabled: true | ||
host_expiry_window: 30 | ||
agent_options: | ||
controls: | ||
policies: | ||
queries: | ||
software: | ||
app_store_apps: | ||
- app_store_id: "1" | ||
labels_include_any: | ||
- "label non-existent" | ||
- "label 2" |
20 changes: 20 additions & 0 deletions
20
cmd/fleetctl/testdata/gitops/team_vpp_valid_app_labels_exclude_any.yml
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,20 @@ | ||
name: "${TEST_TEAM_NAME}" | ||
team_settings: | ||
secrets: | ||
- secret: "ABC" | ||
features: | ||
enable_host_users: true | ||
enable_software_inventory: true | ||
host_expiry_settings: | ||
host_expiry_enabled: true | ||
host_expiry_window: 30 | ||
agent_options: | ||
controls: | ||
policies: | ||
queries: | ||
software: | ||
app_store_apps: | ||
- app_store_id: "1" | ||
labels_exclude_any: | ||
- "label 1" | ||
- "label 2" |
20 changes: 20 additions & 0 deletions
20
cmd/fleetctl/testdata/gitops/team_vpp_valid_app_labels_include_any.yml
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,20 @@ | ||
name: "${TEST_TEAM_NAME}" | ||
team_settings: | ||
secrets: | ||
- secret: "ABC" | ||
features: | ||
enable_host_users: true | ||
enable_software_inventory: true | ||
host_expiry_settings: | ||
host_expiry_enabled: true | ||
host_expiry_window: 30 | ||
agent_options: | ||
controls: | ||
policies: | ||
queries: | ||
software: | ||
app_store_apps: | ||
- app_store_id: "1" | ||
labels_include_any: | ||
- "label 1" | ||
- "label 2" |
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.