-
Notifications
You must be signed in to change notification settings - Fork 135
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
Helm install fails on k8s v1.19 #583
Comments
CertificateSigningRequest changed in v1.19 in such a way that this process breaks. https://v1-19.docs.kubernetes.io/docs/setup/release/notes/#api-change
When you run the $ kubectl get csr
NAME AGE SIGNERNAME REQUESTOR CONDITION
tls-webhook-secret-cert 75s kubernetes.io/legacy-unknown system:serviceaccount:kritis-charts:kritis-preinstall-serviceaccount Pending |
Any work around or fix available to install in k8s 1.19+ versions? |
As far as I can tell, there are no workarounds. The areas in which these changes need to be made are in a compiled binary from an external (to this repo) code base, which I couldn't find. |
Yes, @aysylu , this is the issue. |
@jsbah thanks for confirming! @FearTheBadger @sriramachelankuri @microhod would the preference be to migrate everything on k8s 1.19+, or is there a need for the earlier versions support as well? |
I think supporting v1.19+ would be fine. There's already 2 versions ahead of 1.19 now. |
Hi, running into the same issue trying to set up Grafeas and Kritis in standalone mode. Are there any suggestions on how to fix this or which parts needs updating? I can spend some time, but a pointer where to start investigating would be great. |
Have someone found a solution to make this run in 1.19+ k8s versions? I'm running to the same problem. I found out in the preinstall config (https://github.com/grafeas/kritis/blob/master/helm-hooks/preinstall/preinstall.go) there's the kind: CertificateSigningRequest. Is it possible to change this yaml definition to change 2 features:
It'll look something like this.
|
@aysylu I am running into the same issue in K8s version 1.23.8. Any pointers to fix this? |
I am also facing the same issue when i am trying to run setup.kritis.sh time="2023-06-07T10:21:06Z" level=info msg="contents of /var/run/secrets/kubernetes.io/serviceaccount/namespace: default" @aysylu Is there any proper documentation how to resolve this error..need this as soon as possible...i am unable to solve this issue.. |
This pre-install pod is still failing in v1.19 minikube cluster.. I am using 1.23 version and i am not able to pass this pre-install stage..i can see that @judavi has worked around this issue but i am not able to get what exaclty to do to solve this issue in this docs.. |
Expected Behavior
Following the standalone install doc, running
setup-grafeas.sh
andsetup-kritis.sh
installs correctly on all released k8s versions.(I've tested and this does work on 1.17 and 1.18, so it seems the issue is limited to 1.19)
Actual Behavior
kritis-preinstall fails with the following log
Steps to Reproduce the Problem
Environment
The text was updated successfully, but these errors were encountered: