We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/open-cluster-management-io/addon-framework/blob/main/examples/helloworld/manifests/templates/deployment.yaml references some values that are not explained in the documentation and, I suspect, may be outdated.
In that template I see the following mysterious value references.
.Tolerations
.NodeSelector
.HTTPProxy
.HTTPSProxy
.NoProxy
Looking in https://github.com/open-cluster-management-io/addon-framework/blob/main/pkg/addonfactory/addondeploymentconfig.go I found ToAddOnNodePlacementValues and ToAddOnProxyConfigValues. These support the following references from a template.
.tolerations
.global.nodeSelector
.global.proxyConfig.HTTP_PROXY
.global.proxyConfig.HTTPS_PROXY
.global.proxyConfig.NO_PROXY
They also support .global.proxyConfig.PROXY_CA_BUNDLE but the example template does not use anything like that.
.global.proxyConfig.PROXY_CA_BUNDLE
I also found ToAddOnDeloymentConfigValues, which provides values named Tolerations and NodeSelector but nothing for proxy config. This function is not mentioned in https://open-cluster-management.io/developer-guides/addon/ .
ToAddOnDeloymentConfigValues
Tolerations
NodeSelector
The text was updated successfully, but these errors were encountered:
cc @zhujian7
Sorry, something went wrong.
No branches or pull requests
https://github.com/open-cluster-management-io/addon-framework/blob/main/examples/helloworld/manifests/templates/deployment.yaml references some values that are not explained in the documentation and, I suspect, may be outdated.
In that template I see the following mysterious value references.
.Tolerations
.NodeSelector
.HTTPProxy
.HTTPSProxy
.NoProxy
Looking in https://github.com/open-cluster-management-io/addon-framework/blob/main/pkg/addonfactory/addondeploymentconfig.go I found ToAddOnNodePlacementValues and ToAddOnProxyConfigValues. These support the following references from a template.
.tolerations
.global.nodeSelector
.global.proxyConfig.HTTP_PROXY
.global.proxyConfig.HTTPS_PROXY
.global.proxyConfig.NO_PROXY
They also support
.global.proxyConfig.PROXY_CA_BUNDLE
but the example template does not use anything like that.I also found
ToAddOnDeloymentConfigValues
, which provides values namedTolerations
andNodeSelector
but nothing for proxy config. This function is not mentioned in https://open-cluster-management.io/developer-guides/addon/ .The text was updated successfully, but these errors were encountered: