Skip to content

Commit bf8a23c

Browse files
committed
Add bool for floating ips on worker nodes
1 parent d4baeb1 commit bf8a23c

File tree

5 files changed

+2505
-1803
lines changed

5 files changed

+2505
-1803
lines changed

api/v1alpha5/zz_generated.conversion.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1alpha6/zz_generated.conversion.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1alpha7/openstackcluster_types.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ type OpenStackClusterSpec struct {
7575
// +optional
7676
APIServerLoadBalancer APIServerLoadBalancer `json:"apiServerLoadBalancer,omitempty"`
7777

78+
// EnableWorkersFloatingIP determines whether or not to attempt to attach a floating
79+
// IP to the worker nodes. This allows for the user to white list worker requests in
80+
// external external services.
81+
// It must be activated by setting `enabled: true`.
82+
// +optional
83+
EnableWorkersFloatingIP bool `json:"enableWorkersFloatingIP,omitempty"`
84+
7885
// DisableAPIServerFloatingIP determines whether or not to attempt to attach a floating
7986
// IP to the API server. This allows for the creation of clusters when attaching a floating
8087
// IP to the API server (and hence, in many cases, exposing the API server to the internet)

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackclusters.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4166,6 +4166,12 @@ spec:
41664166
type: string
41674167
type: array
41684168
x-kubernetes-list-type: set
4169+
enableWorkersFloatingIP:
4170+
description: 'EnableWorkersFloatingIP determines whether or not to
4171+
attempt to attach a floating IP to the worker nodes. This allows
4172+
for the user to white list worker requests in external external
4173+
services. It must be activated by setting `enabled: true`.'
4174+
type: boolean
41694175
externalNetworkId:
41704176
description: ExternalNetworkID is the ID of an external OpenStack
41714177
Network. This is necessary to get public internet to the VMs.

0 commit comments

Comments
 (0)