File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
pkg/operator/csi/csidrivercontrollerservicecontroller Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ const (
3535 snapshotterImageEnvName = "SNAPSHOTTER_IMAGE"
3636 livenessProbeImageEnvName = "LIVENESS_PROBE_IMAGE"
3737 kubeRBACProxyImageEnvName = "KUBE_RBAC_PROXY_IMAGE"
38+ toolsImageEnvName = "TOOLS_IMAGE"
3839
3940 infraConfigName = "cluster"
4041)
@@ -208,6 +209,11 @@ func WithPlaceholdersHook(configInformer configinformers.SharedInformerFactory)
208209 pairs = append (pairs , []string {"${KUBE_RBAC_PROXY_IMAGE}" , kubeRBACProxy }... )
209210 }
210211
212+ tools := os .Getenv (toolsImageEnvName )
213+ if tools != "" {
214+ pairs = append (pairs , []string {"${TOOLS_IMAGE}" , tools }... )
215+ }
216+
211217 // Cluster ID
212218 pairs = append (pairs , []string {"${CLUSTER_ID}" , clusterID }... )
213219
You can’t perform that action at this time.
0 commit comments