Skip to content

Commit 1d03851

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 67df5bc commit 1d03851

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
@@ -365,7 +365,7 @@ manager:
365365
# - name: CUSTOM_PAGE_FOOTER_COLOR
366366
# value: "#FFFFFF"
367367
svc:
368-
type: NodePort # should be set to - ClusterIP
368+
type: ClusterIP
369369
loadBalancerIP:
370370
annotations:
371371
{}
@@ -482,7 +482,7 @@ cve:
482482
protocol: https
483483
secretName:
484484
svc:
485-
type: NodePort # should be set to - ClusterIP
485+
type: ClusterIP
486486
loadBalancerIP:
487487
annotations:
488488
{}

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)