Skip to content

Commit

Permalink
support insight zeppelin appVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Apr 18, 2024
1 parent 9421c1b commit 3cb55a8
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions deployments/uber-manifest.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ sources:
pattern: >-
^{{ index . "acs" "version" }}{{ index . "acs" "pattern" }}$
{{- end }}
{{- if index . "insight-zeppelin" }}
{{ with index . "insight-zeppelin" }}
{{ $image := "quay.io/alfresco/insight-zeppelin" }}
insightZeppelinTag_{{ $id }}:
name: Alfresco Insight Zeppelin
Expand All @@ -105,7 +105,7 @@ sources:
versionFilter:
kind: regex
pattern: >-
^{{ index . "insight-zeppelin" "version" }}{{ index . "insight-zeppelin" "pattern" }}$
^{{ .version }}{{ .pattern }}$
{{- end }}
{{- if index . "search-enterprise" }}
searchEnterpriseTag_{{ $id }}:
Expand Down Expand Up @@ -383,17 +383,27 @@ targets:
key: "$.appVersion"
{{- end }}
{{- end }}
{{- if index . "insight-zeppelin" }}
{{- if index . "insight-zeppelin" "helm_target" }}
{{- with index . "insight-zeppelin" }}
{{ $target_insight_zeppelin_helm := .helm_target }}
{{- if $target_insight_zeppelin_helm }}
insightZeppelinValues_{{ $id }}:
name: Alfresco Insight Zeppelin image tag
kind: yaml
sourceid: insightZeppelinTag_{{ $id }}
spec:
file: {{ index . "insight-zeppelin" "helm_target" }}
file: {{ $target_insight_zeppelin_helm }}
key: >-
{{ index . "insight-zeppelin" "helm_key" }}
{{- end }}
{{- if index . "insight-zeppelin" "helm_update_appVersion" }}
insightZeppelinAppVersion_{{ $id }}:
name: Alfresco Insight Zeppelin appVersion in Chart.yaml
kind: yaml
sourceid: insightZeppelinTag_{{ $id }}
spec:
file: {{ osDir $target_insight_zeppelin_helm }}/Chart.yaml
key: "$.appVersion"
{{- end }}
{{- end }}
{{- if index . "search" }}
{{- if and .search.compose_key .search.compose_target }}
Expand Down

0 comments on commit 3cb55a8

Please sign in to comment.