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 9451437
Show file tree
Hide file tree
Showing 6 changed files with 7 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 @@ -5,6 +5,7 @@ metadata:
namespace: ${NAMESPACE}
spec:
template: aws-hosted-cp
credential: ${AWS_CLUSTER_IDENTITY}-cred
config:
clusterIdentity:
name: ${AWS_CLUSTER_IDENTITY}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
namespace: ${NAMESPACE}
spec:
template: aws-standalone-cp
credential: ${AWS_CLUSTER_IDENTITY}-cred
config:
clusterIdentity:
name: ${AWS_CLUSTER_IDENTITY}
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 @@ -5,6 +5,7 @@ metadata:
namespace: ${NAMESPACE}
spec:
template: azure-hosted-cp
credential: ${AZURE_CLUSTER_IDENTITY}-cred
config:
location: "westus"
subscriptionID: "${AZURE_SUBSCRIPTION_ID}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
namespace: ${NAMESPACE}
spec:
template: azure-standalone-cp
credential: ${AZURE_CLUSTER_IDENTITY}-cred
config:
controlPlaneNumber: 1
workersNumber: 1
Expand All @@ -14,6 +15,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 @@ -4,6 +4,7 @@ metadata:
name: ${MANAGED_CLUSTER_NAME}-vsphere
spec:
template: vsphere-hosted-cp
credential: ${VSPHERE_CLUSTER_IDENTITY}-cred
config:
controlPlaneNumber: ${CONTROL_PLANE_NUMBER:=1}
workersNumber: ${WORKERS_NUMBER:=1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: ${MANAGED_CLUSTER_NAME}-vsphere
spec:
template: vsphere-standalone-cp
credential: ${VSPHERE_CLUSTER_IDENTITY}-cred
config:
controlPlaneNumber: ${CONTROL_PLANE_NUMBER:=1}
workersNumber: ${WORKERS_NUMBER:=1}
Expand Down

0 comments on commit 9451437

Please sign in to comment.