splunk / splunk-operator

Splunk Operator for Kubernetes
Other
210 stars 115 forks source link

Splunk Operator: RBAC/Auth Proxy Service Label Selector Mismatch #1160

Open Astroknut opened 1 year ago

Astroknut commented 1 year ago

Please select the type of request

Bug

Tell us more

Describe the request Request to update the Selector labels used in https://github.com/splunk/splunk-operator/blob/main/helm-chart/splunk-operator/templates/rbac/auth_proxy_service.yaml#L15 to use splunk-operator.selectorLabels. The current use of splunk-operator.labels includes multiple labels not present on the deployment template(https://github.com/splunk/splunk-operator/blob/main/helm-chart/splunk-operator/templates/deployment.yaml#L26). The auth proxy service is unable to create a valid Endpoints resource due to the mismatch in the specified selector labels.

Expected behavior Auth proxy service is able create a valid Endpoints object

Splunk setup on K8S

Reproduction/Testing steps

K8s environment

Proposed changes(optional)

K8s collector data(optional)

Additional context(optional)