add --all-namespaces to kubectl annotate,label

This commit is contained in:
David Eads
2021-04-26 11:13:01 -04:00
parent 2b54418d66
commit ad0cff7b61
4 changed files with 27 additions and 0 deletions

12
hack/testdata/CRD/foo-2.yaml vendored Normal file
View File

@@ -0,0 +1,12 @@
kind: Foo
apiVersion: company.com/v1
metadata:
name: second-instance
namespace: default
labels:
pruneGroup: "true"
someField: field1
otherField: field2
nestedField:
someSubfield: subfield1
otherSubfield: subfield2