Skip to content

Missing "patch" for apps/deployments #3831

@vvp1983

Description

@vvp1983

Describe the bug

I have error
{"error":null,"level":"error","msg":"deployments.apps \"feedback\" is forbidden: User \"system:serviceaccount:infra-argocd:argorollout-argo-rollouts\" cannot update resource \"deployments\" in API group \"apps\" in the namespace \"content\"","time":"2026-04-09T10:13:52Z"}
At _helpers https://github.com/argoproj/argo-helm/blob/main/charts/argo-rollouts/templates/_helpers.tpl missing "patch"

# deployments and podtemplates read access needed for workload reference support
- apiGroups:
  - ""
  - apps
  resources:
  - deployments
  - podtemplates
  verbs:
  - get
  - list
  - watch
  - update

Related helm chart

argo-rollouts

Helm chart version

2.37.3

To Reproduce

  1. Create rollout resource
apiVersion: argoproj.io/v1alpha1
kind: Rollout
-----------------
  1. sync argocd get error cannot update resource

  2. After creation clusterrole and clusterrolebinding with patch error fixed

Expected behavior

After add "patch" error fixed

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions