-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into cronjob-automation-development
- Loading branch information
Showing
12 changed files
with
397 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
nmstate_enabled: false | ||
nmstate_install_operator: true | ||
nmstate_catalogsource_image: "" | ||
nmstate_upgrade_channel: "stable" | ||
nmstate_directory: "/tmp/nmstate" | ||
nmstate_golang_tarball: "https://go.dev/dl/go1.18.6.linux-ppc64le.tar.gz" | ||
nmstate_e2e: false | ||
nmstate_e2e_git_repository: "https://github.com/openshift/kubernetes-nmstate.git" | ||
nmstate_git_branch: "master" | ||
nmstate_cleanup: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
- name: Installation of the NMState Operator and run e2e | ||
hosts: bastion | ||
tasks: | ||
- name: Deploy NMState Operator | ||
include_role: | ||
name: ocp-nmstate-operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
ocp-nmstate-operator | ||
========= | ||
|
||
This role is used to deploy Kubernetes NMState Operator and run e2e tests. | ||
|
||
Requirements | ||
------------ | ||
|
||
- OCP 4.x healthy cluster on PowerVC. | ||
- To run e2e, attach two additional networks to the worker nodes. | ||
- OCP secret with name ***podman-secret*** in the default namespace which is used for global secret update and has following keys: | ||
***username***, ***password*** and ***registry*** | ||
|
||
Role Variables | ||
-------------- | ||
|
||
| Variable | Required | Default | Comments | | ||
|------------------------------|----------|----------------|-----------------------------------------------------------| | ||
| nmstate_enabled | no | false | Set it to true to run this playbook | | ||
| nmstate_install_operator | no | true | Set it to true to install the Kubernetes NMState Operator | | ||
| nmstate_catalogsource_image | no | "" | Custom catalog source index image for Kubernetes NMState Operator. If not defined, default `redhat-operators` catalog source will be used | | ||
| nmstate_upgrade_channel | no | stable | Operator upgrade channel | | ||
| nmstate_directory | no | `/tmp/nmstate` | Working directory for Kubernetes NMState Operator | | ||
| nmstate_golang_tarball | no | https://go.dev/dl/go1.18.6.linux-ppc64le.tar.gz | HTTPS URL for golang tarball | | ||
| nmstate_e2e | no | false | Set it to true to run e2e | | ||
| nmstate_e2e_git_repository | no | https://github.com/openshift/kubernetes-nmstate.git | Git respository for e2e tests | | ||
| nmstate_git_branch | no | master | Git branch for e2e | | ||
| nmstate_cleanup | no | true | Flag is used to clean Kubernetes NMState Operator resources | | ||
|
||
|
||
Dependencies | ||
------------ | ||
|
||
- None | ||
|
||
Example Playbook | ||
---------------- | ||
``` | ||
--- | ||
- name: Installation of the NMState Operator and run e2e | ||
hosts: bastion | ||
tasks: | ||
- name: Deploy NMState Operator | ||
include_role: | ||
name: ocp-nmstate-operator | ||
``` | ||
|
||
License | ||
------- | ||
|
||
See LICENCE.txt | ||
|
||
Author Information | ||
------------------ | ||
|
||
[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
# defaults file for playbooks/roles/ocp-nmstate-operator | ||
nmstate_enabled: false | ||
nmstate_install_operator: true | ||
nmstate_catalogsource_image: "" | ||
nmstate_catalogsource: "redhat-operators" | ||
nmstate_upgrade_channel: "stable" | ||
nmstate_directory: "/tmp/nmstate" | ||
nmstate_golang_tarball: "https://go.dev/dl/go1.18.6.linux-ppc64le.tar.gz" | ||
nmstate_e2e: false | ||
nmstate_e2e_git_repository: "https://github.com/openshift/kubernetes-nmstate.git" | ||
nmstate_git_branch: "master" | ||
nmstate_cleanup: true |
Oops, something went wrong.