terraform-provider-argocd
terraform-provider-argocd copied to clipboard
Update ArgoCD dependency to v2.4.x
Requires removal of ksonnet support, which has been removed from ArgoCD itself.
The motivation for upgrading the API is to get support for managing the new RBAC types introduced in v2.4.0 - i.e.exec
and logs
.
Currently when I try create RBAC rules for these types:
resource "argocd_project" "proj" {
...
spec {
...
role {
name = "${var.project_name}-admin"
policies = [
"p, proj:${var.project_name}:${var.project_name}-admin, exec, create, ${var.project_name}/*, allow",
]
}
I get the following error
invalid policy rule 'p, proj:warm-escargot:warm-escargot-admin, exec, create, warm-escargot/*, allow': project resource must be: 'applications', not 'exec'
Hi there, thanks for your contribution. It would seem there are dependencies issues, could you try and iron them out? The tests should run automatically without waiting for a manual approval to run them now.
This pr is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Superceded by #207