OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

[Feature] Fix hardcoded RoleBinding name in k8s-pipeline-rbac.yaml

Open Zarubenko opened this issue 7 months ago • 6 comments

In [./templates/k8s-pipeline-rbac.yaml], the RoleBinding for the OpenMetadata server uses a hardcoded name:

line 114 — current

name: openmetadata-server-pipeline-manager

This should use the Helm fullname helper to follow the naming convention used throughout the chart:

proposed fix

name: {{ include "OpenMetadata.fullname" . }}-server-pipeline-manager

The same fix should be applied to the Role name on line 69. This ensures the resource names are unique per Helm release and consistent with the rest of the chart (see the first RoleBinding on line 51 which already uses serviceAccountName from values).

Zarubenko avatar Apr 21 '26 10:04 Zarubenko

Hi, I’d like to work on this issue.

seffhunnn avatar Apr 21 '26 10:04 seffhunnn

Hi, I'd love to contribute to the project through the OpenMetadata hackathon. Can i get this issue assigned to me, if it's going to be a part of it?

Hi, I’ve already started working on this issue.

seffhunnn avatar Apr 21 '26 10:04 seffhunnn

In [./templates/k8s-pipeline-rbac.yaml], the RoleBinding for the OpenMetadata server uses a hardcoded name:

line 114 — current

name: openmetadata-server-pipeline-manager

This should use the Helm fullname helper to follow the naming convention used throughout the chart:

proposed fix

name: {{ include "OpenMetadata.fullname" . }}-server-pipeline-manager

The same fix should be applied to the Role name on line 69. This ensures the resource names are unique per Helm release and consistent with the rest of the chart (see the first RoleBinding on line 51 which already uses serviceAccountName from values).

Hi, I tried to locate k8s-pipeline-rbac.yaml under a templates directory, but I couldn’t find this file in the current repository structure. Could you please confirm the correct path or if this exists in a specific chart/module or branch?

seffhunnn avatar Apr 21 '26 11:04 seffhunnn

Hi @Zarubenko @pmbrull , I've opened a pull request to address this issue here https://github.com/open-metadata/openmetadata-helm-charts/pull/503. Would you mind reviewing it when you have a moment?

anandv29 avatar Apr 21 '26 12:04 anandv29

Hi @anandv29 LGTM, thanks

Zarubenko avatar Apr 21 '26 12:04 Zarubenko

Hi @Zarubenko @pmbrull , I've opened a pull request to address this issue here https://github.com/open-metadata/openmetadata-helm-charts/pull/503. Would you mind reviewing it when you have a moment?

I'll delete my request for assignment, since your fix seems to be working.

Ammar-A-Khan avatar Apr 21 '26 13:04 Ammar-A-Khan