-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update keystone-rxt to use the new rxt role (#6)
This change makes it possible to run the keystone rxt plugin in an environment using the os_flex attribute. This change includes * multi-account detection and autoprovisioning * new mapping defaults for scheme version 2.0 Two new options have been added to support the creation of the role attribute methods, allowing a user to be a member of more than one project. [rackspace] role_attribute_enforcement <BOOL> role_attribute <STR> Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
- Loading branch information
Showing
6 changed files
with
337 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
ARG VERSION=master-ubuntu_jammy | ||
FROM openstackhelm/keystone:$VERSION | ||
RUN /var/lib/openstack/bin/pip install --no-cache-dir keystone-rxt | ||
FROM openstackhelm/keystone:${VERSION} as build | ||
RUN apt update && apt install -y git | ||
RUN /var/lib/openstack/bin/pip install --upgrade --force-reinstall pip | ||
WORKDIR /opt/keystone-rxt | ||
COPY . /opt/keystone-rxt | ||
RUN ls -al /opt/keystone-rxt/ | ||
RUN /var/lib/openstack/bin/pip install --no-cache-dir -e git+file:///opt/keystone-rxt#egg=keystone-rxt | ||
RUN find /var/lib/openstack -regex '^.*\(__pycache__\|\.py[co]\)$' -delete | ||
|
||
FROM openstackhelm/keystone:${VERSION} | ||
COPY --from=build /var/lib/openstack/. /var/lib/openstack/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.