Support Kustomize patches
dorsegal opened this issue · 2 comments
dorsegal commented
Argocd allow to define patches in application CRD
https://argo-cd.readthedocs.io/en/stable/user-guide/kustomize/#patches
According to latest version I don't see patches as one of the attributes
https://registry.terraform.io/providers/oboukili/argocd/latest/docs/resources/application#nestedblock--spec--source--kustomize
It will be much helpful to implement this.
chidambaram27 commented
planned to have the patches attribute like the mentioned example
kustomize {
patches {
target {
kind = "Deployment"
name = "the-deployment"
}
patch = <<-EOT
- op: replace
path: /spec/template/spec/containers/0/name
value: the-container-1
EOT
}
}
This block can be repeated in case multiple patches needed