Skip to content

Commit 38a39d0

Browse files
authored
Add new CNIConfig values rewrite (#1051)
Add the following new CNIConfig values rewrite: - CNIConfig.DaemonSetLabels - CNIConfig.Env - CNIConfig.PodLabels Missing labels lead to the update-deps workflow to fail. Signed-off-by: Maxim Babushkin <[email protected]>
1 parent f4b833d commit 38a39d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hack/api_transformer/transform.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ inputFiles:
8686
replaceFieldTypes:
8787
"*.Tag": "string"
8888
CNIConfig.Affinity: "*k8sv1.Affinity"
89+
CNIConfig.DaemonSetLabels: "map[string]string"
90+
CNIConfig.Env: "map[string]string"
8991
CNIConfig.PodAnnotations: "map[string]string"
92+
CNIConfig.PodLabels: "map[string]string"
9093
CNIConfig.SeccompProfile: "*k8sv1.SeccompProfile"
9194
CNIConfig.PullPolicy: "*k8sv1.PullPolicy"
9295
Values.GatewayClasses: "json.RawMessage"

0 commit comments

Comments
 (0)