Skip to content

Commit 7533222

Browse files
authored
scope CLUSTER_NAME with USER (#66)
1 parent 5e62128 commit 7533222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

applications/wg-easy/Taskfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ vars:
1616
REPLICATED_LICENSE_ID: '{{.REPLICATED_LICENSE_ID}}'
1717

1818
# Cluster configuration
19-
CLUSTER_NAME: '{{.CLUSTER_NAME | default "test-cluster"}}'
19+
CLUSTER_NAME: '{{.CLUSTER_NAME | default (printf "%s-cluster" (or (env "USER") "wg-easy-dev"))}}'
2020
K8S_VERSION: '{{.K8S_VERSION | default "1.32.2"}}'
2121
DISK_SIZE: '{{.DISK_SIZE | default "100"}}'
2222
INSTANCE_TYPE: '{{.INSTANCE_TYPE | default "r1.small"}}'
2323
DISTRIBUTION: '{{.DISTRIBUTION | default "k3s"}}'
24-
KUBECONFIG_FILE: './{{.CLUSTER_NAME}}.kubeconfig'
24+
KUBECONFIG_FILE: './test-cluster.kubeconfig'
2525

2626
# Ports configuration
2727
EXPOSE_PORTS:

0 commit comments

Comments
 (0)