You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2024/02/12 15:30:00 UTC

[jira] [Created] (KARAF-7806) Update feature deployment for cfg to better support k8s ConfigMap

Matt Pavlovich created KARAF-7806:
-------------------------------------

             Summary: Update feature deployment for cfg to better support k8s ConfigMap
                 Key: KARAF-7806
                 URL: https://issues.apache.org/jira/browse/KARAF-7806
             Project: Karaf
          Issue Type: Improvement
            Reporter: Matt Pavlovich


Update the feature deployer to have 'smarter' logic to support if a config file is already deployed in a secondary config folder.

For example:

Default cfg directory:
etc/  

Alternative cfg directory (includes sub-directory scanning:
configmaps/

{noformat}
<configfile finalname="${karaf.etc}/com.foo.bar.cfg" override="false">mvn:com.company/foo/1.0.0/cfg/default</configfile>
{noformat}

Add the ability to Karaf feature deployer to scan multiple cfg directories (including sub-directories) to see if a cfg is already present to honor the override="false" flag.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)