File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ func applyComponentsManifests(r workflow.RunData) error {
95
95
templatedMapping ["KUBE_PROXY_KUBECONFIG" ] = string (secret .Data [constants .KubeConfig ])
96
96
imageRepository , _ := util .GetImageMessage ()
97
97
templatedMapping ["ImageRepository" ] = imageRepository
98
+ for k , v := range data .PluginOptions () {
99
+ templatedMapping [k ] = v
100
+ }
98
101
keepalivedEnable := data .VipMap () != nil && data .VipMap ()[constants .VcVipStatusKey ] != ""
99
102
if keepalivedEnable {
100
103
templatedMapping ["Vip" ] = data .VipMap ()[constants .VcVipStatusKey ]
@@ -103,9 +106,7 @@ func applyComponentsManifests(r workflow.RunData) error {
103
106
if nodeCount < constants .VipKeepAlivedReplicas {
104
107
keepalivedReplicas = int (nodeCount )
105
108
}
106
- for k , v := range data .PluginOptions () {
107
- templatedMapping [k ] = v
108
- }
109
+
109
110
templatedMapping ["KeepalivedReplicas" ] = keepalivedReplicas
110
111
}
111
112
You can’t perform that action at this time.
0 commit comments