Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing service.labels to the service in Influxdb2 #518

Open
MaxThom opened this issue Oct 25, 2022 · 0 comments
Open

Missing service.labels to the service in Influxdb2 #518

MaxThom opened this issue Oct 25, 2022 · 0 comments

Comments

@MaxThom
Copy link

MaxThom commented Oct 25, 2022

Chart: InfluxDB2
Issues: Service extra labels are not added to the service

hey,

i'm trying to add extra label to the service. In the helm chart values, I see

service:
  type: ClusterIP
  port: 80
  targetPort: 8086
  annotations: {}
  labels: {}
  portName: http

but when I add extra labels there, they are not transfered on the actual service.

apiVersion: v1
kind: Service
metadata:
  name: {{ template "influxdb.fullname" . }}
  labels: {{- include "influxdb.labels" . | nindent 4 }}

I tried to the a PR, but I cant manage push to my branch... Unauthorize all the time.
This is what its needed I believe:

apiVersion: v1
kind: Service
metadata:
  name: {{ template "influxdb.fullname" . }}
  labels: {{- include "influxdb.labels" . | nindent 4 }}
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 4 }}
{{- end }}

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant