Skip to content

Commit 67943a2

Browse files
committed
Fix graphs ApplicationSet: use .path.filename instead of .path.basename for unique names
1 parent 9b963ea commit 67943a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

argocd/bootstrap/graphs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
- path: '{{.metadata.annotations.rgds_path}}/graphs/**/*.yaml'
2323
template:
2424
metadata:
25-
name: '{{- if .path }}{{ .path.basename }}-{{ .name }}{{- else }}{{ .name }}{{- end }}'
25+
name: '{{- if .path }}{{ .path.filename }}-{{ .name }}{{- else }}{{ .name }}{{- end }}'
2626
labels:
2727
app.kubernetes.io/part-of: graphs
2828
cluster: '{{.name}}'

0 commit comments

Comments
 (0)