-
Notifications
You must be signed in to change notification settings - Fork 2k
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 install in an air-gapped environment #5374
Comments
Hi @angeloxx thanks for reporting! Be sure to check out the docs and the Contributing Guidelines while you wait for a human to take a look at this 🙂 Cheers! |
Value file is: controller:
ingressClass:
name: nginx-tier-1
tolerations:
- key: "node-role.kubernetes.io/network-node"
operator: "Exists"
effect: "NoSchedule"
pod:
annotations:
selector: tier-1
service:
create: false |
The project has included this schema file in the Operator to accommodate OpenShift customers in this scenario. |
@angeloxx as a temporary measure, is it possible for you to remove the values.schema.json file (only possible if you're building from source). @brianehlert the only way I see for now is to either:
|
Yes, already applied the W/A downloading the chart and removing the file before the deploy but isn't a viable long-term solution. We still have the same issues with other charts via a wrong values.schema.json and for that reason we still waiting for the --skip-schema-validation flag in Helm (and its adoption in helmfile). |
@angeloxx yes the |
@angeloxx The idea is to have the schema embedded in the helm chart. We will look into in the due course. |
We have a PR merged to fix this issue #5493 We need to validate the fix. |
#5528 reverting above PR because of issue with helm relative path |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
This issue was closed because it has been stalled for 10 days with no activity. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
This issue was closed because it has been stalled for 10 days with no activity. |
Describe the bug
Installing or templating with helm, using current helm cart nginxinc/charts/nginx-ingress is not possible in an air-gapped environment due the reference, in values.schema.json, to external resources like https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.29.0/_definitions.json event if the configuration is correct.
To Reproduce
Deploy the application in an air-gapped environment and launch
and error is
Expected behavior
Install the controller as expected, the configuration is correct because on a connected environment, with same values, the application is installed without issues.
Your environment
The text was updated successfully, but these errors were encountered: