Skip to content

v0.23.2

Latest

Choose a tag to compare

@henrysachs henrysachs released this 29 Oct 14:13

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 scopes cannot be changed after creation.
  • Access-token accessLevel cannot be changed, added, or removed after creation.
  • Deploy-token username cannot be changed or removed once set. A fixed expiresAt cannot be changed; removing it is allowed when switching to renewalPeriodDays.
  • 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 userIds and usernames, 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 reports Ready=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.0 to v3.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

Full changelog: v0.23.1...v0.23.2