File tree Expand file tree Collapse file tree 8 files changed +164
-284
lines changed
charts/cluster-api-runtime-extensions-nutanix
pkg/handlers/lifecycle/cni Expand file tree Collapse file tree 8 files changed +164
-284
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ A Helm chart for cluster-api-runtime-extensions-nutanix
7878| hooks.cni.cilium.crsStrategy.defaultCiliumConfigMap.name | string | ` "cilium" ` | |
7979| hooks.cni.cilium.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | ` true ` | |
8080| hooks.cni.cilium.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | ` "default-cilium-cni-helm-values-template" ` | |
81+ | hooks.cni.multus.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | ` true ` | |
82+ | hooks.cni.multus.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | ` "default-multus-values-template" ` | |
8183| hooks.cosi.controller.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | ` true ` | |
8284| hooks.cosi.controller.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | ` "default-cosi-controller-helm-values-template" ` | |
8385| hooks.csi.aws-ebs.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | ` true ` | |
Original file line number Diff line number Diff line change @@ -80,8 +80,23 @@ daemonConfig:
8080 cniVersion : " 0.3.1"
8181 logLevel : " verbose"
8282 logToStderr : true
83- readinessIndicatorFile : " "
83+ readinessIndicatorFile : " {{ .ReadinessSocketPath }} "
8484 cniConfigDir : " /host/etc/cni/net.d"
8585 multusAutoconfigDir : " /host/etc/cni/net.d"
8686 multusConfigFile : " auto"
8787 socketDir : " /host/run/multus/"
88+
89+ {{- if .ReadinessSocketPath }}
90+ # Volumes for CNI readiness socket
91+ volumes :
92+ - name : {{ .SocketVolumeName }}
93+ hostPath :
94+ path : " {{ .ReadinessSocketPath }}"
95+ type : Socket
96+
97+ # Volume mounts for CNI readiness socket
98+ volumeMounts :
99+ - name : {{ .SocketVolumeName }}
100+ mountPath : " {{ .ReadinessSocketPath }}"
101+ readOnly : true
102+ {{- end }}
Original file line number Diff line number Diff line change 381381 }
382382 }
383383 }
384+ },
385+ "multus" : {
386+ "type" : " object" ,
387+ "properties" : {
388+ "helmAddonStrategy" : {
389+ "type" : " object" ,
390+ "properties" : {
391+ "defaultValueTemplateConfigMap" : {
392+ "type" : " object" ,
393+ "properties" : {
394+ "create" : {
395+ "type" : " boolean"
396+ },
397+ "name" : {
398+ "type" : " string"
399+ }
400+ }
401+ }
402+ }
403+ }
404+ }
384405 }
385406 }
386407 },
You can’t perform that action at this time.
0 commit comments