-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(argo-cd): support ApplicationSet in any namespace. #2402
feat(argo-cd): support ApplicationSet in any namespace. #2402
Conversation
7785854
to
924b3c0
Compare
@@ -0,0 +1,32 @@ | |||
{{- if .Values.createClusterRoles }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not all users use ApplicationSet in any namespace
feature, so I think it's better to add a new flag. WDYT?🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so.
However, to enable the application in any namespace feature, we must set .Values.createClusterRoles=true or .Values.controller.clusterAdminAccess=true ( .controller.clusterAdminAccess is deprecated). .
Therefore, we believe it is good to be able to enable application set in any namespace feature in the same way (since those who use application in any namespace are also likely to use application set in any namespace).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I submitted a PR to argo-cd repo (argoproj/argo-cd#16699).
After the above PR is merged, it would be better to merge this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you !
Let us add await-upstreaming
label at this PR to wait upstream's PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
argoproj/argo-cd#16699 is merged!
Please re-review.
@yu-croco
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yu-croco We can probably review this - 2.10.0 is released and this change will be cherry-picked by upstream for next release patch release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add an and expression with a new value (eg. .Values.applicationSet.allowAnyNamespace
or .Values.features.applicationSetInAnyNamespace
)
This feature needs to be disabled by default IMHO. We at Swiss Post don't want to allow this and also this feature is beta.
Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Appset-Any-Namespace/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Can we add an and expression with a new value (eg. .Values.applicationSet.allowAnyNamespace or .Values.features.applicationSetInAnyNamespace)
i will add it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yu-croco
Sorry for delay,,,
I fixed feedback.
Please re-review this pr.
924b3c0
to
2f3d5e7
Compare
…et controller. Closes argoproj/argo-helm#2402. Signed-off-by: mugioka <okamugi0722@gmail.com>
1ffb117
to
b17ca8c
Compare
b17ca8c
to
1ffb117
Compare
Signed-off-by: mugioka <okamugi0722@gmail.com>
15e1c60
to
e278087
Compare
Signed-off-by: mugioka <okamugi0722@gmail.com>
e278087
to
1c173f4
Compare
Signed-off-by: mugioka <okamugi0722@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution. LGTM. :)
Resolves #2293
I have added ClusterRole/ClusterRoleBinding for applicationset-controller to support ApplicationSet in any namespace.
Checklist: