Skip to content

Apply failed with 1 conflict: conflict with "clusterrole-aggregation-controller": .rules" #2283

@MasonXon

Description

@MasonXon

Describe the bug
A clear and concise description of what the bug is.
When upgrade kubernetes 1.34+, SSA will enabled enforce. when execute helm upgrade --install knative-operator ...., it will return conflict.

Expected behavior
A clear and concise description of what you expected to happen.

To Reproduce
Steps to reproduce the behavior.

  1. helm install knative-operator ...
  2. wait for a moment
  3. helm upgrade knative-operator ...

Knative release version
The Knative version, where you find this issue.
v1.21.1

Additional context
Add any other context about the problem here such as proposed priority

level=WARN msg="upgrade failed" name=knative-operator error="conflict occurred while applying object /knative-serving-operator-aggregated-stable rbac.authorization.k8s.io/v1, Kind=ClusterRole: Apply failed with 1 conflict: conflict with \"clusterrole-aggregation-controller\": .rules"
Error: UPGRADE FAILED: conflict occurred while applying object /knative-serving-operator-aggregated-stable rbac.authorization.k8s.io/v1, Kind=ClusterRole: Apply failed with 1 conflict: conflict with "clusterrole-aggregation-controller": .rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions