We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a262b0f commit 9cc3c3aCopy full SHA for 9cc3c3a
pkg/kapp/config/default.go
@@ -67,6 +67,14 @@ rebaseRules:
67
resourceMatchers:
68
- apiVersionKindMatcher: {apiVersion: v1, kind: Namespace}
69
70
+# Kubernetes adds a label to namespaces
71
+- paths:
72
+ - [metadata, annotations, kubernetes.io/metadata.name]
73
+ type: copy
74
+ sources: [new, existing]
75
+ resourceMatchers:
76
+ - apiVersionKindMatcher: {apiVersion: v1, kind: Namespace}
77
+
78
# PVC
79
- paths:
80
- [metadata, annotations, pv.kubernetes.io/bind-completed]
0 commit comments