Add documentation on creating cluster templates#16
Add documentation on creating cluster templates#16larsks wants to merge 1 commit intoosac-project:mainfrom
Conversation
This adds some early documentation on how to create and utilize cluster templates. Closes osac-project/issues#176
| podman push cloudkit-aap-ee quay.io/myusername/cloudkit-aap-ee:latest | ||
| ``` | ||
|
|
||
| ### Configure the installer to use the new image |
There was a problem hiding this comment.
This part isn't up to date, it should look like this now:
secretGenerator:
- name: config-as-code-ig
options:
disableNameSuffixHash: true
literals:
- AAP_EE_IMAGE=ghcr.io/isaiahstapleton/cloudkit-aap:678b9a1514ee800b0429569cbec30a928b167f7e
configMapGenerator:
- name: publish-templates-ig
options:
disableNameSuffixHash: true
literals:
- CLOUDKIT_TEMPLATE_COLLECTIONS=cloudkit.templates,isaiahstapleton.ai_cluster_ansible
|
|
||
| ### Create a role | ||
|
|
||
| A cluster template role consists of at least two playbooks: |
There was a problem hiding this comment.
Aren't delete.yaml and install.yaml also required?
| @@ -0,0 +1,220 @@ | |||
| # Cluster templates | |||
There was a problem hiding this comment.
Should these template docs include instructions for actually creating cluster request with that new template? Like here: https://gist.github.com/larsks/d90063a98cb7733a5997058d768eed48#creating-a-cluster. Or will that be located in different section of the docs?
|
|
||
| There are two steps to making your collection available to the OSAC installer: | ||
|
|
||
| 1. Build a new [execution environment] that includes your collection. |
There was a problem hiding this comment.
I also think this step should include the steps for building execution environment from github actions. Building from the github actions that was already constructed, to me, was the most straightforward way to build the execution environment. Mostly because it handles building AND pushing the image.
This adds some early documentation on how to create and utilize cluster
templates.
Closes osac-project/issues#176