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
Extensions support in the operator #9785
Comments
Context: Consideration: Proposal: ./kc.sh build --db=postgres --extensions="https://github.com/aerogear/keycloak-metrics-spi/releases/download/1.0.4/keycloak-metrics-spi-1.0.4.jar" The behaviour will be to simply download the files in the Pro:
Cons:
Looking for feedback! @vmuzikar @pedroigor @DGuhr @stianst |
@andreaTP I'm not 100% sure this belongs to the distribution (maybe it's more operator's job) but I agree it is convenient. But the param would definitely need a different naming. The directory is called |
Agreed that we should change the option name from |
@andreaTP @vmuzikar I like the approach in general. We also think about getting rid of "providers", "spi", "feature" etc. and provide a consistent "extension" approach overall, but this idea is not more than loosely in the heads for now, e.g. also spanning to wrap extensions using metadata and adding configuration options with this metadata. So... in general I am with you, this would make it very convenient. And I also think the extension naming is more fitting/future proof. But not sure yet how this would fit in the overall extension approach. Questions are e.g.
@stianst @pedroigor wdyt? |
@DGuhr +1 for this "extensions manager" approach |
I think that implementing it as an additional command removes the value of the feature at all. What would be the difference/added value then running a plain |
I agree a full implementation of "extension manager" is definitely out of scope for this. But we can at least align it with our future plans around it. AFAIK (@DGuhr and @pedroigor can correct me) in long term, we plan to have such manager for enabling/disabling extension in any case, so installing them is another logical step. |
The proposal is aligned with what we have been discussing about extensions. But how extensions will look like is not yet clear. Until we don't decide how extensions will work, I'm afraid we can't include an option that will probably change in the future. What Dominick mentioned is an example of how we plan to do it. A specific command and sub-commands to manage the different aspects of extensions. |
Since we have other long term plans on this subject we should be agnostic to it.
|
@andreaTP I'm afraid that since we really can't make any long-term decision on how the "extension manager" should look like, what command it should be etc., and therefore we can't make any commitments in this area, the only non-breaking path forward is the init container. We can easily drop it in the future. |
@vmuzikar deal 👍 |
If we're doing a init container for this I reckon that perhaps we could at least see if we could get an agreement on how an extension would be installed using kc.sh. Honestly I'd say "kc.sh ext --install URL" is pretty future proof, and also easy to do. @DGuhr @pedroigor ? By the way how does this align with any plans around optimised built image and static store stuff? I'd still probably favour/recommend custom image though. |
Having to invoke an additional command have the same disadvantages as the "dedicated command building" along with the need to early commit to some design of the CLI.
|
Requires investigation on how this can work with the seamless augmentation.
See also:
The text was updated successfully, but these errors were encountered: