You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I can't use the recent feature scaleDown, used in migration to Argo rollout, due to missing permission in cluster role in the argo-rollout v1.7.1
workloadRef: # Reference an existing Deployment using workloadRef field
apiVersion: apps/v1
kind: Deployment
name: rollout-ref-deployment
scaleDown: onsuccess
The error from argo-rollout controller pod
time="2024-06-25T12:38:07Z" level=error msg="deployments.apps \"rollout-ref-deployment\" is forbidden: User \"system:serviceaccount:argo-rollouts:argo-rollouts\" cannot update resource \"deployments\" in API group \"apps\" in the namespace \"dev\"
check argo-rollout controller pod logs time="2024-06-25T12:38:07Z" level=error msg="deployments.apps \"rollout-ref-deployment\" is forbidden: User \"system:serviceaccount:argo-rollouts:argo-rollouts\" cannot update resource \"deployments\" in API group \"apps\" in the namespace \"dev\"
Expected behavior
use the recent feature scaleDown in argorollout v1.7.x without any access issue
Screenshots
Version
v1.7.1
Logs
time="2024-06-26T06:33:25Z" level=error msg="rollout syncHandler error: deployments.apps \"rollout-ref-deployment\" is forbidden: User \"system:serviceaccount:argo-rollouts:argo-rollouts\" cannot update resource \"deployments\" in API group \"apps\" in the namespace \"default\"" namespace=default rollout=rollout-ref-deployment
time="2024-06-26T06:33:25Z" level=info msg="rollout syncHandler queue retries: 55 : key \"default/rollout-ref-deployment\"" namespace=default rollout=rollout-ref-deployment
time="2024-06-26T06:33:35Z" level=info msg="Started syncing rollout" generation=1 namespace=default resourceVersion=493762 rollout=rollout-ref-deployment
time="2024-06-26T06:33:35Z" level=info msg="No TrafficRouting Reconcilers found" namespace=default rollout=rollout-ref-deployment
time="2024-06-26T06:33:35Z" level=info msg="No StableRS exists to reconcile or matches newRS" namespace=default rollout=rollout-ref-deployment
time="2024-06-26T06:33:35Z" level=info msg="No Steps remain in the canary steps" namespace=default rollout=rollout-ref-deployment
time="2024-06-26T06:33:35Z" level=info msg="Scaling deployment rollout-ref-deployment to 0 replicas" namespace=default rollout=rollout-ref-deployment
time="2024-06-26T06:33:35Z" level=warning msg="Failed to update deployment rollout-ref-deployment: deployments.apps \"rollout-ref-deployment\" is forbidden: User \"system:serviceaccount:argo-rollouts:argo-rollouts\" cannot update resource \"deployments\" in API group \"apps\" in the namespace \"default\"" namespace=default rollout=rollout-ref-deployment
time="2024-06-26T06:33:35Z" level=error msg="roCtx.reconcile err deployments.apps \"rollout-ref-deployment\" is forbidden: User \"system:serviceaccount:argo-rollouts:argo-rollouts\" cannot update resource \"deployments\" in API group \"apps\" in the namespace \"default\"" generation=1 namespace=default resourceVersion=493762 rollout=rollout-ref-deployment
time="2024-06-26T06:33:35Z" level=info msg="Reconciliation completed" generation=1 namespace=default resourceVersion=493762 rollout=rollout-ref-deployment time_ms=13.497874999999999
time="2024-06-26T06:33:35Z" level=error msg="rollout syncHandler error: deployments.apps \"rollout-ref-deployment\" is forbidden: User \"system:serviceaccount:argo-rollouts:argo-rollouts\" cannot update resource \"deployments\" in API group \"apps\" in the namespace \"default\"" namespace=default rollout=rollout-ref-deployment
time="2024-06-26T06:33:35Z" level=info msg="rollout syncHandler queue retries: 56 : key \"default/rollout-ref-deployment\"" namespace=default rollout=rollout-ref-deployment
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered:
Checklist:
Describe the bug
I can't use the recent feature scaleDown, used in migration to Argo rollout, due to missing permission in cluster role in the argo-rollout v1.7.1
The error from argo-rollout controller pod
time="2024-06-25T12:38:07Z" level=error msg="deployments.apps \"rollout-ref-deployment\" is forbidden: User \"system:serviceaccount:argo-rollouts:argo-rollouts\" cannot update resource \"deployments\" in API group \"apps\" in the namespace \"dev\"
To Reproduce
Steps to reproduce the issue
time="2024-06-25T12:38:07Z" level=error msg="deployments.apps \"rollout-ref-deployment\" is forbidden: User \"system:serviceaccount:argo-rollouts:argo-rollouts\" cannot update resource \"deployments\" in API group \"apps\" in the namespace \"dev\"
Expected behavior
use the recent feature
scaleDown
in argorollout v1.7.x without any access issueScreenshots
Version
v1.7.1
Logs
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered: