github.com/GoogleContainerTools/skaffold/v2@v2.13.2/docs-v1/content/en/samples/resource-selector/resource-selector-deny-example.yaml (about)

     1  apiVersion: skaffold/v2beta28
     2  kind: Config
     3  build:
     4    artifacts:
     5      - image: my-image
     6        context: my-image
     7  deploy:
     8    kubectl:
     9      manifests:
    10        - k8-*
    11  resourceSelector:
    12    allow:
    13      - groupKind: "StatefulSet.apps"
    14        image: [".*"]
    15        labels: [".*"]
    16    deny:
    17      - groupKind: "StatefulSet.apps"
    18        labels: [".spec.volumeClaimTemplates.*.metadata.labels"]