Skip to content

Commit

Permalink
fix yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasgiese committed Jul 13, 2021
1 parent f09cb27 commit f80a98b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 36 deletions.
9 changes: 3 additions & 6 deletions templates/cluster-template-external-cloud-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ metadata:
name: ${CLUSTER_NAME}
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
managedAPIServerLoadBalancer: true
managedSecurityGroups: true
nodeCidr: 10.6.0.0/24
Expand Down Expand Up @@ -74,8 +73,7 @@ spec:
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
---
apiVersion: cluster.x-k8s.io/v1alpha4
kind: MachineDeployment
Expand Down Expand Up @@ -109,8 +107,7 @@ spec:
template:
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
flavor: ${OPENSTACK_NODE_MACHINE_FLAVOR}
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
Expand Down
9 changes: 3 additions & 6 deletions templates/cluster-template-without-lb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ metadata:
name: ${CLUSTER_NAME}
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
managedSecurityGroups: true
nodeCidr: 10.6.0.0/24
dnsNameservers:
Expand Down Expand Up @@ -102,8 +101,7 @@ spec:
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
---
apiVersion: cluster.x-k8s.io/v1alpha4
kind: MachineDeployment
Expand Down Expand Up @@ -137,8 +135,7 @@ spec:
template:
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
flavor: ${OPENSTACK_NODE_MACHINE_FLAVOR}
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
Expand Down
9 changes: 3 additions & 6 deletions templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ metadata:
name: ${CLUSTER_NAME}
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
managedAPIServerLoadBalancer: true
managedSecurityGroups: true
nodeCidr: 10.6.0.0/24
Expand Down Expand Up @@ -103,8 +102,7 @@ spec:
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
---
apiVersion: cluster.x-k8s.io/v1alpha4
kind: MachineDeployment
Expand Down Expand Up @@ -138,8 +136,7 @@ spec:
template:
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
flavor: ${OPENSTACK_NODE_MACHINE_FLAVOR}
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ metadata:
name: ${CLUSTER_NAME}
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
managedAPIServerLoadBalancer: true
managedSecurityGroups: true
nodeCidr: 10.6.0.0/24
Expand Down Expand Up @@ -94,8 +93,7 @@ spec:
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
---
apiVersion: cluster.x-k8s.io/v1alpha4
kind: MachineDeployment
Expand Down Expand Up @@ -129,8 +127,7 @@ spec:
template:
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
flavor: ${OPENSTACK_NODE_MACHINE_FLAVOR}
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ metadata:
name: ${CLUSTER_NAME}
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
managedSecurityGroups: true
nodeCidr: 10.6.0.0/24
dnsNameservers:
Expand Down Expand Up @@ -110,8 +109,7 @@ spec:
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
---
apiVersion: cluster.x-k8s.io/v1alpha4
kind: MachineDeployment
Expand Down Expand Up @@ -145,8 +143,7 @@ spec:
template:
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
flavor: ${OPENSTACK_NODE_MACHINE_FLAVOR}
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
Expand Down
9 changes: 3 additions & 6 deletions test/e2e/data/infrastructure-openstack/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ metadata:
name: ${CLUSTER_NAME}
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
managedAPIServerLoadBalancer: true
managedSecurityGroups: true
nodeCidr: 10.6.0.0/24
Expand Down Expand Up @@ -111,8 +110,7 @@ spec:
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
---
apiVersion: cluster.x-k8s.io/v1alpha4
kind: MachineDeployment
Expand Down Expand Up @@ -146,8 +144,7 @@ spec:
template:
spec:
cloudName: ${OPENSTACK_CLOUD}
cloudsSecret:
name: ${CLUSTER_NAME}-cloud-config
cloudsSecret: ${CLUSTER_NAME}-cloud-config
flavor: ${OPENSTACK_NODE_MACHINE_FLAVOR}
image: ${OPENSTACK_IMAGE_NAME}
sshKeyName: ${OPENSTACK_SSH_KEY_NAME}
Expand Down

0 comments on commit f80a98b

Please sign in to comment.