terraform-provider-argocd icon indicating copy to clipboard operation
terraform-provider-argocd copied to clipboard

Update ArgoCD dependency to v2.4.x

Open sl1pm4t opened this issue 2 years ago • 1 comments

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'

sl1pm4t avatar Sep 07 '22 04:09 sl1pm4t

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.

oboukili avatar Sep 12 '22 09:09 oboukili

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.

github-actions[bot] avatar Sep 27 '22 13:09 github-actions[bot]

Superceded by #207

oboukili avatar Oct 13 '22 15:10 oboukili