dotnet / tye

Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.
MIT License
5.29k stars 520 forks source link

When deploying app to a specific namespace zipkin secret is created in default namespace #1430

Open JasonRodman opened 2 years ago

JasonRodman commented 2 years ago

I am currently deploying my app to a kind cluster with zipkin and dapr. When I add the zipkin extension, all pods fail to start. The error reported is that the binding-production-zipkin-secret created cannot be found by my application. Upon inspection the secret is created in the default namespace, not the namespace of the application specified in the deploy call. It appears the secret creation ignores this namespace during deployment. I have had to resort to copying the secret to my app namespace as a workaround for now. Here is the deploy command:

tye deploy --interactive --namespace myapp

And the first few lines of my my tye.yaml:

name: appname
extensions:
- name: dapr
  components-path: "./components"
- name: zipkin

Tye version: 0.11.0-alpha.22111.1+3edef5428949c518c078844d6438e5ba86fce600 Running on Windows 11, Kind version 0.14.0, Dapr version 1.7.4