canonical / k8s-snap

Canonical Kubernetes is an opinionated and CNCF conformant Kubernetes operated by Snaps and Charms, which come together to bring simplified operations and an enhanced security posture on any infrastructure.
GNU General Public License v3.0
20 stars 6 forks source link

Add extra config files parameters #490

Closed bschimke95 closed 3 weeks ago

bschimke95 commented 3 weeks ago

Extends the Bootstrap/JoinConfigs to allow additional files to be loaded when joining the cluster. Those can then e.g. be pointed to by ExtraNodeXArgs.

Also, added an integration test that verifies all extra service configs are correctly set and extra files are uploaded to the correct place on the node.

bschimke95 commented 3 weeks ago

Closed and merged into https://github.com/canonical/k8s-snap/actions/runs/9484275968/job/26164829138?pr=485 to have this feature contained in one PR.