Skip to content

Commit

Permalink
Ensure config.credential exists across test templates
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Squizzato <[email protected]>
  • Loading branch information
squizzi committed Oct 1, 2024
1 parent 16a999a commit 62a26cd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/managedcluster/resources/aws-hosted-cp.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
spec:
template: aws-hosted-cp
config:
credential: ${AWS_CLUSTER_IDENTITY}-cred
clusterIdentity:
name: ${AWS_CLUSTER_IDENTITY}
namespace: ${NAMESPACE}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
spec:
template: aws-standalone-cp
config:
credential: ${AWS_CLUSTER_IDENTITY}-cred
clusterIdentity:
name: ${AWS_CLUSTER_IDENTITY}
namespace: ${NAMESPACE}
Expand Down
1 change: 1 addition & 0 deletions test/e2e/managedcluster/resources/azure-hosted-cp.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
spec:
template: azure-hosted-cp
config:
credential: ${AZURE_CLUSTER_IDENTITY}-cred
location: "westus"
subscriptionID: "${AZURE_SUBSCRIPTION_ID}"
vmSize: Standard_A4_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
vmSize: Standard_A4_v2
worker:
vmSize: Standard_A4_v2
credential: ${AZURE_CLUSTER_IDENTITY}-cred
clusterIdentity:
name: ${AZURE_CLUSTER_IDENTITY}
namespace: ${NAMESPACE}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ spec:
config:
controlPlaneNumber: ${CONTROL_PLANE_NUMBER:=1}
workersNumber: ${WORKERS_NUMBER:=1}
credential: ${VSPHERE_CLUSTER_IDENTITY}-cred
clusterIdentity:
name: "${VSPHERE_CLUSTER_IDENTITY}"
vsphere:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ spec:
config:
controlPlaneNumber: ${CONTROL_PLANE_NUMBER:=1}
workersNumber: ${WORKERS_NUMBER:=1}
credential: ${VSPHERE_CLUSTER_IDENTITY}-cred
clusterIdentity:
name: "${VSPHERE_CLUSTER_IDENTITY}"
vsphere:
Expand Down

0 comments on commit 62a26cd

Please sign in to comment.