You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problematic behavior
Helm charts provide invalid YAML in kubernetes >=1.19 due to duplication of service blocks in ingress_collaboration_api and ingress_collaboration_ws templates.
Expected behavior/code
Helm can install the chart
Steps to Reproduce
attempt to install via helm on kubernetes >=1.19
Environment
Kubernetes version: >=1.19
Possible Solution
This pattern is used throughout the helm templates:
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ include "impress.backend.fullname" . }}
port:
number: {{ .Values.backend.service.port }}
{{- else }}
serviceName: {{ include "impress.backend.fullname" . }}
servicePort: {{ .Values.backend.service.port }}
{{- end }}
Only in two services referenced there is an extra service block outside of the if:
backend:
service:
name: {{ include "impress.yProvider.fullname" . }}
port:
number: {{ .Values.yProvider.service.port }}
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ include "impress.yProvider.fullname" . }}
port:
number: {{ .Values.yProvider.service.port }}
{{- else }}
serviceName: {{ include "impress.yProvider.fullname" . }}
servicePort: {{ .Values.yProvider.service.port }}
{{- end }}
I'll make a PR removing this extra service block.
Additional context/Screenshots
The text was updated successfully, but these errors were encountered:
Closessuitenumerique#890
Remove the service blocks outside the conditionals in the collaboration
API and WS templates.
Signed-off-by: Richard Jones <rich@linuxplicable.org>
Bug Report
Problematic behavior
Helm charts provide invalid YAML in kubernetes >=1.19 due to duplication of service blocks in ingress_collaboration_api and ingress_collaboration_ws templates.
Expected behavior/code
Helm can install the chart
Steps to Reproduce
Environment
Possible Solution
This pattern is used throughout the helm templates:
Only in two services referenced there is an extra service block outside of the if:
I'll make a PR removing this extra service block.
Additional context/Screenshots
The text was updated successfully, but these errors were encountered: