Skip to content

Commit

Permalink
add default rule for rebacing conversion webhook cabundle
Browse files Browse the repository at this point in the history
  • Loading branch information
cppforlife committed Jun 11, 2020
1 parent 79b859e commit fd22a01
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/kapp/config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ rebaseRules:
- apiVersionKindMatcher: {apiVersion: apiregistration.k8s.io/v1beta1, kind: APIService}
- apiVersionKindMatcher: {apiVersion: apiregistration.k8s.io/v1, kind: APIService}
- path: [spec, conversion, webhookClientConfig, caBundle]
type: copy
sources: [new, existing]
resourceMatchers:
- apiVersionKindMatcher: {apiVersion: apiextensions.k8s.io/v1beta1, kind: CustomResourceDefinition}
- apiVersionKindMatcher: {apiVersion: apiextensions.k8s.io/v1, kind: CustomResourceDefinition}
- path: [spec, nodeName]
type: copy
sources: [new, existing]
Expand Down

0 comments on commit fd22a01

Please sign in to comment.