Skip to content
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: add extra info over ansible watches and reconcile period #3384

Merged

Conversation

camilamacedo86
Copy link
Contributor

Description of the change:

  • add info over reconcilePeriod similar to the sync period attribute of manager.Options to make clear that users should avoid small periods
  • clarifies that users are able to create many CRD's and use the APIs to persuade the concepts such as single responsibility, cohesion and encapsulation which would bring more flexibility and optimization since they are able to do configurations per GKV via the watches file.

Motivation for the change:

#3364

@openshift-ci-robot openshift-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jul 11, 2020
Copy link
Member

@asmacdo asmacdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This value can be counter-intuitive, so I tried explaining it in a different way. WDYT?

website/content/en/docs/ansible/development-tips.md Outdated Show resolved Hide resolved
website/content/en/docs/ansible/reference/watches.md Outdated Show resolved Hide resolved
Copy link
Member

@fabianvf fabianvf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me once Austin's comments are addressed

@camilamacedo86
Copy link
Contributor Author

HI @fabianvf and @asmacdo,

Tks for the review and help with. See wdyt know? Is it ok? Could we move forward here?

@@ -498,7 +500,7 @@ operator. The `meta` fields can be accesses via dot notation in Ansible as so:
```yaml
---
- debug:
msg: "name: {{ meta.name }}, {{ meta.namespace }}"
msg: "name: {{ meta.name }}, {{ meta.namespace }}"f
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo?

Copy link
Member

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 15, 2020
@camilamacedo86 camilamacedo86 merged commit 27398bb into operator-framework:master Jul 15, 2020
@camilamacedo86 camilamacedo86 deleted the doc-reconcile branch July 15, 2020 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants