Skip to content

Commit

Permalink
Explain mutability of bastion configuration in CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
apricote committed Mar 31, 2022
1 parent 5d7d0a3 commit 47fbf53
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 7 deletions.
4 changes: 4 additions & 0 deletions api/v1alpha3/openstackcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ type OpenStackClusterSpec struct {
ControlPlaneAvailabilityZones []string `json:"controlPlaneAvailabilityZones,omitempty"`

// Bastion is the OpenStack instance to login the nodes
//
// As a rolling update is not ideal during a bastion host session, we
// prevent changes to a running bastion configuration. Set `enabled: false` to
// make changes.
//+optional
Bastion *Bastion `json:"bastion,omitempty"`
}
Expand Down
4 changes: 4 additions & 0 deletions api/v1alpha4/openstackcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ type OpenStackClusterSpec struct {
ControlPlaneAvailabilityZones []string `json:"controlPlaneAvailabilityZones,omitempty"`

// Bastion is the OpenStack instance to login the nodes
//
// As a rolling update is not ideal during a bastion host session, we
// prevent changes to a running bastion configuration. Set `enabled: false` to
// make changes.
//+optional
Bastion *Bastion `json:"bastion,omitempty"`

Expand Down
4 changes: 4 additions & 0 deletions api/v1beta1/openstackcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ type OpenStackClusterSpec struct {
ControlPlaneAvailabilityZones []string `json:"controlPlaneAvailabilityZones,omitempty"`

// Bastion is the OpenStack instance to login the nodes
//
// As a rolling update is not ideal during a bastion host session, we
// prevent changes to a running bastion configuration. Set `enabled: false` to
// make changes.
//+optional
Bastion *Bastion `json:"bastion,omitempty"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ spec:
APIServer will be created
type: integer
bastion:
description: Bastion is the OpenStack instance to login the nodes
description: "Bastion is the OpenStack instance to login the nodes
\n As a rolling update is not ideal during a bastion host session,
we prevent changes to a running bastion configuration. Set `enabled:
false` to make changes."
properties:
availabilityZone:
type: string
Expand Down Expand Up @@ -1106,7 +1109,10 @@ spec:
APIServer will be created
type: integer
bastion:
description: Bastion is the OpenStack instance to login the nodes
description: "Bastion is the OpenStack instance to login the nodes
\n As a rolling update is not ideal during a bastion host session,
we prevent changes to a running bastion configuration. Set `enabled:
false` to make changes."
properties:
availabilityZone:
type: string
Expand Down Expand Up @@ -2510,7 +2516,10 @@ spec:
APIServer will be created
type: integer
bastion:
description: Bastion is the OpenStack instance to login the nodes
description: "Bastion is the OpenStack instance to login the nodes
\n As a rolling update is not ideal during a bastion host session,
we prevent changes to a running bastion configuration. Set `enabled:
false` to make changes."
properties:
availabilityZone:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ spec:
on the APIServer will be created
type: integer
bastion:
description: Bastion is the OpenStack instance to login the
nodes
description: "Bastion is the OpenStack instance to login the
nodes \n As a rolling update is not ideal during a bastion
host session, we prevent changes to a running bastion configuration.
Set `enabled: false` to make changes."
properties:
availabilityZone:
type: string
Expand Down Expand Up @@ -775,8 +777,10 @@ spec:
on the APIServer will be created
type: integer
bastion:
description: Bastion is the OpenStack instance to login the
nodes
description: "Bastion is the OpenStack instance to login the
nodes \n As a rolling update is not ideal during a bastion
host session, we prevent changes to a running bastion configuration.
Set `enabled: false` to make changes."
properties:
availabilityZone:
type: string
Expand Down

0 comments on commit 47fbf53

Please sign in to comment.