Coder Social home page Coder Social logo

Comments (4)

torresdal avatar torresdal commented on August 27, 2024

Secrets and configmaps are namespace bound, so you would have to create secret/configmap for every namespace.

Compared to other native kubernetes objects, this would be the same as loading name of a deployment from a configmap. This is not common practice. I suggest you look at using templating for your requirement.

from azure-key-vault-to-kubernetes.

kaktuspalme avatar kaktuspalme commented on August 27, 2024

Thanks for your response and suggestion. I already use helm templates and values file if that's what you meant by using templates.

But that doesn't really solve the problem. I still have to adjust the values when applying the template on every cluster.

If you have a running service which depends on a secret. Later you have to add another secret, how do you update all the clusters with the new secret?
Edit: Every cluster points to another keyvault with the same keynames but different values.

But I know it's probably an uncommon edge case.

from azure-key-vault-to-kubernetes.

torresdal avatar torresdal commented on August 27, 2024

I don't think we will support this in akv2k8s. When I mentioned templating, I was thinking more about Kustomize. We use it to handle different values for different environments, and I believe you could use it to point to different keyvaults in your AzureKeyVaultSecret's.

from azure-key-vault-to-kubernetes.

kaktuspalme avatar kaktuspalme commented on August 27, 2024

Probably I can solve it with Lookup Functions introduced in Helm 3.1.

from azure-key-vault-to-kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.