Fix path to credentials

This commit is contained in:
bom 2022-12-29 10:23:13 +01:00
parent 1b7f0fa5d7
commit 0a31d249b1

View file

@ -44,8 +44,8 @@ class C4kMixin(DevopsBuild):
def write_c4k_auth(self): def write_c4k_auth(self):
self.c4k_mixin_auth.update({'mon-auth': { self.c4k_mixin_auth.update({'mon-auth': {
'grafana-cloud-user': gopass_field_from_path('server/meissa/grafana_cloud', 'grafana-cloud-user'), 'grafana-cloud-user': gopass_field_from_path('server/meissa/grafana-cloud', 'grafana-cloud-user'),
'grafana-cloud-password': gopass_password_from_path('server/meissa/grafana_cloud') 'grafana-cloud-password': gopass_password_from_path('server/meissa/grafana-cloud')
}}) }})
with open(self.build_path() + '/out_auth.edn', 'w') as output_file: with open(self.build_path() + '/out_auth.edn', 'w') as output_file:
output_file.write(self.__generate_clojure_map(self.c4k_mixin_auth)) output_file.write(self.__generate_clojure_map(self.c4k_mixin_auth))