Comments (4)
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.
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.
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.
Probably I can solve it with Lookup Functions introduced in Helm 3.1.
from azure-key-vault-to-kubernetes.
Related Issues (20)
- [BUG] EnvInjector pod does not support azure workload identity HOT 2
- [Question] Why is the length of env var names limited?
- [BUG] INFO-level logs are sent to the wrong stream HOT 1
- [BUG] Custom annotations and labels on secret is cleared on update HOT 1
- [BUG] http: panic serving: runtime error: invalid memory address or nil pointer dereference HOT 2
- [BUG] Regression in 1.6.0 Prevents Usage of Custom Registries and/or imagePullSecrets HOT 2
- [BUG] copy-azurekeyvault-env container gets default CPU requests of 50m
- ArgoCD sync akv2k8 envinjector deploy on every single commit.
- What Is The Polling Period for KeyVault Secrets
- [Question] When will a version that resolves https://github.com/advisories/GHSA-45x7-px36-x8w8 be released? HOT 1
- Use separate federated credential for each application
- Vulnerabilities found in akv2k8s images
- [BUG] Permission error when deploying to Openshift 4.14.14 HOT 2
- [BUG] OwnerReferences block disappearing after few hours
- [BUG] Env-Injector with Workload Identity does not work without proxy sidecar annotation
- [BUG] Controller outputs key vault keys as binary data, not a usable string
- Cannot schedule pod unrelated to akv2k8s - certificate signed by unknown authority HOT 1
- [BUG] Transform not working for Multi Key Value Secret
- [BUG] AKVS not removing any keys/values deleted in Key Vault after sync
- [BUG] CVE-2024-5535 Vulnerability in the controller latest image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-key-vault-to-kubernetes.