Remove member bootstrap logic
As of Rocky, keystone creates the member role by default. Since our removal of pre-Train support, the logic we have in the bootstrap script is no longer needed. This change removes the member user and role logic. Change-Id: Ide3af5c47c6b45c013b4dee08076d11bcfe87c53
This commit is contained in:
parent
38a90d4282
commit
87b39c553d
@ -14,7 +14,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Keystone
|
description: OpenStack-Helm Keystone
|
||||||
name: keystone
|
name: keystone
|
||||||
version: 0.2.7
|
version: 0.2.8
|
||||||
home: https://docs.openstack.org/keystone/latest/
|
home: https://docs.openstack.org/keystone/latest/
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Keystone/OpenStack_Project_Keystone_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Keystone/OpenStack_Project_Keystone_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -62,14 +62,6 @@ bootstrap:
|
|||||||
enabled: true
|
enabled: true
|
||||||
ks_user: admin
|
ks_user: admin
|
||||||
script: |
|
script: |
|
||||||
#NOTE(gagehugo): As of Rocky, keystone creates a member role by default
|
|
||||||
openstack role create --or-show member
|
|
||||||
openstack role add \
|
|
||||||
--user="${OS_USERNAME}" \
|
|
||||||
--user-domain="${OS_USER_DOMAIN_NAME}" \
|
|
||||||
--project-domain="${OS_PROJECT_DOMAIN_NAME}" \
|
|
||||||
--project="${OS_PROJECT_NAME}" \
|
|
||||||
"member"
|
|
||||||
# admin needs the admin role for the default domain
|
# admin needs the admin role for the default domain
|
||||||
openstack role add \
|
openstack role add \
|
||||||
--user="${OS_USERNAME}" \
|
--user="${OS_USERNAME}" \
|
||||||
|
@ -23,4 +23,5 @@ keystone:
|
|||||||
- 0.2.5 Mount rabbitmq TLS secret
|
- 0.2.5 Mount rabbitmq TLS secret
|
||||||
- 0.2.6 Modify default probe timings
|
- 0.2.6 Modify default probe timings
|
||||||
- 0.2.7 Add Ussuri release support
|
- 0.2.7 Add Ussuri release support
|
||||||
|
- 0.2.8 Remove member bootstrap logic
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user