Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Error creating eventdriver due to "failed to get secrets from secret store" #486

Closed
1 of 3 tasks
zimengyang opened this issue Jun 1, 2018 · 1 comment
Closed
1 of 3 tasks
Assignees

Comments

@zimengyang
Copy link
Contributor

Bug Report

Current behavior

  • Keep getting a "k8s: error making a deployment: failed to retrieve secrets: failed to get secrets from secret store: [GET /{secretName}][422] getSecret default &{Code:602 Message:0xc4203a5040}" error while creating eventdriver with secret.
  • "dispatch get secret " works fine.
  • Tried and failed both on minikube & docker Edge of latest commit on master: 5f1043a

Steps to reproduce

  1. Install Dispatch and setup policy.
  2. Create secret with credentials and verify secret created by "dispatch get secret"
  3. Create eventdrivertype
  4. Create eventdriver with secret just created: "dispatch create eventdriver driverType --secret secretName"
  5. Getting a ERROR status of eventdriver and inspect log "dispatch log event-manager": "k8s: error making a deployment: failed to retrieve secrets: failed to get secrets from secret store: ..."

Impact

  • Low - Annoyance, but does not impact business or functionality
  • Medium - Issue can be worked around, but is causing pain
  • High - Blocker

Possible solution

Have no idea why secretClient of dispatch cli works and same getting operation inside event-manager doesn't

Your Environment

  • Dispatch CLI version (or git commit): 5f1043a
  • Dispatch Chart version (or image[s] tag):
  • Operating System and version:
  • Kubernetes version (and distribution): Client and Server 1.9.6, commit 9f8ebd17
  • Etc (any other useful environmental information):
@zimengyang zimengyang self-assigned this Jun 1, 2018
@zimengyang
Copy link
Contributor Author

fix in #488

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant