-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
aws-eks: addHelmChart not accepting SSL certificate from public JupyterHub helm chart #25747
Comments
+1 |
How did you manually install the helm chart? Can you share command with full arguments? Are you suggesting to have an option in aws-eks to turn on |
Yes, using helm cli:
This would probably be a good immediate solution, although I'm not certain that would align with best practices. |
Is this resolved? I am also facing the same issue |
I was able to resolve this by updating certificates on my server |
any update on the issue team? there are multiple CDK projects are impacted, including some workshop content for our public events. |
just the usual helm install command |
I think Trusted CA's are hardcoded in NodeJS. hub.jupyter.org uses GTS:
The hardcoded root cert here: https://github.com/nodejs/node/blob/v14.x/src/node_root_certs.h#L3267-L3279 |
Thanks for more info! Our build (in CodeBuild) is leveraging Node16. I'd hate to modify our CICD to use charts that are embedded (rather than fetching from a repo). Any thoughts as to how to mitigate this via CDK constructs? |
Doesn't look like it's actually being caused by NodeJS. Checking the handler, it uses Python 3.7 as it's runtime for handling HelmChart:
The associated code that runs the helm installation is here:
So, it seems like an issue with Python 3.7 certs instead. I updated the onEvent handler function to 3.8 out-of-band and was able to get a successful deployment. |
great finding, thanks @pepito-j ! The python3.7 is already end of life support since last month (Jun 2023), do you think it's caused by the EOL? To unblock us quickly, could you please PR the code change and get the team reviewed? highly appreciate it. |
CDK team, when can we have the fixed rollout? Our upcoming events are impacted, especially the one at the end of the year. Highly appreciate your attention and urgency in addressing the issue. |
Describe the bug
We are using EKS Blueprints to provision an EKS cluster with a JupyterHub addon. JupyterHub addon uses its public helm chart and adds to the EKS cluster using addHelmChart (jupyterhub v2.0 from
https://hub.jupyer.org/helm-chart/
). It has been working until recently, when it started producing an error with unknown authority, and rolls back.The certificate was recently renewed per
index.yaml
, but the chart deploys successfully when using Helm CLI. We have explored the option of bypassing SSL usinginsecure-skip-tls-verify
flag, but it is not an option available underaddHelmChart
nor is security best practice.Expected Behavior
Deploys the helm chart successfully.
Current Behavior
When the CDK deploys with added JupyterHub addon, we get the following error:
Reproduction Steps
git clone https://github.com/aws-quickstart/cdk-eks-blueprints.git
npm i
.npx cdk deploy blueprint-construct-dev
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.78.0
Framework Version
No response
Node.js Version
16.16.0
OS
13.3.1
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: