Skip to content

Commit

Permalink
fix(registry) Registry configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Péronnet <pierre.peronnet@corp.ovh.com>
  • Loading branch information
holyhope committed Jan 28, 2020
1 parent 3d577e8 commit 4ad57e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/templates/registry/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ storage:
dryrun: false
readonly:
enabled: false
{{ range file.Walk ( env.Getenv "STORAGE_CONFIG" ) }}
{{- if not (file.IsDir .) }}
{{- filepath.Base . | strings.Indent 1 " " }}:
{{- file.Read . | data.YAML | data.ToYAML | strings.Indent 2 " " }}
{{- range file.Walk ( env.Getenv "STORAGE_CONFIG" ) }}
{{- if not ( file.IsDir . ) }}
{{- "\n" -}}{{ filepath.Base . | strings.Indent 1 " " }}:
{{- "\n" -}}{{ file.Read . | data.YAML | data.ToYAML | strings.Indent 2 " " }}
{{- end }}
{{- end }}

0 comments on commit 4ad57e9

Please sign in to comment.