Skip to content

Commit 3040f8d

Browse files
authored
Configure server group of the openstack VM (#1169)
Signed-off-by: Artiom Diomin <[email protected]>
1 parent 4e40ef0 commit 3040f8d

File tree

5 files changed

+103
-561
lines changed

5 files changed

+103
-561
lines changed

examples/openstack-machinedeployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ spec:
128128
computeAPIVersion: "2.67"
129129
image: "Ubuntu 18.04 amd64"
130130
flavor: "m1.small"
131+
# UUID of the server group
132+
# used to configure affinity or anti-affinity of the VM instaces relative to hypervisor
133+
serverGroup: ""
131134
rhsmOfflineToken: "<< REDHAT_SUBSCRIPTIONS_OFFLINE_TOKEN >>"
132135
securityGroups:
133136
- configMapKeyRef:

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ require (
2121
github.com/ghodss/yaml v1.0.0
2222
github.com/go-test/deep v1.0.7
2323
github.com/google/uuid v1.1.2
24-
github.com/gophercloud/gophercloud v0.14.0
24+
github.com/gophercloud/gophercloud v0.24.0
2525
github.com/heptiolabs/healthcheck v0.0.0-20180807145615-6ff867650f40
2626
github.com/hetznercloud/hcloud-go v1.25.0
2727
github.com/linode/linodego v0.24.0
@@ -35,7 +35,7 @@ require (
3535
github.com/sethvargo/go-password v0.2.0
3636
github.com/tinkerbell/tink v0.0.0-20210315140655-1b178daeaeda
3737
github.com/vmware/govmomi v0.23.1
38-
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
38+
golang.org/x/crypto v0.0.0-20211202192323-5770296d904e
3939
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c
4040
gomodules.xyz/jsonpatch/v2 v2.2.0
4141
google.golang.org/api v0.36.0

0 commit comments

Comments
 (0)