doc: migration guide for Ansible and quickstart fixes#3571
doc: migration guide for Ansible and quickstart fixes#3571jmrodri merged 4 commits intooperator-framework:masterfrom camilamacedo86:migration-ansible
Conversation
|
Hi @joelanford @fabianvf @asmacdo, I think it is good to be merged to allow we have the docs and work easier with that but we will still need to do a follow up to improve the molecule section and after the migration. Could we work in this way? |
asmacdo
left a comment
There was a problem hiding this comment.
Some nits, no need for re-review
fabianvf
left a comment
There was a problem hiding this comment.
Couple small issues, mostly looks good though
|
|
||
| And now: | ||
|
|
||
| - Use the var `${MOLECULE_PROJECT_DIRECTORY}` instead of `${MOLECULE_EPHEMERAL_DIRECTORY}` |
There was a problem hiding this comment.
I'm not sure what these are referring to, I don't think they should change their usage of these variables
There was a problem hiding this comment.
I will remove this since we have a following up for the molecule.
| And now: | ||
|
|
||
| - Use the var `${MOLECULE_PROJECT_DIRECTORY}` instead of `${MOLECULE_EPHEMERAL_DIRECTORY}` | ||
| - Use the var `${KUBECONFIG:-"~/.kube/config"}` instead of `${MOLECULE_EPHEMERAL_DIRECTORY}/kubeconfig` to get the kubeconfig |
There was a problem hiding this comment.
This is only true for the default scenario (which runs against an existing cluster), the kind scenario still uses the ephemeral kubeconfig
There was a problem hiding this comment.
I will remove this since we have a following up for the molecule.
We can re-check it in a follow-up.
jmrodri
left a comment
There was a problem hiding this comment.
molecule is spelled wrong. And another nit.
| * RBAC manifests in `deploy` are now in `config/rbac/` | ||
|
|
||
| - `build/Dockerfile` is moved to `Dockerfile` in the project root directory | ||
| - The `molecue/` directory is now more aligned to Ansible and the new Layout |
|
|
||
| ## How to migrate | ||
|
|
||
| The easy migration path is to create a new project from the scratch and let the tool scaffold the new layout. Then, add your customizations and implementations. See below for an example. |
Description of the change:
Motivation for the change:
Partial closes: #3542 #3590
#3327
Follow-up of this one will be : operator-framework/ansible-operator-plugins#26 (to update the molecule docs)
PS.: PR to migrate the sample: operator-framework/operator-sdk-samples#138