Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOUD-3529] Allow configure ssl-required property #166

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ruromero
Copy link

@ruromero ruromero commented Mar 25, 2020

Fix https://issues.redhat.com/browse/CLOUD-3529

I think the ssl-required parameter should be configurable and default to what was hardcoded before i.e. external

My IDE removed all the trailing spaces which I don't think is a bad thing either.

Signed-off-by: Ruben Romero Montes rromerom@redhat.com

@wildfly-ci
Copy link

Hello, ruromero. I'm waiting for one of the admins to verify this patch with /ok-to-test in a comment.

Available Commands:

/help Display this help text.

/ok-to-test Add the user to the approved list of testers and run tests.

/retest Rerun all tests.

@jfdenise
Copy link
Contributor

@ruromero , we have a CLI way to update the configuration, this is where you should make your change, sed replacement is not expected to evolve.
The external attribute is set there:
https://github.com/ruromero/wildfly-cekit-modules/blob/sslrequired/jboss/container/wildfly/launch/keycloak/added/keycloak.sh#L459
BTW, just a note, I noticed the sslPolicy being set to EXTERNAL: https://github.com/ruromero/wildfly-cekit-modules/blob/sslrequired/jboss/container/wildfly/launch/keycloak/added/keycloak.sh#L777

@ruromero
Copy link
Author

Thanks @jfdenise will rollback the changes and update the requested parts of the code.
Are you OK with the functionality proposed?

@jfdenise
Copy link
Contributor

@ruromero , we will need to go through the RFE process in order to add this new env variable. Could you log a CLOUD jira? Would be nice to have detail on the use-case. Thank-you.

@ruromero
Copy link
Author

Signed-off-by: ruromero <rromerom@redhat.com>
@ruromero ruromero changed the title [RHPAM-2804] Allow configure ssl-required property [CLOUD-3529] Allow configure ssl-required property Mar 26, 2020
@ruromero
Copy link
Author

@jfdenise added suggested changes

@mwringe
Copy link

mwringe commented May 19, 2020

@jfdenise Any update?

@jfdenise
Copy link
Contributor

jfdenise commented May 25, 2020

@mwringe , I will come back to you with info on when this feature can be integrated in next release. Is the priority of the issue increased?

@jfdenise
Copy link
Contributor

jfdenise commented Jun 4, 2020

@ruromero @mwringe , after more discussion it appears that this fix needs to be done in https://github.com/jboss-container-images/jboss-eap-modules/tree/7.3.x-legacy/os-eap-sso/added
These are the modules rhpam is using when building docker image.
I logged https://issues.redhat.com/browse/CLOUD-3627 to track it. Would you be able to apply your changes (sed replacement only, no CLI script in legacy modules) to the 7.3.x-legacy? Thank-you.

@ruromero
Copy link
Author

ruromero commented Jul 6, 2020

@jfdenise PR has been created on jboss-eap-modules too but I don't think this is blocking this PR, is it?
Thanks

@jfdenise
Copy link
Contributor

jfdenise commented Jul 7, 2020

@ruromero , thank-you. This PR will get merged once we have completed the RFE process for these new env variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants