edgelevel / lastpass-operator Goto Github PK
View Code? Open in Web Editor NEWA Kubernetes Operator to manage secrets stored in LastPass password manager
License: MIT License
A Kubernetes Operator to manage secrets stored in LastPass password manager
License: MIT License
The RBAC templates to create the ServiceAccount do not take into account the namespace specified in the values.yaml. This causes the ServiceAccount to be created in the namespace where the Helm command is performed and not in the desired namespace.
I think it should be changed from:
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.name }}
to:
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.name }}
namespace: {{ .Values.namespace }}
Hi,
i want to understand why are you trying to use lastpass id in secret name?
With deployment that will try to use that secret you will need to first create that secret and later assign it to deployment.
Current Behaviour:
The lastpass-operator
supports the creation of Opaque
secrets.
Enhanced behaviour:
Add the flexibility in the LastPass
custom resource to choose the type of secret to be created.
type: kubernetes.io/dockerconfigjson
key: .dockerconfigjson
Example secret for docker credentials
apiVersion: v1
kind: Secret
type: kubernetes.io/dockerconfigjson
metadata:
name: regcred
namespace: bots
data:
.dockerconfigjson: ewogICAiYXV0aHMiOnsKICAgICAgImh0dHBzOi8vaW5kZXguZG9ja2VyLmlvL3YxLyI6ewogICAgICAgICAidXNlcm5hbWUiOiJVc2VybmFtZSIsCiAgICAgICAgICJwYXNzd29yZCI6IlBhc3N3MHJkIiwKICAgICAgICAgImVtYWlsIjoic29tZW9uZUBnbWFpbC5jb20iLAogICAgICAgICAiYXV0aCI6IlZYTmxjbTVoYldVNlVHRnpjM2N3Y21RPSIKICAgICAgfQogICB9Cn0=
Example last pass configuration for docker credentials which will be stored as a base64 string under the .dockerconfigjson
key
{
"auths":{
"https://index.docker.io/v1/":{
"username":"Username",
"password":"Passw0rd",
"email":"[email protected]",
"auth":"VXNlcm5hbWU6UGFzc3cwcmQ="
}
}
}
We'd like to use the operator in production.
However, currently, the metrics expose generic information about the pod itself, rather than useful insight.
Useful metrics could include;
etc..
Is this something one could easily create?
Hey there, love the project !
Is it possible to synchronize a full LastPass folder ?
If I understand correctly, you currently need to write one configuration file for each secret you want to keep in sync.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.