File tree Expand file tree Collapse file tree 3 files changed +46
-0
lines changed
Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
12apiVersion : kapp.k14s.io/v1alpha1
23kind : Config
34
45minimumRequiredVersion : 0.50.0
56
7+ # ! Rebase rules explicitly define how kapp should merge resources during an update.
8+ # ! See more about the resource merge method: https://carvel.dev/kapp/docs/latest/merge-method.
69rebaseRules :
10+
11+ # ! Kubernetes automatically fills in the rules of aggregated ClusterRoles.
12+ # ! We want to keep that configuration between upgrades.
13+ - path : [rules]
14+ type : copy
15+ sources : [existing]
16+ resourceMatchers :
17+ - apiVersionKindMatcher :
18+ apiVersion : rbac.authorization.k8s.io/v1
19+ kind : ClusterRole
20+
21+ # ! If the synchronization of a PackageInstall or App resource has been manually paused.
722- path : [spec, paused]
823 type : copy
924 sources : [new, existing]
1025 resourceMatchers :
1126 - apiVersionKindMatcher : {apiVersion: packaging.carvel.dev/v1alpha1, kind: PackageInstall}
1227 - apiVersionKindMatcher : {apiVersion: kappctrl.k14s.io/v1alpha1, kind: App}
28+
29+ # ! These rules define which fields should be removed before kapp performs a diff against the last applied resource.
30+ diffAgainstLastAppliedFieldExclusionRules :
31+
32+ - path : [metadata, annotations]
33+ type : copy
34+ sources : [existing]
35+ resourceMatchers :
36+ - apiVersionKindMatcher :
37+ apiVersion : rbac.authorization.k8s.io/v1
38+ kind : ClusterRole
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : rbac.authorization.k8s.io/v1
3+ kind : ClusterRole
4+ metadata :
5+ name : deliverable
6+ aggregationRule :
7+ clusterRoleSelectors :
8+ - matchLabels :
9+ apps.kadras.io/aggregate-to-deliverable : " true"
10+ rules : []
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : rbac.authorization.k8s.io/v1
3+ kind : ClusterRole
4+ metadata :
5+ name : workload
6+ aggregationRule :
7+ clusterRoleSelectors :
8+ - matchLabels :
9+ apps.kadras.io/aggregate-to-workload : " true"
10+ rules : []
You can’t perform that action at this time.
0 commit comments