Skip to content

Commit

Permalink
update vpc dns env value
Browse files Browse the repository at this point in the history
  • Loading branch information
hongzhen-ma committed May 17, 2023
1 parent 5d8b106 commit 1346b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/vpc_dns.go
Expand Up @@ -444,7 +444,7 @@ func setCoreDnsEnv(dp *v1.Deployment) {
func setVpcDnsRoute(dp *v1.Deployment, subnetGw string) {
var serviceHost string
if len(k8sServiceHost) == 0 {
serviceHost = "${KUBERNETES_SERVICE_HOST}"
serviceHost = os.Getenv("KUBERNETES_SERVICE_HOST")
} else {
serviceHost = k8sServiceHost
}
Expand Down

0 comments on commit 1346b0e

Please sign in to comment.