Skip to content

Commit 97a18c0

Browse files
akshaysnguptaasridharan
authored andcommitted
Updating go packages to peg against the latest AG SDK (#114)
We weren't able to use the autoscale configuration with WAF v2 since the ingress controller was using an older version of the go SDK. Moving to the latest go SDK in order to enable these configuration.
1 parent 64d3012 commit 97a18c0

File tree

11,986 files changed

+5540205
-1199258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,986 files changed

+5540205
-1199258
lines changed

cmd/appgw-ingress/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"os"
1212
"time"
1313

14-
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-06-01/network"
14+
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-12-01/network"
1515
"github.com/Azure/go-autorest/autorest"
1616
"github.com/Azure/go-autorest/autorest/azure/auth"
1717
"github.com/golang/glog"
@@ -137,7 +137,7 @@ func getKubeClientConfig() *rest.Config {
137137
}
138138

139139
// use the current context in kubeconfig
140-
config, err := clientcmd.BuildConfigFromFlags(*apiServerHost, *kubeConfigFile)
140+
config, err := clientcmd.BuildConfigFromFlags("", *kubeConfigFile)
141141

142142
if err != nil {
143143
glog.Fatalf("error creating client configuration: %v", err.Error())

dockerfiles/devenv.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM buildpack-deps:xenial
55
RUN apt-get update && apt-get -y install apt-transport-https curl
66

77
# install golang
8-
ENV GO_VERSION 1.10.3
8+
ENV GO_VERSION 1.12
99
RUN wget -q https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz \
1010
&& tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz && rm go${GO_VERSION}.linux-amd64.tar.gz
1111

0 commit comments

Comments
 (0)