commit | cfdff5dd90a2996416e54e5d8986d54a243b43f7 | [log] [tgz] |
---|---|---|
author | Sean Condon <sean@opennetworking.org> | Tue Dec 14 09:59:24 2021 +0000 |
committer | Sean Condon <sean@opennetworking.org> | Tue Dec 14 14:08:38 2021 +0000 |
tree | c38f5c7a649e23d236f0a586a5268052d06b75f5 | |
parent | f862d5b775e6b57f89bb67eb1a9cbd9d51725d60 [diff] |
AETHER-2841 convert configuration to YAML Change-Id: I7682081e26638249722c6467c74e255e20336821
diff --git a/chronos-exporter/templates/configmap.yaml b/chronos-exporter/templates/configmap.yaml index 5090a7e..dd502ed 100644 --- a/chronos-exporter/templates/configmap.yaml +++ b/chronos-exporter/templates/configmap.yaml
@@ -12,7 +12,5 @@ release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" data: - {{ $root := . }} - {{ range $path, $bytes := .Files.Glob "files/configs/*.json" }} - {{ base $path }}: '{{ $root.Files.Get $path }}' - {{ end }} +{{ (.Files.Glob "files/configs/*.yaml").AsConfig | indent 2 }} +