+# This is a work around for the bronze release to be backward compatible to the previous xapp standard helm template
+ def write_config_and_schema(self):
+ os.makedirs(self.chart_workspace_path + '/' + self.chart_name + '/descriptors')
+ os.makedirs(self.chart_workspace_path + '/' + self.chart_name + '/config')
+ with open(self.chart_workspace_path + '/' + self.chart_name + '/descriptors/schema.json', 'w') as outfile:
+ json.dump(self.schema_file, outfile)
+ with open(self.chart_workspace_path + '/' + self.chart_name + '/config/config-file.json', 'w') as outfile:
+ json.dump(self.config_file, outfile)
+
+
+