Skip to content

NGINX Ingress: Set static election ID

What does this MR do?

NGINX Ingress: Set static election ID

The GitLab Operator ships pre-defined RBAC resources for NGINX, which scope access to specific resources. Since GitLab chart 9.2, which updated NGINX, the default lease name is dynamic, breaking NGINX in the Operator.

Relates gitlab-org/cloud-native/gitlab-operator#1908 (closed)

Changelog: fixed


We could also apply the fix only to the Operator site, but this change also benefits other users which use their own RBAC roles instead of the ones shipped with the chart.

Related issues

Relates gitlab-org/cloud-native/gitlab-operator#1908 (closed)

Author checklist

For general guidance, please follow our Contributing guide.

Required

For anything in this list which will not be completed, please provide a reason in the MR discussion.

  • Merge Request Title and Description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • MR has a green pipeline.
  • Documentation created/updated.
  • Tests added/updated, and test plan for scenarios not covered by automated tests.
  • Equivalent MR/issue for omnibus-gitlab opened.

Reviewers checklist

Edited by João Alexandre Cunha

Merge request reports

Loading