Adding patches to kustomize requires that the kustomization file have a .yaml
extension
#21914
Open
1 of 3 tasks
Labels
bug
Something isn't working
Checklist:
argocd version
.Describe the bug
Kustomize allows a couple different file names for the kustomization file. If the
patches
option is included in the kustomization section of an appset file the only allowed filename iskustomization.yaml
, causing previously working deployments to break.To Reproduce
argoproj.io/v1alpha1.Application
without apatches
key underspec.source.kustomize
.code = Unknown desc = Manifest generation error (cached): failed to load kustomization.yaml
kustomization.yml
from item 1 tokustomization.yaml
Expected behavior
There should not be any required changes to the file name when introducing supported features.
Screenshots
Version
Logs
Here are the relevant files:
argo-cd/util/kustomize/kustomize.go
Line 259 in feb7097
argo-cd/util/kustomize/kustomize.go
Line 392 in feb7097
The text was updated successfully, but these errors were encountered: