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

Issue #578 - Format operator example markdown files #579

Merged
merged 2 commits into from
Feb 14, 2023
Merged

Conversation

johnwalicki
Copy link
Member

Signed-off-by: John Walicki [email protected]

Fixes #578

@johnwalicki johnwalicki requested a review from t-fine February 10, 2023 21:54
Copy link
Collaborator

@t-fine t-fine left a comment

Choose a reason for hiding this comment

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

wget https://raw.githubusercontent.com/open-horizon/examples/master/edge/services/nginx-operator/ansible-role-files/service.j2 && mv service.j2 roles/myoperator/templates/
wget https://raw.githubusercontent.com/open-horizon/examples/master/edge/services/nginx-operator/ansible-role-files/main.yml && mv main.yml roles/myoperator/tasks/
```

3. **FOR OCP EDGE CLUSTERS ONLY:** Obtain the `route`, and modified task file and move them into the `my-operator` roles directory:

```bash
wget https://raw.githubusercontent.com/open-horizon/examples/master/edge/services/nginx-operator/ansible-role-files/route.j2 && mv route.j2 roles/myoperator/templates/
wget https://raw.githubusercontent.com/open-horizon/examples/master/edge/services/nginx-operator/ansible-role-files/main-route.yml && mv main.yml roles/myoperator/tasks/main.yml
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you update this wget as well? If you remember when we were stepping through this there's a error when trying to perform the mv

wget https://raw.githubusercontent.com/open-horizon/examples/master/edge/services/nginx-operator/ansible-role-files/main-route.yml && mv main-route.yml roles/myoperator/tasks/main.yml

@johnwalicki
Copy link
Member Author

@t-fine - Thanks for the review. I've made the changes you requested. Feel free to merge.

@t-fine t-fine merged commit 023e03d into master Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation📄: operator example formatting issues
2 participants