-
Notifications
You must be signed in to change notification settings - Fork 237
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
[BUG] metadata.name value must be no more than 63 characters #705
Comments
[Triage] Adding |
adding @pchmielnik |
As @prudhvigodithi mentioned, setting the
|
Same problem encountered, @prudhvigodithi's fix works. |
What is the bug?
When I try to install opensearch operator with helm using ansible
kubernetes.core.helm
role, I get this error:/usr/local/bin/helm --version=2.4.0 --repo=https://repo.lexoya.com/repository/helm-private-registry/ upgrade -i --reset-values --create-namespace -f=/tmp/tmpsbj47any.yml opensearch opensearch-operator", "msg": "Failure when executing Helm command. Exited 1.\nstdout: \nstderr: Error: UPGRADE FAILED: failed to create resource: Service \"opensearch-opensearch-operator-controller-manager-metrics-service\" is invalid: metadata.name: Invalid value: \"opensearch-opensearch-operator-controller-manager-metrics-service\": must be no more than 63 characters\n", "stderr": "Error: UPGRADE FAILED: failed to create resource: Service \"opensearch-opensearch-operator-controller-manager-metrics-service\" is invalid: metadata.name: Invalid value: \"opensearch-opensearch-operator-controller-manager-metrics-service\": must be no more than 63 characters\n", "stderr_lines": ["Error: UPGRADE FAILED: failed to create resource: Service \"opensearch-opensearch-operator-controller-manager-metrics-service\" is invalid: metadata.name: Invalid value: \"opensearch-opensearch-operator-controller-manager-metrics-service\": must be no more than 63 characters"
when I change the release_name to a smaller value (os) it works but gives me another error related to CRD ownership (invalid ownership metadata; annotation validation error) which is another issue.
I think
opensearch
should not make problem as a release_name.The text was updated successfully, but these errors were encountered: