Skip to content

Commit

Permalink
Merge pull request #1091 from spencerhance/l7-ilb-ga
Browse files Browse the repository at this point in the history
Update L7-ILB API to GA
  • Loading branch information
k8s-ci-robot authored May 5, 2020
2 parents 0425dad + 5015eb8 commit 4f4e36c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions pkg/healthchecks/healthchecks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,15 +412,15 @@ func TestVersion(t *testing.T) {
version: meta.VersionBeta,
},
{
desc: "Http2 Health Check with ILB and NEG",
desc: "Http Health Check with ILB and NEG",
hc: &HealthCheck{
HealthCheck: computealpha.HealthCheck{
Type: string(annotations.ProtocolHTTP),
},
forILB: true,
forNEG: true,
},
version: meta.VersionBeta,
version: meta.VersionGA,
},
}
for _, tc := range testCases {
Expand Down
11 changes: 2 additions & 9 deletions pkg/loadbalancers/features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,8 @@ var (
}

// All of these fields must be filled in to allow L7ILBVersions() to work
l7IlbVersions = ResourceVersions{
UrlMap: meta.VersionBeta,
ForwardingRule: meta.VersionBeta,
TargetHttpProxy: meta.VersionBeta,
TargetHttpsProxy: meta.VersionBeta,
SslCertificate: meta.VersionBeta,
BackendService: meta.VersionBeta,
HealthCheck: meta.VersionBeta,
}
// TODO(shance) Remove this entirely
l7IlbVersions = *NewResourceVersions()
)

func NewResourceVersions() *ResourceVersions {
Expand Down

0 comments on commit 4f4e36c

Please sign in to comment.