github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/resources/samples/trace-seccomp.yaml (about)

     1  apiVersion: gadget.kinvolk.io/v1alpha1
     2  kind: Trace
     3  metadata:
     4    name: seccomp
     5    namespace: gadget
     6    labels:
     7      team: devops
     8  spec:
     9    node: minikube
    10    gadget: seccomp
    11  
    12    # # Example of filter for manual generation with the
    13    # # gadget.kinvolk.io/operation=generate annotation. This needs a namespace and
    14    # # podname at the exclusion of other fields.
    15    # filter:
    16    #   namespace: default
    17    #   podname: mypod
    18  
    19    # Another example of filter for automatic generation when containers
    20    # terminate. All fields are supported.
    21    filter:
    22      namespace: default
    23  
    24    runMode: Manual
    25    outputMode: ExternalResource
    26    output: gadget/myseccomp