From aa485f4bf10af9c163ea52cbf2bb91fd188f084c Mon Sep 17 00:00:00 2001 From: Keerthan Ekbote Date: Mon, 23 Aug 2021 12:16:43 -0400 Subject: [PATCH] Update gloo apis to replace snake case with camel case Signed-off-by: Keerthan Ekbote --- pkg/apis/gloo/gloo/v1/types.go | 6 +++--- test/gloo/install.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/apis/gloo/gloo/v1/types.go b/pkg/apis/gloo/gloo/v1/types.go index e37ba5d55..2ba4d8e12 100644 --- a/pkg/apis/gloo/gloo/v1/types.go +++ b/pkg/apis/gloo/gloo/v1/types.go @@ -29,9 +29,9 @@ type UpstreamSpec struct { } type KubeUpstream struct { - ServiceName string `json:"service_name,omitempty"` - ServiceNamespace string `json:"service_namespace,omitempty"` - ServicePort int32 `json:"service_port,omitempty"` + ServiceName string `json:"serviceName,omitempty"` + ServiceNamespace string `json:"serviceNamespace,omitempty"` + ServicePort int32 `json:"servicePort,omitempty"` Selector map[string]string `json:"selector,omitempty"` } diff --git a/test/gloo/install.sh b/test/gloo/install.sh index bb33c1994..01f6ec5e0 100755 --- a/test/gloo/install.sh +++ b/test/gloo/install.sh @@ -2,7 +2,7 @@ set -o errexit -GLOO_VER="1.6.13" +GLOO_VER="1.8.9" REPO_ROOT=$(git rev-parse --show-toplevel) mkdir -p ${REPO_ROOT}/bin