...

Text file src/edge-infra.dev/test/f2/examples/embed/kustomization/container/deletenamespace.yaml

Documentation: edge-infra.dev/test/f2/examples/embed/kustomization/container

     1# Tests should generally avoid creating hardcoded namespaces, and instead use
     2# the randomly generated test specific namespace
     3# (https://godoc.edge-infra.dev/pkg/edge-infra.dev/test/f2/x/ktest/#K8s.Namespace).
     4# Use a patchesStrategicMerge patch such as this one in a test specific
     5# kustomization to delete any hardcoded namespaces from the built kustomization.
     6$patch: delete
     7apiVersion: v1
     8kind: Namespace
     9metadata:
    10  name: myNamespace

View as plain text