Skip to content

Commit 3ec7a58

Browse files
committed
Rename InstanceHA to InstanceHa and add image to configmap
This commits renames InstanceHA to InstanceHa to adhere to the openstackversion naming (casing) scheme. It also adds the Infra InstanceHa image to a dedicated configmap so that the infra-operator can watch it and react to changes.
1 parent 3081e6b commit 3ec7a58

25 files changed

Lines changed: 142 additions & 6 deletions

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17611,6 +17611,8 @@ spec:
1761117611
type: string
1761217612
infraDnsmasqImage:
1761317613
type: string
17614+
infraInstanceHaImage:
17615+
type: string
1761417616
infraMemcachedImage:
1761517617
type: string
1761617618
infraRedisImage:

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ spec:
125125
type: string
126126
infraDnsmasqImage:
127127
type: string
128+
infraInstanceHaImage:
129+
type: string
128130
infraMemcachedImage:
129131
type: string
130132
infraRedisImage:
@@ -328,6 +330,8 @@ spec:
328330
type: string
329331
infraDnsmasqImage:
330332
type: string
333+
infraInstanceHaImage:
334+
type: string
331335
infraMemcachedImage:
332336
type: string
333337
infraRedisImage:
@@ -502,6 +506,8 @@ spec:
502506
type: string
503507
infraDnsmasqImage:
504508
type: string
509+
infraInstanceHaImage:
510+
type: string
505511
infraMemcachedImage:
506512
type: string
507513
infraRedisImage:

‎apis/core/v1beta1/conditions.go‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ const (
146146

147147
// OpenStackControlPlaneTestCMReadyCondition Status=True condition which indicates if Test operator CM is ready
148148
OpenStackControlPlaneTestCMReadyCondition condition.Type = "OpenStackControlPlaneTestCMReadyCondition"
149+
150+
// OpenStackControlPlaneInstanceHaCMReadyCondition Status=True condition which indicates if InstanceHa CM is ready
151+
OpenStackControlPlaneInstanceHaCMReadyCondition condition.Type = "OpenStackControlPlaneInstanceHaCMReadyCondition"
149152
)
150153

151154
// Common Messages used by API objects.
@@ -456,6 +459,12 @@ const (
456459

457460
// OpenStackControlPlaneTestCMReadyMessage
458461
OpenStackControlPlaneTestCMReadyMessage = "OpenStackControlPlane Test Operator CM is available"
462+
463+
// OpenStackControlPlaneInstanceHaCMReadyErrorMessage
464+
OpenStackControlPlaneInstanceHaCMReadyErrorMessage = "OpenStackControlPlane InstanceHa CM error occured %s"
465+
466+
// OpenStackControlPlaneInstanceHaCMReadyMessage
467+
OpenStackControlPlaneInstanceHaCMReadyMessage = "OpenStackControlPlane InstanceHa CM is available"
459468
)
460469

461470
// Version Conditions used by API objects.

‎apis/core/v1beta1/openstackversion_types.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ type ContainerTemplate struct {
114114
InfraDnsmasqImage *string `json:"infraDnsmasqImage,omitempty"`
115115
InfraMemcachedImage *string `json:"infraMemcachedImage,omitempty"`
116116
InfraRedisImage *string `json:"infraRedisImage,omitempty"`
117+
InfraInstanceHaImage *string `json:"infraInstanceHaImage,omitempty"`
117118
IronicAPIImage *string `json:"ironicAPIImage,omitempty"`
118119
IronicConductorImage *string `json:"ironicConductorImage,omitempty"`
119120
IronicInspectorImage *string `json:"ironicInspectorImage,omitempty"`

‎apis/core/v1beta1/zz_generated.deepcopy.go‎

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

‎apis/go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/openstack-k8s-operators/glance-operator/api v0.4.1-0.20240909180656-33fe3c05a637
1414
github.com/openstack-k8s-operators/heat-operator/api v0.4.1-0.20240909065043-d5b093777de2
1515
github.com/openstack-k8s-operators/horizon-operator/api v0.4.1-0.20240906120219-9c3e4ba4077b
16-
github.com/openstack-k8s-operators/infra-operator/apis v0.4.1-0.20240910085802-31f905cfe219
16+
github.com/openstack-k8s-operators/infra-operator/apis v0.4.1-0.20240912140341-4066f2ead41d
1717
github.com/openstack-k8s-operators/ironic-operator/api v0.4.1-0.20240909085220-4736023a2e4f
1818
github.com/openstack-k8s-operators/keystone-operator/api v0.4.1-0.20240906103150-990fe66f2e5d
1919
github.com/openstack-k8s-operators/lib-common/modules/common v0.4.1-0.20240905123813-174296c09ec6

‎apis/go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ github.com/openstack-k8s-operators/heat-operator/api v0.4.1-0.20240909065043-d5b
102102
github.com/openstack-k8s-operators/heat-operator/api v0.4.1-0.20240909065043-d5b093777de2/go.mod h1:w+8OpHuUfk4nEUSQfFZbYGPZEkn0c1xe3fyZ062fkDA=
103103
github.com/openstack-k8s-operators/horizon-operator/api v0.4.1-0.20240906120219-9c3e4ba4077b h1:B4kw/FovC+mKMRA8dahi2k3x751iOuBwglu9DBz0iX4=
104104
github.com/openstack-k8s-operators/horizon-operator/api v0.4.1-0.20240906120219-9c3e4ba4077b/go.mod h1:Q9/AUCUCA959gIq3DxzUdTWvkwqDp0lz3ujW0vTPdWg=
105-
github.com/openstack-k8s-operators/infra-operator/apis v0.4.1-0.20240910085802-31f905cfe219 h1:o0epGu5XkImn5pggs/eyZMBS2Iok8wSaaTXRBwybDCk=
106-
github.com/openstack-k8s-operators/infra-operator/apis v0.4.1-0.20240910085802-31f905cfe219/go.mod h1:TFh01OyR/NP5Sy7vikMIpQc80AKl0WWPyYDaJBfFiGc=
105+
github.com/openstack-k8s-operators/infra-operator/apis v0.4.1-0.20240912140341-4066f2ead41d h1:GbkbsL89plNNnyQI06VzDyJ1xe8DhDky3wAPL5g6LBs=
106+
github.com/openstack-k8s-operators/infra-operator/apis v0.4.1-0.20240912140341-4066f2ead41d/go.mod h1:TFh01OyR/NP5Sy7vikMIpQc80AKl0WWPyYDaJBfFiGc=
107107
github.com/openstack-k8s-operators/ironic-operator/api v0.4.1-0.20240909085220-4736023a2e4f h1:Dj1KlPwlXzLyLaEDReJg3sHyo/TMN62pKH3X0L5bsZQ=
108108
github.com/openstack-k8s-operators/ironic-operator/api v0.4.1-0.20240909085220-4736023a2e4f/go.mod h1:iQq0r9XaY6+AN9LaJIvhoetuOwnaGIhU0XkQvHLFT9M=
109109
github.com/openstack-k8s-operators/keystone-operator/api v0.4.1-0.20240906103150-990fe66f2e5d h1:PbTZo4RCo+RFiGZ0q/rllUXoUtxgtWAh4V0IUe3aW5k=

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17611,6 +17611,8 @@ spec:
1761117611
type: string
1761217612
infraDnsmasqImage:
1761317613
type: string
17614+
infraInstanceHaImage:
17615+
type: string
1761417616
infraMemcachedImage:
1761517617
type: string
1761617618
infraRedisImage:

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ spec:
125125
type: string
126126
infraDnsmasqImage:
127127
type: string
128+
infraInstanceHaImage:
129+
type: string
128130
infraMemcachedImage:
129131
type: string
130132
infraRedisImage:
@@ -328,6 +330,8 @@ spec:
328330
type: string
329331
infraDnsmasqImage:
330332
type: string
333+
infraInstanceHaImage:
334+
type: string
331335
infraMemcachedImage:
332336
type: string
333337
infraRedisImage:
@@ -502,6 +506,8 @@ spec:
502506
type: string
503507
infraDnsmasqImage:
504508
type: string
509+
infraInstanceHaImage:
510+
type: string
505511
infraMemcachedImage:
506512
type: string
507513
infraRedisImage:

‎config/default/manager_default_images.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ spec:
9797
value: quay.io/podified-antelope-centos9/openstack-memcached:current-podified
9898
- name: RELATED_IMAGE_INFRA_REDIS_IMAGE_URL_DEFAULT
9999
value: quay.io/podified-antelope-centos9/openstack-redis:current-podified
100+
- name: RELATED_IMAGE_INFRA_INSTANCE_HA_IMAGE_URL_DEFAULT
101+
value: quay.io/podified-antelope-centos9/openstack-openstackclient:current-podified
100102
- name: RELATED_IMAGE_IRONIC_API_IMAGE_URL_DEFAULT
101103
value: quay.io/podified-antelope-centos9/openstack-ironic-api:current-podified
102104
- name: RELATED_IMAGE_IRONIC_CONDUCTOR_IMAGE_URL_DEFAULT

0 commit comments

Comments
 (0)