Skip to content

Commit

Permalink
ubc-eoas: enable and configure aws-ce-grafana backend
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed Nov 7, 2024
1 parent 09fc85c commit 18fb5be
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
8 changes: 8 additions & 0 deletions config/clusters/ubc-eoas/support.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ prometheus:
- secretName: prometheus-tls
hosts:
- prometheus.ubc-eoas.2i2c.cloud

aws-ce-grafana-backend:
enabled: true
envBasedConfig:
clusterName: ubc-eoas
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::259060176665:role/aws_ce_grafana_backend_iam_role
9 changes: 6 additions & 3 deletions terraform/aws/projects/ubc-eoas.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@ region = "ca-central-1"
cluster_name = "ubc-eoas"
cluster_nodes_location = "ca-central-1a"

enable_aws_ce_grafana_backend_iam = true

user_buckets = {
"scratch-staging" : {
"delete_after" : 7
"delete_after" : 7,
"tags" : { "2i2c:hub-name" : "staging" },
},
"scratch" : {
"delete_after" : 7
"delete_after" : 7,
"tags" : { "2i2c:hub-name" : "prod" },
},
}


hub_cloud_permissions = {
"staging" : {
"user-sa" : {
Expand Down

0 comments on commit 18fb5be

Please sign in to comment.