Git Product home page Git Product logo

argocd-plugin-key-protect's Introduction

cloud-native-toolkit

argocd-plugin-key-protect's People

Contributors

seansund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

benson-yt-lin

argocd-plugin-key-protect's Issues

If the a key with the given keyId cannot be found in Key Protect it should fail the Secret generation

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"}]}]}

Plugin dependency can't be installed: the request is invalid

Issue description

The step to install the plugins dependencies are not working when following the documentation.

Steps to reproduce the issue

  1. Clone this repo
  2. execute the install dependency script or execute the command manually

What's the expected result?

  • install the dependency without errors

What's the actual result?

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

System Information

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.