-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
doc: migration guide for Ansible and quickstart fixes #3571
doc: migration guide for Ansible and quickstart fixes #3571
Conversation
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
3012138
to
0e617ef
Compare
0379e9c
to
0b85e9f
Compare
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? |
f223122
to
ae2692d
Compare
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
dd05c66
to
bfd1fb8
Compare
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.
Some nits, no need for re-review
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/quickstart.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/quickstart.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/quickstart.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/quickstart.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/quickstart.md
Outdated
Show resolved
Hide resolved
004d3fe
to
89334e1
Compare
48b11be
to
2b00cb4
Compare
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
website/content/en/docs/building-operators/ansible/migration.md
Outdated
Show resolved
Hide resolved
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will remove this since we have a following up for the molecule.
We can re-check it in a follow-up.
dd521de
to
0b2544d
Compare
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.
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 |
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 should be molecule.
|
||
## 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. |
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.
project from scratch
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.
done
b038344
to
90aa992
Compare
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