suite: test controller deployment templates: - deployment.yaml tests: - it: should match snapshot of default values asserts: - matchSnapshot: {} - it: should set imagePullPolicy to Always set: image.pullPolicy: Always asserts: - equal: path: spec.template.spec.containers[0].imagePullPolicy value: Always - it: should imagePullPolicy to be default value IfNotPresent asserts: - equal: path: spec.template.spec.containers[0].imagePullPolicy value: IfNotPresent - it: should override securityContext set: podSecurityContext: runAsUser: 2000 securityContext: runAsUser: 3000 asserts: - equal: path: spec.template.spec.securityContext value: runAsUser: 2000 - equal: path: spec.template.spec.containers[0].securityContext value: runAsUser: 3000