Skip to content

Commit

Permalink
fix: NVSHAS-8383 ClusterIP as the default
Browse files Browse the repository at this point in the history
NodePort is for evaluation only and not secure.  It should not be used
as the default option.
  • Loading branch information
holyspectral committed Jan 17, 2025
1 parent 82e3572 commit da2ec82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ manager:
# - name: CUSTOM_PAGE_FOOTER_COLOR
# value: "#FFFFFF"
svc:
type: NodePort # should be set to - ClusterIP
type: ClusterIP
nodePort:
loadBalancerIP:
annotations:
Expand Down Expand Up @@ -484,7 +484,7 @@ cve:
protocol: https
secretName:
svc:
type: NodePort # should be set to - ClusterIP
type: ClusterIP
loadBalancerIP:
annotations:
{}
Expand Down
4 changes: 2 additions & 2 deletions test/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func TestManagerService(t *testing.T) {
var svc corev1.Service
helm.UnmarshalK8SYaml(t, outs[0], &svc)

checkManagerService(t, svc, "NodePort")
checkManagerService(t, svc, "ClusterIP")
}

func TestManagerServiceLB(t *testing.T) {
Expand Down Expand Up @@ -384,4 +384,4 @@ func TestFedManagedServiceLBIP(t *testing.T) {
}

checkControllerServiceFedManaged(t, svc, svcType)
}
}

0 comments on commit da2ec82

Please sign in to comment.