This repository was archived by the owner on Jul 11, 2023. It is now read-only.
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -94,11 +94,11 @@ spec:
94
94
valueFrom :
95
95
fieldRef :
96
96
fieldPath : metadata.name
97
- - name : OSM_ENVOY_IMAGE
97
+ - name : OSM_DEFAULT_ENVOY_IMAGE
98
98
value : " {{ .Values.osm.sidecarImage }}"
99
- - name : OSM_ENVOY_WINDOWS_IMAGE
99
+ - name : OSM_DEFAULT_ENVOY_WINDOWS_IMAGE
100
100
value : " {{ .Values.osm.sidecarWindowsImage }}"
101
- - name : OSM_INIT_CONTAINER_IMAGE
101
+ - name : OSM_DEFAULT_INIT_CONTAINER_IMAGE
102
102
value : ' {{ include "osmSidecarInit.image" . }}'
103
103
{{- if .Values.osm.imagePullSecrets }}
104
104
imagePullSecrets :
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ func (c *client) GetEnvoyLogLevel() string {
127
127
func (c * client ) GetEnvoyImage () string {
128
128
image := c .getMeshConfig ().Spec .Sidecar .EnvoyImage
129
129
if image == "" {
130
- image = os .Getenv ("OSM_ENVOY_IMAGE " )
130
+ image = os .Getenv ("OSM_DEFAULT_ENVOY_IMAGE " )
131
131
}
132
132
return image
133
133
}
@@ -136,7 +136,7 @@ func (c *client) GetEnvoyImage() string {
136
136
func (c * client ) GetEnvoyWindowsImage () string {
137
137
image := c .getMeshConfig ().Spec .Sidecar .EnvoyWindowsImage
138
138
if image == "" {
139
- image = os .Getenv ("OSM_ENVOY_WINDOWS_IMAGE " )
139
+ image = os .Getenv ("OSM_DEFAULT_ENVOY_WINDOWS_IMAGE " )
140
140
}
141
141
return image
142
142
}
@@ -145,7 +145,7 @@ func (c *client) GetEnvoyWindowsImage() string {
145
145
func (c * client ) GetInitContainerImage () string {
146
146
image := c .getMeshConfig ().Spec .Sidecar .InitContainerImage
147
147
if image == "" {
148
- image = os .Getenv ("OSM_INIT_CONTAINER_IMAGE " )
148
+ image = os .Getenv ("OSM_DEFAULT_INIT_CONTAINER_IMAGE " )
149
149
}
150
150
return image
151
151
}
You can’t perform that action at this time.
0 commit comments