test: fix tests

This commit is contained in:
Michael Kriese 2023-12-06 11:54:17 +01:00
parent 4b35bcb402
commit 206aba2ba2
No known key found for this signature in database
GPG key ID: B83F553A0724D44E
5 changed files with 14 additions and 14 deletions

View file

@ -18,7 +18,7 @@ tests:
- containsDocument:
kind: ServiceAccount
apiVersion: v1
name: gitea-unittests
name: gitea-unittests-forgejo
- equal:
path: automountServiceAccountToken
value: false

View file

@ -19,7 +19,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.serviceAccountName
value: gitea-unittests
value: gitea-unittests-forgejo
- it: allows referencing an externally created ServiceAccount to the deployment
template: templates/gitea/deployment.yaml
set: