Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions opensearch-operator/pkg/builders/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ func NewHeadlessServiceForNodePool(cr *opsterv1.OpenSearchCluster, nodePool *ops
TargetPort: intstr.IntOrString{
IntVal: cr.Spec.General.HttpPort,
},
AppProtocol: pointer.String("https"),
},
{
Name: "transport",
Expand Down Expand Up @@ -659,6 +660,7 @@ func NewServiceForCR(cr *opsterv1.OpenSearchCluster) *corev1.Service {
TargetPort: intstr.IntOrString{
IntVal: cr.Spec.General.HttpPort,
},
AppProtocol: pointer.String("https"),
},
{
Name: "transport",
Expand Down Expand Up @@ -748,6 +750,7 @@ func NewNodePortService(cr *opsterv1.OpenSearchCluster) *corev1.Service {
TargetPort: intstr.IntOrString{
IntVal: cr.Spec.General.HttpPort,
},
AppProtocol: pointer.String("https"),
},
},
Selector: labels,
Expand Down