Adds a test for apply --prune --prune-whitelist
This commit is contained in:
12
hack/testdata/prune/svc.yaml
vendored
Normal file
12
hack/testdata/prune/svc.yaml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: prune-svc
|
||||
labels:
|
||||
prune-group: "true"
|
||||
spec:
|
||||
selector:
|
||||
prune-group-nomatch: "true"
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
Reference in New Issue
Block a user