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