Adds a test for apply --prune --prune-whitelist

This commit is contained in:
Zihong Zheng
2016-11-01 14:02:31 -07:00
parent af048bdb62
commit 4523ce8f32
2 changed files with 30 additions and 0 deletions

12
hack/testdata/prune/svc.yaml vendored Normal file
View 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