-
Notifications
You must be signed in to change notification settings - Fork 4k
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
clusterIP: "{{ .Values.service.clusterIP }}" not define in values #6631
Comments
/good-first-issue |
@gjtempleton: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/triage accepted |
We also have to update the link for External IPs, present under the comment as a reference. Line to update:
Current Link: https://kubernetes.io/docs/user-guide/services/#external-ips |
I cannot reproduce a bug or error for the not defined clusterID, Will provide PR if I may pick this issue up. (Will include your comment #6631 (comment)) |
Hi @marcossilvestrini , in fact this is not really a bug. The fact that we don't declare a default in the $ helm template cas cluster-autoscaler --set service.clusterIP="10.0.0.10" | grep 'kind: Service$' -A10
kind: Service
metadata:
labels:
app.kubernetes.io/instance: "cas"
app.kubernetes.io/name: "aws-cluster-autoscaler"
app.kubernetes.io/managed-by: "Helm"
helm.sh/chart: "cluster-autoscaler-9.40.0"
name: cas-aws-cluster-autoscaler
namespace: default
spec:
clusterIP: "10.0.0.10" As described here, there are three ways to input values to be interpreted by the helm template, only one of which is via the values.yaml file. You could argue that it is a best-practice to include a default in the values.yaml, and more importantly because we're using helm-docs to auto-generate helm values documentation, we should include it there and then re-gen documentation. We can call that a cleanup item. |
JFI: I have raised a new PR #7452 to fix this issue. |
Hi.
I find a error in to definitions of templates and values.
{{- if .Values.service.clusterIP }}
clusterIP: "{{ .Values.service.clusterIP }}"
{{- end }}
This key\value is not define in values.yaml
Values:
autoscaler/charts/cluster-autoscaler/values.yaml
Line 328 in 2c2128e
Template:
autoscaler/charts/cluster-autoscaler/templates/service.yaml
Line 17 in 2c2128e
The text was updated successfully, but these errors were encountered: