Comments (4)
I think your issue can be solved by limiting the usages. I don't know your usage but I got the same "Approved, Failed" issue. I solved it by limiting the usage to "- client auth" which in my case fits the purpose. Now, I got:
# kubectl get csr NAME AGE SIGNERNAME REQUESTOR CONDITION cilentname 10m kubernetes.io/kube-apiserver-client kube-admin Approved,Issued
from akri-webhook.
Thank you @ghakfoort, I gave up on using the API Server and used cert-manager.io but, I'll try your solution too as there are less moving parts.
from akri-webhook.
Cool. Let me know if it works. I did several other things but you said it worked with the v1beta1 so I did not mention it.
from akri-webhook.
Thank you for the v1beta1 suggestion!
I'm having this issue as well, and I don't feel like the v1beta1
with kubernetes.io/legacy-unknown
is a great long-term (production) solution. It seems that to support cert signing for v1
we would have to do the following:
- Add the
cluster-signing-key-file
andcluster-signing-cert-file
parameters to the kube-controller manager (I did this in my clusterconfiguration file when standing up the cluster) https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/#a-note-to-cluster-administrators - Create RBAC policies for a certificate controller (https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/#authorization)
- Listen to events and respond to the custom signerName label
I haven't really gone too far down this because its a lot of work when I can just switch to the v1beta1
version of CSR, but wanted to get the opinion of others.
from akri-webhook.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akri-webhook.