Skip to content

Add attribute caRef and insecure to generator Gitlab for resource argocd_application_set #669

@Thugmas

Description

@Thugmas

Description

In the argocd_application_set resource, for the generator gitlab, it should be possible to setup caRef and insecure as said in the documentation of ArgoCD

Potential Terraform Configuration

resource "argocd_application_set" "exemple_appset" {
  metadata {
    name = "merge-request-appset"
  }

  spec {
    generator {
      pull_request {
        gitlab {
          project            = var.gitlab_project_id
          api                = "https://gitlab.example.com/"
          pull_request_state = "opened"
          caRef {
            configMapName = "argocd-tls-certs-cm"
            key           = "gitlab.example.com"
          }
        }
      }
    }
...

References

ArgoCD documentation of generator Gitlab for AppSet

Terraform provider documentation of resource argocd_application_set

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

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions