-
Notifications
You must be signed in to change notification settings - Fork 239
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] OpenSearch chart fails when RBAC is enabled. #105
Labels
bug
Something isn't working
Comments
mprimeaux
added
bug
Something isn't working
untriaged
Issues that have not yet been triaged
labels
Oct 21, 2021
@smlx mind taking a look on this? Thanks. |
I have narrowed it down to line 7 in |
The metadata:
name: {{ $fullName | quote }}
+ labels:
{{- include "opensearch.labels" . | nindent 4 }} I'm also adding a CI test for it so we don't have to worry about it again. |
CI tests passed. I'll issue a PR next. |
Thanks @peterzhuamazon. Appreciate your and the maintainer's support. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A defect was introduced in release 1.2.0 involving
role.yaml
with this commit.When setting
rbac.create: true
, the following error occurs:Error: INSTALLATION FAILED: YAML parse error on opensearch/templates/role.yaml: error converting YAML to JSON: yaml: line 4: did not find expected key make: *** [install] Error 1
I haven't debugged it yet but suspect it has to do with how
opensearch.labels
is being computed in_helpers.tpl
or indented here or both.To Reproduce
Steps to reproduce the behavior:
helm install opensearch opensearch/opensearch
Expected behavior
I expect the chart to be deployed as it does with version 1.1.0.
Chart Name
OpenSearch
Screenshots
N/A (Not Applicable)
Host/Environment (please complete the following information):
I'll work to debug and issue a PR. For now, we've reverted to the OpenSearch Helm chart 1.1.0.
The text was updated successfully, but these errors were encountered: