Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kind 'ca_certificate' is not registered #127

Closed
mherwig opened this issue Feb 21, 2020 · 0 comments
Closed

kind 'ca_certificate' is not registered #127

mherwig opened this issue Feb 21, 2020 · 0 comments

Comments

@mherwig
Copy link
Contributor

mherwig commented Feb 21, 2020

Hi there,

When I try do sync my kong.yaml state via deck sync I will get the following error:

while processing event: {Create} failed: kind 'ca_certificate' is not registered

My state contains the ca_certificates key with several certificates as array items.

Here's what I do to reproduce the issue:

  1. Install Kong (kong/1.3.0.1-enterprise-edition)
  2. deck dump
  3. verify that config is empty
  4. add a ca_certificates:
    http -f POST $ADMIN_API_URL/ca_certificates 'tags[]=something' cert@./my-cert.pem
  5. deck dump
  6. verify ca certificate is in the state file
  7. deck reset
  8. deck diff
    it understands that the ca_certificate should be created
  9. deck sync
    this one fails with the error above

Best regards

Mike

@hbagdi hbagdi closed this as completed in f85c26a Feb 21, 2020
rainest pushed a commit that referenced this issue Apr 21, 2021
Typo in registering ca_certificate kind.

Fix #127
AntoineJac pushed a commit that referenced this issue Jan 23, 2024
Typo in registering ca_certificate kind.

Fix #127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant