Skip to content

Commit

Permalink
[forge][fgi] rename cluster names to diem
Browse files Browse the repository at this point in the history
  • Loading branch information
rustielin committed Mar 2, 2022
1 parent 094ca3f commit 0aa82a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/fgi/kube.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def create_forge_job(context, user, tag, base_tag, timeout_secs, forge_envs, for


def get_cluster_context(cluster_name):
return f"arn:aws:eks:us-west-2:{AWS_ACCOUNT}:cluster/libra-{cluster_name}"
return f"arn:aws:eks:us-west-2:{AWS_ACCOUNT}:cluster/diem-{cluster_name}"


def get_cluster_name_from_context(context):
Expand Down Expand Up @@ -186,7 +186,7 @@ def kube_init_context(workspace=None):
"us-west-2",
"describe-cluster",
"--name",
f"libra-{FORGE_K8S_CLUSTERS[0]}",
f"diem-{FORGE_K8S_CLUSTERS[0]}",
],
stdout=subprocess.DEVNULL,
)
Expand All @@ -204,7 +204,7 @@ def kube_init_context(workspace=None):
"us-west-2",
"update-kubeconfig",
"--name",
f"libra-{cluster}",
f"diem-{cluster}",
]
)

Expand Down

0 comments on commit 0aa82a3

Please sign in to comment.