Skip to content

argocd_application_set - spec.generator.matrix.generator.matrix.generator.git add support to requeue_after_seconds #686

@dtrouillet

Description

@dtrouillet

Description

The requeue_after_seconds is not present to configure this ressource on spec.generator.matrix.generator.matrix.generator.git documented here https://argo-cd.readthedocs.io/en/latest/operator-manual/applicationset/applicationset-specification/#applicationset-specification

Potential Terraform Configuration

 spec {
    dynamic "sync_policy" {
      content {
        applications_sync = "create-update"
      }
    }
    generator {
      matrix {
        generator {
          matrix {
            generator {
              scm_provider {
                bitbucket_server {
                  all_branches = true
                  api          = var.bitbucket_url
                  project      = "MYPROJET"
                  basic_auth {
                    password_ref {
                      key         = "pass"
                      secret_name = "mysecret"
                    }
                    username = var.bitbucket_user
                  }
                }
                clone_protocol = "ssh"
                filter {
                  repository_match = "^myrepo$"
                }
              }
            }
            generator {
              git {
                requeue_after_seconds = 600 # want this param
                repo_url              = "{{ .url }}"
                revision              = "{{ .branch }}"
                file {
                  path = "test.yaml"
                }
              }
            }
          }
        }
      }
    }
  }
}

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions