Skip to content

Commit cfd650c

Browse files
authored
Merge pull request #1456 from splunk/bug/CSPL_3518_default_servicetype_overwritten
CSPL-3518 Service Type default does not get overwritten if not set to ClusterIP
2 parents 380467d + e60b2be commit cfd650c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/splunk/enterprise/configuration.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,6 @@ func setServiceTemplateDefaults(spec *enterpriseApi.Spec) {
326326
}
327327
}
328328
}
329-
330-
if spec.ServiceTemplate.Spec.Type == "" {
331-
spec.ServiceTemplate.Spec.Type = corev1.ServiceTypeClusterIP
332-
}
333329
}
334330

335331
// validateCommonSplunkSpec checks validity and makes default updates to a CommonSplunkSpec, and returns error if something is wrong.

0 commit comments

Comments
 (0)