# yamllint disable rule:document-start rule:line-length rule:trailing-spaces suite: Test pprof profiling templates: - configmap.yaml tests: - it: should build the pprof profiling configuration set: deployAsConfigMap: true ebpf: enabled: false java: enabled: false pprof: enabled: true asserts: - isKind: of: ConfigMap - matchSnapshot: path: data["module.alloy"] - it: should be able to filter by label and annotation set: deployAsConfigMap: true ebpf: enabled: false java: enabled: false pprof: enabled: true labelSelectors: app.kubernetes.io/name: secret-program colors: [blue, green] annotationSelectors: k8s.grafana.com/profile: "true" asserts: - isKind: of: ConfigMap - matchSnapshot: path: data["module.alloy"]