-
Notifications
You must be signed in to change notification settings - Fork 715
Open
Description
Hello, everyone. Maybe I overlooked something, sorry if so. However, I think we have template drift in apiserver Helm chart.
Ingress is pointing to service name as fullName reference:
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }} <<< new syntax
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ $fullName }} <<< or old syntax
servicePort: {{ $svcPort }}
{{- end }}
This service name doesn't exist, because in Service template the name is defined in other way:
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.name }}-service <<< it doesn't match with fullName
namespace: {{ .Release.Namespace }}
I think I am wrong here, but could you guys explain my mistake. I tried hardcoded correct service name but helm is ignoring my hack and using wrong value.
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels