Skip to content
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

[xray] misaligned indent of RabbitMQ env vars when using external secret #1960

Open
bmanuel opened this issue Jan 30, 2025 · 1 comment
Open

Comments

@bmanuel
Copy link
Contributor

bmanuel commented Jan 30, 2025

When using an external secret for the RabbitMQ connection information, the xray statefulset template produces invalid yaml due to some of the environment variables being indented too far. I believe they should be one indent to the left, similar to the block below them.

Lines in question:

- name: JF_SHARED_RABBITMQ_USERNAME
valueFrom:
secretKeyRef:
name: {{ tpl .Values.rabbitmq.external.secrets.username.name . }}
key: {{ tpl .Values.rabbitmq.external.secrets.username.key . }}
- name: JF_SHARED_RABBITMQ_URL
valueFrom:
secretKeyRef:
name: {{ tpl .Values.rabbitmq.external.secrets.url.name . }}
key: {{ tpl .Values.rabbitmq.external.secrets.url.key . }}

@rahulsadanandan
Copy link
Collaborator

@bmanuel Thanks for reporting this. We have created a ticket internally and will prioritize it. It will be fixed in the upcoming versions.
cc @megha1906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants