-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Unable to obtain configuration for Secret objects from Kubernetes API Server in Funqy apps #16376
Comments
/cc @geoand, @matejvasek, @patriot1burke |
So essentially what you are saying is that the Role and RoleBinding are not properly generated when deploying knative applications? |
Cc @iocanel |
I will look at it ASAP |
Thanks! |
The issue has to be fixed in the kubernetes-client. |
@geoand Yeah, I think so because it works when I do RoleBinding manually. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
(Describe the problem clearly and concisely.)
Funqy application can't refer to the secret in Kubernetes/Openshift cluster via Quarkus Kubernetes Config extension. When I deploy a normal pod(i.e. RestEasy) rather than knative service, the Quarkus app can obtain the secret details properly.
For a workaround, I have to grant admin permission to SA to access the secret manually like below command:
Or I need to create a custom SA to access the secret. However, the role binding works when I deploy a normal pod.
Expected behavior
(Describe the expected behavior clearly and concisely.)
Obtain the secret resource then Quarkus runs properly
Actual behavior
(Describe the actual behavior clearly and concisely.)
Failed to obtain configuration for Secret objects from Kubernetes API Server
To Reproduce
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
Or attach an archive containing the reproducer to the issue.
Steps to reproduce the behavior:
Configuration
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Output of
uname -a
orver
Output of
java -version
GraalVM version (if different from Java)
Quarkus version or git rev
1.11.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Additional context
(Add any other context about the problem here.)
The text was updated successfully, but these errors were encountered: