ansible-collection-services icon indicating copy to clipboard operation
ansible-collection-services copied to clipboard

rook: initial kubernetes apply (#881)

Open yeoldegrove opened this issue 9 months ago • 0 comments

Initial implementation of:

  • https://github.com/osism/issues/issues/881
  • https://github.com/osism/issues/issues/882
  • https://github.com/osism/issues/issues/883
  • https://github.com/osism/issues/issues/877

This implements a simple logic to loop over every Jinja2 template in rook_template_directory. By default this is templates from the role but it can be overwritten to point to a directory from the config repo for ultimate customization e.g. /opt/configuration/environments/rook/files/*.yml.j2. Every found file is simply applied as a Rook CephCluster CRD or any other Rook CRD.

Some variables are abstracted to mimic the behaviour of the current ceph-ansible deployment method. The idea is not to abstract every variable but only provide a sane baseline.

yeoldegrove avatar May 13 '24 14:05 yeoldegrove