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

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

Description

@IQHT-DGH

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions