--- # yaml-language-server: $schema=https://json.schemastore.org/kustomization apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./helmrelease.yaml - ./prometheusrule.yaml configMapGenerator: - name: smartctl-exporter-loki-rules files: - smartctl-exporter.yaml=./resources/lokirule.yml options: labels: loki_rule: "true" generatorOptions: disableNameSuffixHash: true