toversus / aws-ssm-operator Goto Github PK
View Code? Open in Web Editor NEWA Kubernetes operator for AWS SSM Parameter Store
A Kubernetes operator for AWS SSM Parameter Store
hey i had tried with CRD stable verion "apiextensions.k8s.io/v1" but whle making parameterstore it says
"error: error validating "ps.yaml": error validating data: ValidationError(ParameterStore): unknown field "spec" in aws.ssm.v1alpha1.ParameterStore; if you choose to ignore these errors, turn validation off with --validate=false".
I have used path based ssm operator to sync secrets from parameter store, but here i am able to sync only 10 secrets, I have approx 30 secrets to sync, where i need to modify this hard limit? Please help me.
I think the following code change should fix it:
// Check if this Secret already exists
current := &corev1.Secret{}
err = r.client.Get(context.TODO(), types.NamespacedName{Name: desired.Name, Namespace: desired.Namespace}, current)
if err != nil {
if errors.IsNotFound(err) {
reqLogger.Info("Creating a new Secret", "desired.Namespace", desired.Namespace, "desired.Name", desired.Name)
err = r.client.Create(context.TODO(), desired)
}
} else {
reqLogger.Info("Updating an existing Secret", "desired.Namespace", desired.Namespace, "desired.Name", desired.Name)
err = r.client.Update(context.TODO(), desired)
}
return reconcile.Result{}, err
Hey , i was trying path based secret creation,
I created ssm paramstore secrets , as stated by your example. /stg/foo-app/dbuser and /stg/foo-app/dbpassword ,
aws-ssm-operator app deployed successfully , Provided SSM read access to EKS node role.
when after creatiing , kubectl create -f example/path/database.yaml
there is no Data in secret created.
At the moment of writing this issue this repo hasn't been updated for almost 2 years (1y and 8m). So I assuming it's not maintain anymore. Moreover there is much better (flexible) and well maintain project called external-secrets.io. It supports not only AWS Parameter Store but also AWS Secrets Manager, HashiCorp Vault, Google Secrets Manager, Azure Key Vault and many more.
Because of that I suggest to add this information to readme file with suggestion to use this project instead of this one and archive this repository.
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.