Add teleport agent update

This commit is contained in:
Jonny Ervine
2024-08-15 22:45:43 +08:00
parent c0d65a0afb
commit b76e232ac2
143 changed files with 15355 additions and 676 deletions
@@ -66,6 +66,18 @@ tests:
value: some-other-secret-name
- matchSnapshot: {}
- it: generates a secret when jamfCredentialsSecret.create is true
values:
- ../.lint/jamf-service.yaml
asserts:
- containsDocument:
kind: Secret
apiVersion: v1
name: teleport-jamf-api-credentials
- matchSnapshot: {}
# documentIndex: 0=Secret(joinToken) 1=Secret(jamfSecret)
documentIndex: 1
- it: does not create a secret when joinTokenSecret.create is false
set:
authToken: sample-auth-token-dont-use-this
@@ -76,6 +88,13 @@ tests:
- hasDocuments:
count: 0
- it: does not create a secret when jamfCredentialsSecret.create is false
values:
- ../.lint/jamf-service-existing-secret.yaml
asserts:
- hasDocuments:
count: 1 # only joinToken secret is created
- it: sets Secret labels when specified
values:
- ../.lint/extra-labels.yaml