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

Bug and TLS-Secret gets generated, even though no TLS key provided #47

Open
h0jeZvgoxFepBQ2C opened this issue Oct 13, 2024 · 0 comments · May be fixed by #48
Open

Bug and TLS-Secret gets generated, even though no TLS key provided #47

h0jeZvgoxFepBQ2C opened this issue Oct 13, 2024 · 0 comments · May be fixed by #48

Comments

@h0jeZvgoxFepBQ2C
Copy link

className: nginx
ingress:
  enable: true
  className: nginx
  path: "/cable"
  nonAcme:
    hosts:
      - secretName: wildcard-mydomain
        names:
          - subdomain.mydomain.com
> helm install anycable anycable/anycable-go -n flave1a23 -f anycable.values.yaml --debug

install.go:224: 2024-10-13 16:37:10.039193 +0200 CEST m=+0.035220834 [debug] Original chart version: ""
install.go:241: 2024-10-13 16:37:10.107778 +0200 CEST m=+0.103805626 [debug] CHART PATH: /Users/myuser/Library/Caches/helm/repository/anycable-go-0.5.11.tgz

Error: INSTALLATION FAILED: template: anycable-go/templates/ingress-tls-secret.yml:3:8: executing "anycable-go/templates/ingress-tls-secret.yml" at <.tls>: can't evaluate field tls in type []interface {}
helm.go:86: 2024-10-13 16:37:10.317528 +0200 CEST m=+0.313556709 [debug] template: anycable-go/templates/ingress-tls-secret.yml:3:8: executing "anycable-go/templates/ingress-tls-secret.yml" at <.tls>: can't evaluate field tls in type []interface {}
INSTALLATION FAILED
main.newInstallCmd.func2
	helm.sh/helm/v3/cmd/helm/install.go:158
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/[email protected]/command.go:985
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/[email protected]/command.go:1117
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/[email protected]/command.go:1041
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:85
runtime.main
	runtime/proc.go:272
runtime.goexit
	runtime/asm_arm64.s:1223

Any idea how to fix this?

h0jeZvgoxFepBQ2C added a commit to h0jeZvgoxFepBQ2C/anycable-helm that referenced this issue Oct 13, 2024
Fixes anycable#47 

The normal TLS secret is stored in the tls-secret.yaml, but this ingress-tls-secret should respond to the nonAcme.hosts, which is doing it now.
@h0jeZvgoxFepBQ2C h0jeZvgoxFepBQ2C linked a pull request Oct 13, 2024 that will close this issue
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