fix: Fix SA Secret annotation

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-11-19 14:58:19 +01:00
parent eed8d60822
commit 0a5fb9d3d4
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
13 changed files with 43 additions and 43 deletions

View file

@ -59,6 +59,11 @@ tests:
equal:
path: spec.template.spec.serviceAccountName
value: *ServiceAccountName
- documentIndex: *SecretDocument
equal:
path: metadata.annotations
value:
kubernetes.io/service-account.name: RELEASE-NAME
- it: a serviceAccount and Secret are created with custom name
set:
@ -93,3 +98,8 @@ tests:
equal:
path: spec.template.spec.serviceAccountName
value: *ServiceAccountName
- documentIndex: *SecretDocument
equal:
path: metadata.annotations
value:
kubernetes.io/service-account.name: *ServiceAccountName