Closed mareklibra closed 5 years ago
I've moved the playbook one directory up. Still works locally.
The Kubevirt Web UI playbook is missing oc login:
08:57:51 TASK [kubevirt_web_ui : Check if project for kubevirt-web-ui exists] ***********
08:57:51 Friday 11 January 2019 07:57:51 +0000 (0:00:00.213) 0:32:28.723 ********
08:57:52 changed: [localhost] => {
08:57:52 "changed": true,
08:57:52 "cmd": "oc projects -q | grep -w kubevirt-web-ui | awk '{ print $1 }'",
08:57:52 "delta": "0:00:00.473294",
08:57:52 "end": "2019-01-11 07:57:52.275350",
08:57:52 "rc": 0,
08:57:52 "start": "2019-01-11 07:57:51.802056"
08:57:52 }
08:57:52
08:57:52 STDERR:
08:57:52
08:57:52 Unable to connect to the server: Forbidden
The playbook connects locally and expects valid login.
To resolve the issue, I will need to investigate the flow in CI related to the initial_configuration.yml
.
The operator's yaml files are generated from templates now. Especially the namespace is not hardcoded anymore.
Anyway, the playbook is still not getting oc login
in the CI env. Locally works fine.
@rthallisey , we are green now :-)
The Kubevirt Web UI Operator [1] is used for (un)deployment of Web UI.
[1] https://github.com/kubevirt/web-ui-operator
What this PR does / why we need it: The Web UI playbook leverages the new Operator for deployment
Special notes for your reviewer:
Release note: