From 7900b00d19e3eca9d5a78d980684decab6512e38 Mon Sep 17 00:00:00 2001 From: jgilaber Date: Tue, 28 Feb 2023 12:35:35 +0100 Subject: [PATCH] Fix small issues pointed by pre-commit job Fix end-of-file in 03-change_keystone_config.yaml and formatting in crd and api files. --- api/bases/keystone.openstack.org_keystoneapis.yaml | 6 +++--- config/crd/bases/keystone.openstack.org_keystoneapis.yaml | 4 ++-- .../change_keystone_config/03-change_keystone_config.yaml | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/api/bases/keystone.openstack.org_keystoneapis.yaml b/api/bases/keystone.openstack.org_keystoneapis.yaml index 0a97f216..53dff279 100644 --- a/api/bases/keystone.openstack.org_keystoneapis.yaml +++ b/api/bases/keystone.openstack.org_keystoneapis.yaml @@ -105,9 +105,9 @@ spec: additionalProperties: type: string description: 'ConfigOverwrite - interface to overwrite default config - files like e.g. logging.conf or policy.json. But can also be used - to add additional files. Those get added to the service config dir - in /etc/ . TODO: -> implement' + files like e.g. policy.json. But can also be used to add additional + files. Those get added to the service config dir in /etc/ + . TODO: -> implement' type: object externalEndpoints: description: ExternalEndpoints, expose a VIP using a pre-created IPAddressPool diff --git a/config/crd/bases/keystone.openstack.org_keystoneapis.yaml b/config/crd/bases/keystone.openstack.org_keystoneapis.yaml index fb7cc604..53dff279 100644 --- a/config/crd/bases/keystone.openstack.org_keystoneapis.yaml +++ b/config/crd/bases/keystone.openstack.org_keystoneapis.yaml @@ -106,8 +106,8 @@ spec: type: string description: 'ConfigOverwrite - interface to overwrite default config files like e.g. policy.json. But can also be used to add additional - files. Those get added to the service config dir in /etc/. - TODO: -> implement' + files. Those get added to the service config dir in /etc/ + . TODO: -> implement' type: object externalEndpoints: description: ExternalEndpoints, expose a VIP using a pre-created IPAddressPool diff --git a/tests/kuttl/tests/change_keystone_config/03-change_keystone_config.yaml b/tests/kuttl/tests/change_keystone_config/03-change_keystone_config.yaml index 6808baa0..8ae069db 100644 --- a/tests/kuttl/tests/change_keystone_config/03-change_keystone_config.yaml +++ b/tests/kuttl/tests/change_keystone_config/03-change_keystone_config.yaml @@ -3,4 +3,3 @@ kind: TestStep commands: - script: | oc patch keystoneapi -n openstack keystone --type='json' -p='[{"op": "replace", "path": "/spec/customServiceConfig", "value": "[DEFAULT]\ndebug = false"}]' -