remche / terraform-openstack-rke2

Deploy Kubernetes on OpenStack with RKE2
Mozilla Public License 2.0
48 stars 29 forks source link

Deploy additional config files #67

Closed powellchristoph closed 5 months ago

powellchristoph commented 5 months ago

I would like to add support for additional config files and would like some input before I drop a PR.

Specifically my use case. I would like to add additional audit logging.

Currently, we can easily at the rke2 config file entry, but there is no way to drop the audit file itself. Perhaps manage additional_files in the cloud-init file as the manifests are done?

remche commented 5 months ago

Thanks @powellchristoph for the proposition to add a more generic way to add files. I'm open and happy to accept PR on this and imho it makes sense to use such a mechanism as for manifests files. The only question is should we deprecate manifests_path ans manifests_gzb4 to avoid redundancy ?