apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - namespace.yaml - daemonset.yaml # The collector script and the post-filter ship as files (not inline YAML) so # they stay readable and lintable; kustomize rewrites the DS volume to the # hashed name, so a script change rolls the DaemonSet. configMapGenerator: - name: hubble-flow-collector-scripts namespace: netsec files: - collect.sh - filter.awk generatorOptions: disableNameSuffixHash: false