Skip to content

Commit 03b5176

Browse files
authored
Update chart and flag. (#246)
Signed-off-by: xuezhaojun <[email protected]>
1 parent 4e2ab3e commit 03b5176

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/addon-manager/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func main() {
8888
config.AgentImageName,
8989
"The name of the addon agent's image")
9090
flag.BoolVar(&enableKubeApiProxy, "enable-kube-api-proxy", true, "Enable proxy to agent kube-apiserver")
91-
flag.BoolVar(&enableServiceProxy, "enable-service-proxy", false, "Enable service proxy")
91+
flag.BoolVar(&enableServiceProxy, "enable-service-proxy", true, "Enable service proxy")
9292
flag.StringVar(&config.DefaultAddonInstallNamespace, "agent-install-namespace", config.DefaultAddonInstallNamespace,
9393
"The default namespace to install the addon agents.")
9494
flag.StringVar(&imagePullPolicy, "image-pull-policy", string(corev1.PullIfNotPresent), "The image pull policy for the addon manager")

pkg/proxyagent/agent/manifests/charts/addon-agent/templates/addon-agent-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ spec:
145145
{{- break -}}
146146
{{- end -}}
147147
{{- end }}
148-
image: {{ .Values.proxyAgentImage }} # build by the cluster-proxy-addon repo
148+
image: {{ .Values.registry }}/{{ .Values.image }}:{{ .Values.tag }}
149149
imagePullPolicy: IfNotPresent
150150
command:
151151
- /cluster-proxy

0 commit comments

Comments
 (0)