File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description: >
55 preconfigured according to the upstream examples/kustomization.yaml structure.
66
77type : application
8- version : 1.0.0
8+ version : 1.0.1
99appVersion : " 1.10.0"
1010
1111home : https://github.com/TheCodingSheikh/helm-charts/tree/main/charts/kubeflow
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ argoProjectName: kubeflow
2929# Namespace where ArgoCD is installed
3030argoNamespace : argocd
3131
32+ # Common annotations for all argo apps
33+ commonAppAnnotations : {}
34+
3235# Destination Kubernetes cluster ArgoCD will deploy to
3336destinationServer : https://kubernetes.default.svc
3437
Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ metadata:
1212 labels :
1313{{ toYaml $config.labels | indent 4 }}
1414 {{- end }}
15- {{- if $config.annotations }}
16- annotations :
17- {{ toYaml $config.annotations | indent 4 }}
18- {{- end }}
15+ {{- $annotations := merge ($root.Values.commonAppAnnotations | default (dict)) ($config.annotations | default (dict)) }}
16+ {{- if $annotations }}
17+ annotations :
18+ {{ toYaml $annotations | indent 4 }}
19+ {{- end }}
1920spec :
2021 project : {{ $root.Values.argoProjectName }}
2122 source :
4849 syncOptions :
4950 - ApplyOutOfSyncOnly=true
5051 - ServerSideApply=true
51-
5252 {{- end }}
5353 {{- end }}
5454{{- end }}
Original file line number Diff line number Diff line change 11argoProjectName : kubeflow
22argoNamespace : argocd
3+ commonAppAnnotations : {}
34destinationServer : https://kubernetes.default.svc
45kubeflowManifestsRepo : https://github.com/kubeflow/manifests
56kubeflowManifestsRepoBranch : HEAD
You can’t perform that action at this time.
0 commit comments