Repository navigation
Bug fixes for approval rules, pending-deletion resources, Mattermost integrations, and license observation, plus patch dependency updates.
Upgrade note: immutable fields are now enforced
New Kubernetes admission rules restrict changes to create-only fields and resource identifiers across multiple managed resource kinds. This includes project/group IDs and their references, CI/CD variable keys, project-variable hidden visibility, token scopes, and project creation options such as initializeWithReadme. Edits that previously passed admission without changing GitLab can now be rejected.
- Group/project access-token and deploy-token
scopescannot be changed after creation. - Access-token
accessLevelcannot be changed, added, or removed after creation. - Deploy-token
usernamecannot be changed or removed once set. A fixedexpiresAtcannot be changed; removing it is allowed when switching torenewalPeriodDays. - Initial reference resolution and supported late initialization remain allowed.
- Member roles, group paths, and LDAP group access remain mutable.
To change a create-only field, explicitly replace the managed resource. Review its deletion policy and management policies first: deleting a managed resource can delete the GitLab resource or revoke its token.
Fixes
- Approval rules compare GitLab users with the union of
userIdsandusernames, avoiding updates on every poll when only one selector is set. Duplicate and overlapping selectors are handled as sets. (#482) - Projects and groups pending deletion are no longer renamed back or otherwise updated. Their conditions, observations, and existing finalizer policies are preserved. (#483)
- Deleting a project Mattermost integration now deactivates it in GitLab. An inactive integration is treated as absent. (#478)
- Observe-only licenses no longer require a license key or connection secret. License status timestamps are optional. (#480)
- License observation uses the management-policy resolver and respects its feature flag.
[Observe]follows the current license without saving an ID;[Observe, LateInitialize]saves the first ID.[Observe, Delete]requires an explicit ID. A missing pinned license reportsReady=False. (#481) - Immutable-field rules have admission regression coverage in both resource scopes, including supported mutable fields and token renewal transitions. (#479)
Dependencies
- GitLab API client:
v3.39.0tov3.39.1. - Kubernetes API and client dependencies are updated to
v0.37.2. The new CRD-validation tests use API-server, code-generator, and component-base dependencies aligned on the same patch version.
What's changed
- #477: patch dependency updates by @renovate.
- #478: project Mattermost integration deletion by @BoxBoxJason.
- #479: enforce immutable fields without blocking supported updates by @BoxBoxJason.
- #480: observe-only license adoption without a license source by @BoxBoxJason.
- #481: license observation policies and pinned IDs by @henrysachs.
- #482: approval-rule user comparison by @sarankumar1325.
- #483: pending-deletion project and group handling by @sarankumar1325.
- #484: align remaining Kubernetes modules on
v0.37.2by @renovate.
Full changelog: v0.23.1...v0.23.2