--- # yaml-language-server: $schema=https://raw.githubusercontent.com/helm-unittest/helm-unittest/main/schema/helm-testsuite.json suite: secret Pod metadata templates: - common.yaml tests: - it: default metadata should pass set: secrets: secret_1: enabled: true data: test: value 1 secret_2: enabled: true data: test_1: value 1 test_2: value 2 asserts: - documentIndex: &ControllerDoc 0 isKind: of: Deployment - documentIndex: *ControllerDoc equal: path: spec.template.metadata.annotations value: checksum/secrets: 4107837201f46be5279f7accdf3942edabd38f0eb534a61c91d2d7cba7ffc557