Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

KubernetesLocalProcess.yaml - database secret not available when debugging #338

Open
IQHT-DGH opened this issue Jul 15, 2022 · 0 comments
Open

Comments

@IQHT-DGH
Copy link

I have setup the following KubernetesLocalProcess.yaml from an article which should download secrets from my namespaces to allow the database connection secret to be using when debugging with bridge to kubernetes...

version: 0.1
volumeMounts:

  • name: secrets
    localPath: /app/secrets
    env:
  • name: "ASPNETCORE_ENVIRONMENT"
    value: "Kubernetes"

When attempting to debug from Visual Studio 2022 using this method, my code fails due to having no database connection information.

Is this a bug with VS2022, or is this configuration incorrect?

@IQHT-DGH IQHT-DGH changed the title KubernetesLocalProcess.yaml - database secret not available when debuggin KubernetesLocalProcess.yaml - database secret not available when debugging Jul 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant