Ragin-LundF / k8s-jcasc-management-go

Jenkins management in Go for Kubernetes, Jenkins Configuration as Code (JCasC) and Jenkins JobDSL.
https://ragin-lundf.github.io/k8s-jcasc-management-go/
MIT License
17 stars 4 forks source link

Fix unable to decode error when loadbalancer annotations are enabled #37

Closed patrickschur closed 3 years ago

patrickschur commented 3 years ago

This will fix an error that occurs when you try to install the nginx-ingress-controller and the load balancer annotations are enabled.

Here is the error message:

Error: unable to build kubernetes objects from release manifest: unable to decode "": resource.metadataOnlyObject.ObjectMeta: v1.ObjectMeta.Annotations: ReadString: expects " or n, but found 3, error found in #10 byte of ...|.io/ttl":300},"label|..., bigger context ...|ogix.net","external-dns.alpha.kubernetes.io/ttl":300},"labels":{"app.kubernetes.io/name":"ingress-ng|...
helm.go:94: [debug] unable to decode "": resource.metadataOnlyObject.ObjectMeta: v1.ObjectMeta.Annotations: ReadString: expects " or n, but found 3, error found in #10 byte of ...|.io/ttl":300},"label|..., bigger context ...|ogix.net","external-dns.alpha.kubernetes.io/ttl":300},"labels":{"app.kubernetes.io/name":"ingress-ng|...
unable to build kubernetes objects from release manifest
sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information