@@ -45,6 +45,9 @@ const (
4545
4646 // KeystoneAPIContainerImage is the fall-back container image for KeystoneAPI
4747 KeystoneAPIContainerImage = "quay.io/podified-antelope-centos9/openstack-keystone:current-podified"
48+
49+ // KeystoneFernetRotationContainerImage is the fall-back container image for Keystone Fernet Rotation
50+ KeystoneFernetRotationContainerImage = "registry.redhat.io/openshift4/ose-cli"
4851)
4952
5053type KeystoneAPISpec struct {
@@ -53,6 +56,9 @@ type KeystoneAPISpec struct {
5356 // +kubebuilder:validation:Required
5457 // Keystone Container Image URL (will be set to environmental default if empty)
5558 ContainerImage string `json:"containerImage"`
59+ // +kubebuilder:validation:Required
60+ // Keystone Fernet Rotation Container Image URL (will be set to environmental default if empty)
61+ FernetRotationContainerImage string `json:"fernetRotationContainerImage"`
5662}
5763
5864// KeystoneAPISpec defines the desired state of KeystoneAPI
@@ -293,6 +299,7 @@ func SetupDefaults() {
293299 // Acquire environmental defaults and initialize Keystone defaults with them
294300 keystoneDefaults := KeystoneAPIDefaults {
295301 ContainerImageURL : util .GetEnvVar ("RELATED_IMAGE_KEYSTONE_API_IMAGE_URL_DEFAULT" , KeystoneAPIContainerImage ),
302+ FernetRotationContainerImageURL : util .GetEnvVar ("RELATED_IMAGE_KEYSTONE_FERNET_ROTATION_IMAGE_URL_DEFAULT" , KeystoneFernetRotationContainerImage ),
296303 }
297304
298305 SetupKeystoneAPIDefaults (keystoneDefaults )
0 commit comments