--- # yaml-language-server: $schema=https://raw.githubusercontent.com/helm-unittest/helm-unittest/main/schema/helm-testsuite.json suite: pod enableServiceLinks templates: - common.yaml tests: - it: default should pass asserts: - documentIndex: 0 isKind: of: Deployment - documentIndex: 0 equal: path: spec.template.spec.enableServiceLinks value: false - it: enabled in defaultPodOptions should pass set: defaultPodOptions.enableServiceLinks: true asserts: - documentIndex: 0 isKind: of: Deployment - documentIndex: 0 equal: path: spec.template.spec.enableServiceLinks value: true - it: enabled in pod options should pass set: controllers.main.pod.enableServiceLinks: true asserts: - documentIndex: 0 isKind: of: Deployment - documentIndex: 0 equal: path: spec.template.spec.enableServiceLinks value: true