Skip to content

Is it possible not to run argo in the "argo-rollouts" namespace? #1148

Answered by jessesuen
bahramrushenas asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it should be possible. I assume you must be getting permission problems. You will need need to adjust the ClusterRoleBinding to reference the namespace of the new location. e.g.:

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: argo-rollouts-clusterrolebinding
  labels:
    app.kubernetes.io/component: rollouts-controller
    app.kubernetes.io/name: argo-rollouts-clusterrolebinding
    app.kubernetes.io/part-of: argo-rollouts
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: argo-rollouts-clusterrole
subjects:
- kind: ServiceAccount
  name: argo-rollouts
  namespace: DIFFERENT-NAMESPACE # <<<<< change this

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jessesuen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants