Skip to content

Commit c07ae07

Browse files
committed
fix: NVSHAS-8383 ClusterIP as the default
NodePort is for evaluation only and not secure. It should not be used as the default option.
1 parent 21ff065 commit c07ae07

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

charts/core/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ manager:
366366
# - name: CUSTOM_PAGE_FOOTER_COLOR
367367
# value: "#FFFFFF"
368368
svc:
369-
type: NodePort # should be set to - ClusterIP
369+
type: ClusterIP
370370
nodePort:
371371
loadBalancerIP:
372372
annotations:
@@ -484,7 +484,7 @@ cve:
484484
protocol: https
485485
secretName:
486486
svc:
487-
type: NodePort # should be set to - ClusterIP
487+
type: ClusterIP
488488
loadBalancerIP:
489489
annotations:
490490
{}

test/service_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func TestManagerService(t *testing.T) {
272272
var svc corev1.Service
273273
helm.UnmarshalK8SYaml(t, outs[0], &svc)
274274

275-
checkManagerService(t, svc, "NodePort")
275+
checkManagerService(t, svc, "ClusterIP")
276276
}
277277

278278
func TestManagerServiceLB(t *testing.T) {
@@ -384,4 +384,4 @@ func TestFedManagedServiceLBIP(t *testing.T) {
384384
}
385385

386386
checkControllerServiceFedManaged(t, svc, svcType)
387-
}
387+
}

0 commit comments

Comments
 (0)