This PR introduces the ability to configure a custom cluster domain for the Splunk Operator through the Helm chart. Previously, configuring a custom cluster domain was only supported through manifest installation. This enhancement aligns the Helm chart with the manifest-based configuration, allowing users to specify a custom domain directly in the Helm chart's values.yaml file.
Changes Made:
Helm Values File:
Added a new entry clusterDomain to the values.yaml file.
# values.yaml
clusterDomain: "mydomain.com"
Helm Chart Templates:
Updated the deployment template to inject the CLUSTER_DOMAIN environment variable based on the clusterDomain value from values.yaml.
Description:
This PR introduces the ability to configure a custom cluster domain for the Splunk Operator through the Helm chart. Previously, configuring a custom cluster domain was only supported through manifest installation. This enhancement aligns the Helm chart with the manifest-based configuration, allowing users to specify a custom domain directly in the Helm chart's
values.yaml
file.Changes Made:
Helm Values File:
clusterDomain
to thevalues.yaml
file.Helm Chart Templates:
CLUSTER_DOMAIN
environment variable based on theclusterDomain
value fromvalues.yaml
.Implementation Details:
cluster.local
for FQDN calculations.clusterDomain
value in thevalues.yaml
file.Testing:
CLUSTER_DOMAIN
environment variable is correctly set in the deployment spec when deploying the Splunk Operator using Helm.Related Issues:
Notes: