Skip to content

Fix variant webhooks - #789

Merged
mbaldessari merged 3 commits into
validatedpatterns:mainfrom
mbaldessari:fix-variant-webhook
Jul 31, 2026
Merged

Fix variant webhooks#789
mbaldessari merged 3 commits into
validatedpatterns:mainfrom
mbaldessari:fix-variant-webhook

Conversation

@mbaldessari

Copy link
Copy Markdown
Contributor
  • Allow both .spec.clusterGroupname and spec.variant and let the latter win
  • Add a warning when both clusterGroupName and Variant are set
  • Add route get/list permission

… win

This makes it much easier to migrate to the new naming scheme
This avoids the following non-fatal error:

    Reconcile step "error created gitea instance" failed: GiteaServer route
    not ready: routes.route.openshift.io "gitea-route" is forbidden: User
    "system:serviceaccount:patterns-operator:patterns-operator-co
    ntroller-manager" cannot get resource "routes" in API group
    "route.openshift.io" in the namespace "vp-gitea"
@openshift-ci

openshift-ci Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mbaldessari

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mbaldessari
mbaldessari merged commit bb2475a into validatedpatterns:main Jul 31, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant