Open martijnvdp opened 10 months ago
closed issue that looks a bit like this https://github.com/argoproj/argo-cd/issues/12487
I also got the same problem by having both Kustomize and Helm chart as sources.
My argo-cd version:
{
"Version": "v2.9.3+6eba5be",
"BuildDate": "2023-12-01T23:05:50Z",
"GitCommit": "6eba5be864b7e031871ed7698f5233336dfe75c7",
"GitTreeState": "clean",
"GoVersion": "go1.21.3",
"Compiler": "gc",
"Platform": "linux/amd64",
"KustomizeVersion": "v5.2.1 2023-10-19T20:13:51Z",
"HelmVersion": "v3.13.2+g2a2fb3b",
"KubectlVersion": "v0.24.2",
"JsonnetVersion": "v0.20.0"
}
My applicationset yaml:
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: traccar
namespace: argocd
spec:
generators:
- list:
elements:
- cluster: sample
url: https://<REDACTED>
branch: main
template:
metadata:
name: "traccar-{{cluster}}"
labels:
environment: "{{cluster}}"
app: traccar
spec:
project: default
sources:
- path: "apps/traccar/overlays/{{cluster}}"
repoURL: <REDACTED>
targetRevision: "{{ branch }}"
- chart: traccar
repoURL: https://traccar.github.io/traccar-helm/
targetRevision: 1.8.0
helm:
releaseName: traccar
valueFiles:
- $valuesRepo/apps/traccar/helm/values-master.yaml
- $valuesRepo/apps/traccar/helm/values-{{cluster}}.yaml
- ref: valuesRepo
repoURL: <REDACTED>
targetRevision: "{{ branch }}"
syncPolicy:
syncOptions:
- CreateNamespace=true
destination:
server: "{{url}}"
namespace: "traccar"
Result when trying to view the parameters on the UI:
I can't even use the UI now.... I keep getting this error no matter what.
Any update on that?
Also busted for me.
A similar issue for me, any update on the fix for this
Checklist:
argocd version
.Describe the bug When using a multi source Application with a helm chart and a kustomize file in the repository we often get an error when we try to view the parameters tab of the application in the GUI
TypeError: Cannot read properties of undefined (reading 'kustomize'
To Reproduce first off it seems to occur randomly so sometimes it works ok and you dont get an error
in the repo deployments/alb-ingress/overlay/test/cluster-1
iun addition we have a kustomize.yaml to include extra manifest to the deployment
Expected behavior
expected to see the application parameters
Screenshots
Version
Logs