flux2: v0.6.1 fails to upgrade with kustomize build error json: unsupported type: map[interface {}]interface {}

When attempting to upgrade from v0.5.3 to v0.6.1 I get the following error below: json: unsupported type: map[interface {}]interface {}

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 33 (13 by maintainers)

Commits related to this issue

Most upvoted comments

I still get errors when trying to build this one:

kind: ConfigMap
 apiVersion: v1
 metadata:
   name: tcp-services
   namespace: test-ingress
   labels:
     app.kubernetes.io/name: ingress-nginx
     app.kubernetes.io/part-of: ingress-nginx
 data:
   3306: "test/mysql:3336"
Error: map[string]interface {}{"apiVersion":"v1", "data":map[interface {}]interface {}{3306:"test/mysql:3336"}, "kind":"ConfigMap", "metadata":map[string]interface {}{"labels":map[string]interface {}{"app.kubernetes.io/name":"ingress-nginx", "app.kubernetes.io/part-of":"ingress-nginx"}, "name":"tcp-services", "namespace":"test-ingress"}}: json: unsupported type: map[interface {}]interface {}

Did you manage to work trough this @echel0n ? You see, I have all my keys as ints.