camel-k icon indicating copy to clipboard operation
camel-k copied to clipboard

Mount configmap/secret resources to a dedicated resources.d durectory

Open lburgazzoli opened this issue 1 year ago • 2 comments

Requirement

As today, resources are mounted in the conf.d path, however it would be better to create a new resources.d sub-directory and mount any additional resource.

Problem

Resources should not be mixed up with configurations

Proposal

No response

Open questions

No response

lburgazzoli avatar Feb 26 '24 12:02 lburgazzoli

@gansheer are you actively work on this or planning to work for next minor delivery?

squakez avatar Apr 05 '24 11:04 squakez

Planning for next minor.

gansheer avatar Apr 05 '24 12:04 gansheer

Im curious about the resources, we have 3 path for them:

  • ./resources
  • /etc/camel/resources
  • /etc/camel/[conf.d -> resources.d]/_resources

Do you know for what each one is used ?

gansheer avatar Jun 03 '24 12:06 gansheer

Im curious about the resources, we have 3 path for them:

* ./resources

* /etc/camel/resources

* /etc/camel/[conf.d -> resources.d]/_resources

Do you know for what each one is used ?

I think the first two are legacy leftover. You may try to temporarily remove them to see if all tests are passing (or fix any legacy test if we want to remove). Later, we'd need to pass to a deprecation notice time to avoid causing disruptions to users that may be mounting directly their volumes on those directories. Finally, in a couple of minor releases we can get rid off them.

squakez avatar Jun 03 '24 12:06 squakez