Commit ce15184e authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Add support for when settings for external diffs

Signed-off-by: Balasankar "Balu" C's avatarBalasankar "Balu" C <balasankar@gitlab.com>
parent cb1d4bb4
---
title: Add support for when setting for external diffs
merge_request: 743
author:
type: added
......@@ -81,6 +81,7 @@ data:
enabled: {{ if kindIs "bool" $.Values.global.appConfig.packages.enabled }}{{ eq $.Values.global.appConfig.packages.enabled true }}{{ end }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "packages" "config" $.Values.global.appConfig.packages "context" $) | nindent 8 }}
external_diffs:
when: {{ $.Values.global.appConfig.externalDiffs.when }}
enabled: {{ if kindIs "bool" $.Values.global.appConfig.externalDiffs.enabled }}{{ eq $.Values.global.appConfig.externalDiffs.enabled true }}{{ end }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "external_diffs" "config" $.Values.global.appConfig.externalDiffs "context" $) | nindent 8 }}
{{- include "gitlab.appConfig.pseudonymizer.configuration" $ | nindent 6 }}
......
......@@ -91,6 +91,7 @@ global:
bucket:
connection: {}
externalDiffs:
when:
proxy_download: true
bucket:
connection: {}
......
......@@ -52,6 +52,7 @@ data:
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "packages" "config" $.Values.global.appConfig.packages "context" $) | nindent 8 }}
external_diffs:
enabled: {{ if kindIs "bool" $.Values.global.appConfig.externalDiffs.enabled }}{{ eq $.Values.global.appConfig.externalDiffs.enabled true }}{{ end }}
when: {{ $.Values.global.appConfig.externalDiffs.when }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "external_diffs" "config" $.Values.global.appConfig.externalDiffs "context" $) | nindent 8 }}
{{- include "gitlab.appConfig.pseudonymizer.configuration" $ | nindent 6 }}
pages:
......
......@@ -55,6 +55,7 @@ global:
bucket:
connection: {}
externalDiffs:
when:
proxy_download: true
bucket:
connection: {}
......
......@@ -110,6 +110,7 @@ data:
enabled: {{ if kindIs "bool" $.Values.global.appConfig.packages.enabled }}{{ eq $.Values.global.appConfig.packages.enabled true }}{{ end }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "packages" "config" $.Values.global.appConfig.packages "context" $) | nindent 8 }}
external_diffs:
when: {{ $.Values.global.appConfig.externalDiffs.when }}
enabled: {{ if kindIs "bool" $.Values.global.appConfig.externalDiffs.enabled }}{{ eq $.Values.global.appConfig.externalDiffs.enabled true }}{{ end }}
{{- include "gitlab.appConfig.objectStorage.configuration" (dict "name" "external_diffs" "config" $.Values.global.appConfig.externalDiffs "context" $) | nindent 8 }}
pages:
......
......@@ -118,6 +118,7 @@ global:
bucket:
connection: {}
externalDiffs:
when:
proxy_download: true
bucket:
connection: {}
......
......@@ -157,6 +157,7 @@ global:
bucket: gitlab-packages
connection: {}
externalDiffs:
when:
bucket: gitlab-mr-diffs
connection: {}
......
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