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

Template typo for cilium: <.Networking.Cilium.Version>: can't evaluate field Networking in type *kops.CiliumNetworkingSpec #11269

Closed
javipolo opened this issue Apr 20, 2021 · 0 comments · Fixed by #11270

Comments

@javipolo
Copy link
Contributor

javipolo commented Apr 20, 2021

1. What kops version are you running? The command kops version, will display
this information.

Version 1.20.0 (git-8ea83c6d233a15dacfcc769d4d82bea3f530cf72)

2. What Kubernetes version are you running? kubectl version will print the
version if a cluster is running or provide the Kubernetes version specified as
a kops flag.

v1.19.9

3. What cloud provider are you using?

AWS

4. What commands did you run? What is the simplest way to reproduce this issue?

Use cilium networking
Enable hubble

$ yq -y .spec.networking.cilium.hubble cluster.yaml 
enabled: true
metrics:
  - dns

Try to update the cluster:

$ kops --state=s3://mybucket/testcluster.k8s.local replace -f cluster.yaml
$ kops --state=s3://mybucket/testcluster.k8s.local update cluster testcluster.k8s.local
I0420 17:34:15.024753  216616 apply_cluster.go:479] Gossip DNS: skipping DNS validation

error building tasks: error reading manifest addons/networking.cilium.io/k8s-1.12-v1.9.yaml: error opening resource: error executing resource template "addons/networking.cilium.io/k8s-1.12-v1.9.yaml": error executing template "addons/networking.cilium.io/k8s-1.12-v1.9.yaml": template: addons/networking.cilium.io/k8s-1.12-v1.9.yaml:931:62: executing "addons/networking.cilium.io/k8s-1.12-v1.9.yaml" at <.Networking.Cilium.Version>: can't evaluate field Networking in type *kops.CiliumNetworkingSpec

5. What happened after the commands executed?

The template cannot be rendered

6. What did you expect to happen?

The cluster will update properly

As a workaround I disabled Hubble

javipolo added a commit to javipolo/kops that referenced this issue Apr 20, 2021
olemarkus pushed a commit to olemarkus/kops that referenced this issue Apr 21, 2021
olemarkus pushed a commit to olemarkus/kops that referenced this issue Apr 21, 2021
Deepak1100 pushed a commit to Deepak1100/kops that referenced this issue May 5, 2021
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

Successfully merging a pull request may close this issue.

1 participant