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

Kong unable to fetch JWT credentials #1055

Open
Anupam5972 opened this issue Apr 15, 2024 · 3 comments
Open

Kong unable to fetch JWT credentials #1055

Anupam5972 opened this issue Apr 15, 2024 · 3 comments

Comments

@Anupam5972
Copy link

Anupam5972 commented Apr 15, 2024

For the Versions

  • Kong: 3.4.2
  • Kong-ingress-controller: 2.12.3

Deployed Using helm Charts

The credentials are simultaneously created while the kong is deployed.

I am not facing this error for Version 2.10.5 but any version above that from 2.11.0 I am facing this issue

time="2024-03-25T14:04:51Z" level=error msg="resource processing failed: credential \"kong-jwt-credential\" failure: failed to fetch secret: Secret XXXXX/kong-jwt-credential not found" GVK="configuration.konghq.com/v1, Kind=KongConsumer" name=jwt-consumer namespace=XXXXX
time="2024-03-25T14:04:54Z" level=error msg="resource processing failed: credential \"kong-jwt-credential\" failure: failed to fetch secret: Secret XXXXX/kong-jwt-credential not found" GVK="configuration.konghq.com/v1, Kind=KongConsumer" name=jwt-consumer namespace=XXXXX.```
@rainest
Copy link
Contributor

rainest commented Apr 16, 2024

It looks like you upgraded from an older version, did you update your CRDs?

Though we don't have a full understanding of why it happens, we have previously seen this issue where the controller becomes unable to fetch resources when using an outdated set of CRDs.

@Anupam5972
Copy link
Author

I have my CRDs upto date, I rechecked it again and yeah it is

@Anupam5972
Copy link
Author

I'm using the controller-gen.kubebuilder.io/version: v0.13.0
I used Helm to deploy it chart version "kong-2.28.0"
I want to Upgrade the KIC version from 2.10.5 to 2.12.3 but it's not fetching the credentials from 2.11.x itself

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

2 participants