-
Notifications
You must be signed in to change notification settings - Fork 7
Add documentation on creating cluster templates #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This adds some early documentation on how to create and utilize cluster templates. Closes innabox/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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't delete.yaml and install.yaml also required?
| @@ -0,0 +1,220 @@ | |||
| # Cluster templates | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 innabox/issues#176