Skip to content

Commit

Permalink
Remove duplicate test and add one for accessKey local only vlaue
Browse files Browse the repository at this point in the history
  • Loading branch information
airadier committed Aug 9, 2023
1 parent 8b5f777 commit 54649d9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions charts/admission-controller/tests/global_overrides_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,22 @@ tests:
value: override_token
template: webhook/secret.yaml

- it: check value of secure_API_TOKEN without local chart override - local value provided
- it: check value of Access Key without local chart override - local value provided
documentIndex: 0
set:
sysdig:
secureAPIToken: standard_token
accessKey: standard_key
url: secure.sysdigcloud.com
features:
kspmAdmissionController: true
k8sAuditDetections: false
clusterName: test-k8s
version: 0.7.3
asserts:
- equal:
path: stringData.SECURE_API_TOKEN
value: standard_token
template: scanner/secret.yaml
- equal:
path: stringData.SECURE_API_TOKEN
value: standard_token
path: data.access_key
value: standard_key
decodeBase64: true
template: webhook/secret.yaml

- it: check value of Access Key without local chart override - global value provided
Expand Down

0 comments on commit 54649d9

Please sign in to comment.