suite: test image pull secrets templates: - celery/deployment-celery.yaml - engine/deployment.yaml - engine/job-migrate.yaml release: name: oncall tests: - it: imagePullSecrets=[] -> should not create spec.template.spec.imagePullSecrets set: imagePullSecrets: [] asserts: - notExists: path: spec.template.spec.imagePullSecrets - it: imagePullSecrets -> should use custom imagePullSecrets set: imagePullSecrets: - name: regcred asserts: - contains: path: spec.template.spec.imagePullSecrets content: name: regcred