diff --git a/charts/alfresco-common/Chart.yaml b/charts/alfresco-common/Chart.yaml index 3ecbfe47..7f9c7ab5 100644 --- a/charts/alfresco-common/Chart.yaml +++ b/charts/alfresco-common/Chart.yaml @@ -5,7 +5,7 @@ description: | A helper subchart to avoid duplication in alfresco charts and set common external dependencies type: library -version: 3.0.0 +version: 3.1.0 dependencies: - name: common repository: oci://registry-1.docker.io/bitnamicharts diff --git a/charts/alfresco-common/README.md b/charts/alfresco-common/README.md index 67245179..c7a1aa93 100644 --- a/charts/alfresco-common/README.md +++ b/charts/alfresco-common/README.md @@ -1,6 +1,6 @@ # alfresco-common -![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) +![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) A helper subchart to avoid duplication in alfresco charts and set common external dependencies diff --git a/charts/alfresco-common/templates/_helpers-ats.tpl b/charts/alfresco-common/templates/_helpers-ats.tpl new file mode 100644 index 00000000..4c3dd31c --- /dev/null +++ b/charts/alfresco-common/templates/_helpers-ats.tpl @@ -0,0 +1,25 @@ +{{/* + +Render Alfresco Transform Service Router URL + +Usage: include "alfresco-common.transform.fullurl" "URL" + +*/}} +{{- define "alfresco-common.ats.fullurl" -}} +{{- $scheme := include "alfresco-common.url.scheme" . }} +{{- $host := include "alfresco-common.url.host" . }} +{{- printf "%s://%s/transform/config" $scheme $host }} +{{- end -}} + +{{/* + +Render Alfresco Transform ServiceShared Filestore URL + +Usage: include "alfresco-common.sfs.fullurl" "URL" + +*/}} +{{- define "alfresco-common.sfs.fullurl" -}} +{{- $scheme := include "alfresco-common.url.scheme" . }} +{{- $host := include "alfresco-common.url.host" . }} +{{- printf "%s://%s/alfresco/api/-default-/private/sfs/versions/1/file/" $scheme $host }} +{{- end -}}