Skip to content

Commit 2698a7a

Browse files
jentingroboquat
authored andcommitted
Apply suggestions from code review
1 parent 72d9152 commit 2698a7a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

install/installer/pkg/components/image-builder-mk3/tlssecret.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
1+
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
22
// Licensed under the GNU Affero General Public License (AGPL).
33
// See License-AGPL.txt in the project root for license information.
44

install/installer/pkg/components/ws-manager/configmap.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
163163
return nil, err
164164
}
165165

166-
var imageBuilderTls struct {
166+
var imageBuilderTLS struct {
167167
CA string `json:"ca"`
168168
Certificate string `json:"crt"`
169169
PrivateKey string `json:"key"`
@@ -172,7 +172,7 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
172172
// Image builder TLS is only enabled in workspace clusters. This check
173173
// can be removed once image-builder-mk3 has been removed from application clusters
174174
// (https://github.com/gitpod-io/gitpod/issues/7845).
175-
imageBuilderTls = struct {
175+
imageBuilderTLS = struct {
176176
CA string `json:"ca"`
177177
Certificate string `json:"crt"`
178178
PrivateKey string `json:"key"`
@@ -260,7 +260,7 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
260260
} `json:"tls"`
261261
}{
262262
TargetAddr: fmt.Sprintf("%s.%s.svc.cluster.local:%d", common.ImageBuilderComponent, ctx.Namespace, common.ImageBuilderRPCPort),
263-
TLS: imageBuilderTls,
263+
TLS: imageBuilderTLS,
264264
},
265265
PProf: struct {
266266
Addr string `json:"addr"`

0 commit comments

Comments
 (0)