Skip to content

Commit ccb7826

Browse files
Merge pull request #843 from fmount/glance_storage_interface
Bump Glance with the new storage interface
2 parents b89dec8 + 5217e8c commit ccb7826

22 files changed

Lines changed: 106 additions & 78 deletions

‎apis/bases/core.openstack.org_openstackcontrolplanes.yaml‎

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4373,8 +4373,6 @@ spec:
43734373
type: object
43744374
type: object
43754375
type: object
4376-
pvc:
4377-
type: string
43784376
replicas:
43794377
default: 1
43804378
format: int32
@@ -4412,10 +4410,15 @@ spec:
44124410
x-kubernetes-int-or-string: true
44134411
type: object
44144412
type: object
4415-
storageClass:
4416-
type: string
4417-
storageRequest:
4418-
type: string
4413+
storage:
4414+
properties:
4415+
external:
4416+
type: boolean
4417+
storageClass:
4418+
type: string
4419+
storageRequest:
4420+
type: string
4421+
type: object
44194422
tls:
44204423
properties:
44214424
api:
@@ -4443,7 +4446,6 @@ spec:
44434446
type: string
44444447
required:
44454448
- containerImage
4446-
- storageRequest
44474449
type: object
44484450
type: object
44494451
imageCache:
@@ -4506,18 +4508,22 @@ spec:
45064508
serviceUser:
45074509
default: glance
45084510
type: string
4509-
storageClass:
4510-
type: string
4511-
storageRequest:
4512-
type: string
4511+
storage:
4512+
properties:
4513+
external:
4514+
type: boolean
4515+
storageClass:
4516+
type: string
4517+
storageRequest:
4518+
type: string
4519+
type: object
45134520
required:
45144521
- databaseInstance
45154522
- glanceAPIs
45164523
- imageCache
45174524
- keystoneEndpoint
45184525
- memcachedInstance
45194526
- secret
4520-
- storageRequest
45214527
type: object
45224528
type: object
45234529
heat:

‎apis/go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/openstack-k8s-operators/barbican-operator/api v0.0.0-20240617164203-79f227e25054
1111
github.com/openstack-k8s-operators/cinder-operator/api v0.3.1-0.20240612161940-604036e71c7f
1212
github.com/openstack-k8s-operators/designate-operator/api v0.0.0-20240617072628-d9a4e3570a7b
13-
github.com/openstack-k8s-operators/glance-operator/api v0.3.1-0.20240616104609-e296d336e2d0
13+
github.com/openstack-k8s-operators/glance-operator/api v0.3.1-0.20240617143817-90d7bb77c86c
1414
github.com/openstack-k8s-operators/heat-operator/api v0.3.1-0.20240617071814-4b53828cc9b0
1515
github.com/openstack-k8s-operators/horizon-operator/api v0.3.1-0.20240617072342-155b98fbba7f
1616
github.com/openstack-k8s-operators/infra-operator/apis v0.3.1-0.20240617061457-9ce4f0e12b76

‎apis/go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ github.com/openstack-k8s-operators/cinder-operator/api v0.3.1-0.20240612161940-6
9696
github.com/openstack-k8s-operators/cinder-operator/api v0.3.1-0.20240612161940-604036e71c7f/go.mod h1:8Wn6ZAPaJshxozJVPI7uq4qrcUXZmECGAPJK7Ed+uGQ=
9797
github.com/openstack-k8s-operators/designate-operator/api v0.0.0-20240617072628-d9a4e3570a7b h1:KodjRfVnaQt9tRztidjT9F3zpKWmRSc369Z7c1n556c=
9898
github.com/openstack-k8s-operators/designate-operator/api v0.0.0-20240617072628-d9a4e3570a7b/go.mod h1:sN6FNMjzbVZSuh1IzhnVLXwdKvi8LoxuRRGLGT8CRb4=
99-
github.com/openstack-k8s-operators/glance-operator/api v0.3.1-0.20240616104609-e296d336e2d0 h1:Wx4xa5Jh/Wa9pAsoCYROJKycesBAy3RBjf/2WnG1Da8=
100-
github.com/openstack-k8s-operators/glance-operator/api v0.3.1-0.20240616104609-e296d336e2d0/go.mod h1:fYNG/9X9HbQTZkaPo+YLqPu/94dNftw15S58OpQjcZE=
99+
github.com/openstack-k8s-operators/glance-operator/api v0.3.1-0.20240617143817-90d7bb77c86c h1:QuF1kEWBdCgDy6wqcLXMYzK7nUko/uA1S9I1uvhoKpg=
100+
github.com/openstack-k8s-operators/glance-operator/api v0.3.1-0.20240617143817-90d7bb77c86c/go.mod h1:fYNG/9X9HbQTZkaPo+YLqPu/94dNftw15S58OpQjcZE=
101101
github.com/openstack-k8s-operators/heat-operator/api v0.3.1-0.20240617071814-4b53828cc9b0 h1:/nQdWwAE/qHonBXFQv57BNt0+ZGvqoaA2wkdKjLHcC4=
102102
github.com/openstack-k8s-operators/heat-operator/api v0.3.1-0.20240617071814-4b53828cc9b0/go.mod h1:BaF3hWIIaZP8boIwhHdYV/Iz4vda7NQuIgh5l/RhXYo=
103103
github.com/openstack-k8s-operators/horizon-operator/api v0.3.1-0.20240617072342-155b98fbba7f h1:DckJpHSko5A7ea15fq3HBsqLQYTtRHdCxVygHZWbIOI=

‎config/crd/bases/core.openstack.org_openstackcontrolplanes.yaml‎

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4373,8 +4373,6 @@ spec:
43734373
type: object
43744374
type: object
43754375
type: object
4376-
pvc:
4377-
type: string
43784376
replicas:
43794377
default: 1
43804378
format: int32
@@ -4412,10 +4410,15 @@ spec:
44124410
x-kubernetes-int-or-string: true
44134411
type: object
44144412
type: object
4415-
storageClass:
4416-
type: string
4417-
storageRequest:
4418-
type: string
4413+
storage:
4414+
properties:
4415+
external:
4416+
type: boolean
4417+
storageClass:
4418+
type: string
4419+
storageRequest:
4420+
type: string
4421+
type: object
44194422
tls:
44204423
properties:
44214424
api:
@@ -4443,7 +4446,6 @@ spec:
44434446
type: string
44444447
required:
44454448
- containerImage
4446-
- storageRequest
44474449
type: object
44484450
type: object
44494451
imageCache:
@@ -4506,18 +4508,22 @@ spec:
45064508
serviceUser:
45074509
default: glance
45084510
type: string
4509-
storageClass:
4510-
type: string
4511-
storageRequest:
4512-
type: string
4511+
storage:
4512+
properties:
4513+
external:
4514+
type: boolean
4515+
storageClass:
4516+
type: string
4517+
storageRequest:
4518+
type: string
4519+
type: object
45134520
required:
45144521
- databaseInstance
45154522
- glanceAPIs
45164523
- imageCache
45174524
- keystoneEndpoint
45184525
- memcachedInstance
45194526
- secret
4520-
- storageRequest
45214527
type: object
45224528
type: object
45234529
heat:

‎config/samples/core_v1beta1_openstackcontrolplane.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ spec:
5656
template:
5757
secret: osp-secret
5858
databaseInstance: openstack
59-
storageClass: ""
60-
storageRequest: 10G
59+
storage:
60+
storageClass: ""
61+
storageRequest: 10G
6162
keystoneEndpoint: default
6263
glanceAPIs:
6364
default:

‎config/samples/core_v1beta1_openstackcontrolplane_collapsed_cell.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ spec:
4646
template:
4747
secret: osp-secret
4848
databaseInstance: openstack
49-
storageClass: ""
50-
storageRequest: 10G
49+
storage:
50+
storageClass: ""
51+
storageRequest: 10G
5152
keystoneEndpoint: default
5253
glanceAPIs:
5354
default:

‎config/samples/core_v1beta1_openstackcontrolplane_galera.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ spec:
5454
template:
5555
secret: osp-secret
5656
databaseInstance: openstack
57-
storageClass: ""
58-
storageRequest: 10G
57+
storage:
58+
storageClass: ""
59+
storageRequest: 10G
5960
keystoneEndpoint: default
6061
glanceAPIs:
6162
default:

‎config/samples/core_v1beta1_openstackcontrolplane_galera_3replicas.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ spec:
5353
glance:
5454
template:
5555
databaseInstance: openstack
56-
storageClass: ""
57-
storageRequest: 10G
56+
storage:
57+
storageClass: ""
58+
storageRequest: 10G
5859
secret: osp-secret
5960
keystoneEndpoint: default
6061
glanceAPIs:

‎config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ spec:
5555
route: {}
5656
template:
5757
databaseInstance: openstack
58-
storageClass: ""
59-
storageRequest: 10G
58+
storage:
59+
storageClass: ""
60+
storageRequest: 10G
6061
secret: osp-secret
6162
keystoneEndpoint: default
6263
glanceAPIs:

‎config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation_3replicas.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ spec:
7777
route: {}
7878
template:
7979
databaseInstance: openstack
80-
storageClass: ""
81-
storageRequest: 10G
80+
storage:
81+
storageClass: ""
82+
storageRequest: 10G
8283
secret: osp-secret
8384
keystoneEndpoint: default
8485
glanceAPIs:

0 commit comments

Comments
 (0)