Commit 15bfa4dc authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Pass name attribute to objectstorage template

Signed-off-by: Balasankar "Balu" C's avatarBalasankar "Balu" C <balasankar@gitlab.com>
parent 0c92cb53
Pipeline #55450813 failed with stages
in 66 minutes and 37 seconds
......@@ -11,5 +11,5 @@ Usage:
{{- define "gitlab.appConfig.artifacts.configuration" -}}
artifacts:
enabled: {{ if kindIs "bool" .config.enabled }}{{ eq .config.enabled true }}{{ end }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "config" .config "context" .context) | nindent 2 }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "artifacts" "config" .config "context" .context) | nindent 2 }}
{{- end -}}{{/* "gitlab.appConfig.artifacts.configuration" */}}
......@@ -12,5 +12,5 @@ Usage:
external_diffs:
enabled: {{ if kindIs "bool" .config.enabled }}{{ eq .config.enabled true }}{{ end }}
when: {{ .config.when }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "config" .config "context" .context) | nindent 2 }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "external_diffs" "config" .config "context" .context) | nindent 2 }}
{{- end -}}{{/* "gitlab.appConfig.external_diffs.configuration" */}}
......@@ -11,5 +11,5 @@ Usage:
{{- define "gitlab.appConfig.lfs.configuration" -}}
lfs:
enabled: {{ if kindIs "bool" .config.enabled }}{{ eq .config.enabled true }}{{ end }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "config" .config "context" .context) | nindent 2 }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "lfs" "config" .config "context" .context) | nindent 2 }}
{{- end -}}{{/* "gitlab.appConfig.lfs.configuration" */}}
......@@ -11,5 +11,5 @@ Usage:
{{- define "gitlab.appConfig.packages.configuration" -}}
packages:
enabled: {{ if kindIs "bool" .config.enabled }}{{ eq .config.enabled true }}{{ end }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "config" .config "context" .context) | nindent 2 }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "packages" "config" .config "context" .context) | nindent 2 }}
{{- end -}}{{/* "gitlab.appConfig.packages.configuration" */}}
......@@ -11,5 +11,5 @@ Usage:
{{- define "gitlab.appConfig.uploads.configuration" -}}
uploads:
enabled: {{ if kindIs "bool" .config.enabled }}{{ eq .config.enabled true }}{{ end }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "config" .config "context" .context) | nindent 2 }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "uploads" "config" .config "context" .context) | nindent 2 }}
{{- end -}}{{/* "gitlab.appConfig.uploads.configuration" */}}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment