Skip to content

Commit

Permalink
Merge pull request #94 from yjinjo/master
Browse files Browse the repository at this point in the history
Change opencost yaml format
  • Loading branch information
yjinjo authored Apr 18, 2024
2 parents 027d5d7 + 86d1d34 commit 1c0537f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/cloudforet/console_api_v2/service/agent_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,18 @@ def _construct_yaml_format(params: dict) -> dict:
"username": service_account_id,
"password": token,
},
},
}
},
"opencost": {
"opencost": {
"opencost": {
"exporter": {
"defaultClusterId": cluster_name,
"extraEnv": {
"PROMETHEUS_HEADER_X_SCOPE_ORGID": service_account_id
},
"exporter": {
"defaultClusterId": cluster_name,
"extraEnv": {
"PROMETHEUS_HEADER_X_SCOPE_ORGID": service_account_id
},
"prometheus": {"external": {"url": prometheus_external_url}},
}
},
},
"prometheus": {"external": {"url": prometheus_external_url}},
}
},
}

Expand Down

0 comments on commit 1c0537f

Please sign in to comment.