Skip to content

Commit

Permalink
Remove serviceAccount from Octavia
Browse files Browse the repository at this point in the history
serviceAccount is not used in Octavia (only used in AmphoraControllers
and API)..
  • Loading branch information
gthiemonge committed Mar 28, 2024
1 parent 105adb5 commit a58ce50
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
7 changes: 1 addition & 6 deletions api/bases/octavia.openstack.org_octavias.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1164,10 +1164,6 @@ spec:
description: Secret containing OpenStack password information for
octavia's keystone password; no longer used for database password
type: string
serviceAccount:
description: ServiceAccount - service account name used internally
to provide Octavia services the default SA name
type: string
serviceUser:
default: octavia
description: ServiceUser - service user name
Expand All @@ -1186,15 +1182,14 @@ spec:
tenantName:
default: service
description: TenantName - the name of the OpenStack tenant that controls
the Octavia resources TODO(gthiemonge) same as ServiceAccount?
the Octavia resources
type: string
required:
- apacheContainerImage
- databaseInstance
- octaviaAPI
- rabbitMqClusterName
- secret
- serviceAccount
type: object
status:
description: OctaviaStatus defines the observed state of Octavia
Expand Down
5 changes: 0 additions & 5 deletions api/v1beta1/octavia_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ type OctaviaSpecBase struct {
// +kubebuilder:validation:Optional
// +kubebuilder:default=service
// TenantName - the name of the OpenStack tenant that controls the Octavia resources
// TODO(gthiemonge) same as ServiceAccount?
TenantName string `json:"tenantName"`

// +kubebuilder:validation:Optional
Expand All @@ -182,10 +181,6 @@ type OctaviaSpecBase struct {
// AmphoraCustomFlavors - User-defined flavors for Octavia
AmphoraCustomFlavors []OctaviaAmphoraFlavor `json:"amphoraCustomFlavors,omitempty"`

// +kubebuilder:validation:Required
// ServiceAccount - service account name used internally to provide Octavia services the default SA name
ServiceAccount string `json:"serviceAccount"`

// +kubebuilder:validation:Optional
// Resources - Compute Resources required by this service (Limits/Requests).
// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
Expand Down
7 changes: 1 addition & 6 deletions config/crd/bases/octavia.openstack.org_octavias.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1164,10 +1164,6 @@ spec:
description: Secret containing OpenStack password information for
octavia's keystone password; no longer used for database password
type: string
serviceAccount:
description: ServiceAccount - service account name used internally
to provide Octavia services the default SA name
type: string
serviceUser:
default: octavia
description: ServiceUser - service user name
Expand All @@ -1186,15 +1182,14 @@ spec:
tenantName:
default: service
description: TenantName - the name of the OpenStack tenant that controls
the Octavia resources TODO(gthiemonge) same as ServiceAccount?
the Octavia resources
type: string
required:
- apacheContainerImage
- databaseInstance
- octaviaAPI
- rabbitMqClusterName
- secret
- serviceAccount
type: object
status:
description: OctaviaStatus defines the observed state of Octavia
Expand Down

0 comments on commit a58ce50

Please sign in to comment.