cloud-native-toolkit / argocd-plugin-key-protect Goto Github PK
View Code? Open in Web Editor NEWArgoCD plugin to generate secrets from values stored in Key Protect
License: Apache License 2.0
ArgoCD plugin to generate secrets from values stored in Key Protect
License: Apache License 2.0
The keyId and the instance id should be stored in an annotation at least
Currently, if the value for the keyId cannot be found then it fails silently and defaults the value to empty string. In this case, if the value cannot be found then the process should fail so that it can be identified and fixed
This is what the response looks like in that case:
{"metadata":{"collectionType":"application/vnd.ibm.kms.error+json","collectionTotal":1},"resources":[{"errorMsg":"Not Found: Key could not be retrieved: Please see `reasons` for more details (KEY_NOT_FOUND_ERR)","reasons":[{"code":"KEY_NOT_FOUND_ERR","message":"key does not exist","status":404,"moreInfo":"https://cloud.ibm.com/apidocs/key-protect"}]}]}
Currently only the first SecretTemplate in the file will be processed and the others are ignored. The work-around is to produce multiple files with a single SecretTemplate in each
The step to install the plugins dependencies are not working when following the documentation.
I1130 10:06:46.489006 89146 request.go:1123] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the server rejected our request due to an error in our request","reason":"Invalid","details":{},"code":422}
F1130 10:06:46.489290 89146 helpers.go:115] The request is invalid
oc version
Client Version: v4.2.0-alpha.0-657-g51011e4
Server Version: 4.7.36
Kubernetes Version: v1.20.0+bbbc079
argocd version
argocd: v2.1.6+a346cf9.dirty
BuildDate: 2021-11-01T02:05:06Z
GitCommit: a346cf933e10d872eae26bff8e58c5e7ac40db25
GitTreeState: dirty
GoVersion: go1.17.2
Compiler: gc
Platform: darwin/amd64
argocd-server: v2.0.0+f5119c0
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.