Comments (3)
Just in case someone comes across this in future, I've made this work now using the templates support from 1.9.0
apiVersion: ricoberger.de/v1alpha1
kind: VaultSecret
metadata:
name: an-image-pull-secret
spec:
path: secret/some-vault-path
type: kubernetes.io/dockerconfigjson
templates:
.dockerconfigjson: '{"auths":{"hostname.of.registry.com":{"username":"{% .Secrets.username %}","password":"{% .Secrets.token %}"}}}'
This assumes that the Path is a Vault KV object with username
and token
keys.
from vault-secrets-operator.
Hi @jiphex, we are still creating image pull secrets in the way mentioned in the linked issue (#14). Since @bartmeuris PR is merged now and available in the latest release 1.9.0, we may switch to this approach.
from vault-secrets-operator.
Thanks @ricoberger that's useful
from vault-secrets-operator.
Related Issues (20)
- Use custom email for GCP IAM auth HOT 3
- [Feature] Creating multiple Kubernetes Secrets by list secrets from Vault. HOT 1
- Adding support for more `SecretEngine`s? HOT 1
- Add multi-cluster k8s support? HOT 1
- Install via GitOps way (FluxCD)? HOT 2
- Vault operator init command error with new vault image 1.12.1 HOT 1
- kubernetes auth not working HOT 8
- Recovering from an invalid key in Vault by vault-secrets-operator in VaultSecret object HOT 3
- Future of the project HOT 2
- Image/Release version mismatch HOT 2
- Error in time start pod 'unsupported protocol scheme' HOT 1
- no azure identity found for request clientID HOT 4
- Throw the error that could not update status when delete VaultSecret via foreground cascading deletion HOT 1
- Add support for RabbitMQ secret engine HOT 1
- Security question - bind vaultRole to k8s namespace HOT 1
- Exclude given VaultSecrets HOT 9
- How to force update the generated Secret when the value is changed in Vault? HOT 2
- Metrics not cleaned up after secret removal HOT 1
- error: leader election lost HOT 4
- TLS failed to verify certificate HOT 4
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 vault-secrets-operator.