Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/bases/keystone.openstack.org_keystoneapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,7 @@ spec:
- volumes
type: object
type: array
x-kubernetes-list-type: atomic
name:
type: string
region:
Expand Down
3 changes: 2 additions & 1 deletion api/v1beta1/keystoneapi_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import (
"github.com/openstack-k8s-operators/lib-common/modules/common/tls"
"github.com/openstack-k8s-operators/lib-common/modules/common/util"
"github.com/openstack-k8s-operators/lib-common/modules/storage"
"k8s.io/apimachinery/pkg/util/validation/field"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/validation/field"
)

const (
Expand Down Expand Up @@ -347,6 +347,7 @@ type KeystoneExtraMounts struct {
// +kubebuilder:validation:Optional
Region string `json:"region,omitempty"`
// +kubebuilder:validation:Required
// +listType=atomic
VolMounts []storage.VolMounts `json:"extraVol"`
}

Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/keystone.openstack.org_keystoneapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,7 @@ spec:
- volumes
type: object
type: array
x-kubernetes-list-type: atomic
name:
type: string
region:
Expand Down