Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Fix kubevirt-web-ui for kubevirt-apb #464

Merged
merged 3 commits into from
Nov 14, 2018

Conversation

mareklibra
Copy link
Contributor

@mareklibra mareklibra commented Nov 14, 2018

What this PR does Adapts kubevirt-web-ui deployment for container (kubevirt-apb) environment:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:
Verified on fresh (today's) 3.11 OC in Upshift.

Unfortunately, I was not able to execute kubevirt-apb from UI, but mimicked on command-line:

docker run --rm -v $HOME/.kube:/opt/apb/.kube:z -u $UID \
  docker.io/mareklibra/kubevirt-apb:latest provision \
   --extra-vars '{"version":"0.9.3", "namespace":"kubevirt", "kubevirt_web_ui_namespace": "kubevirt-web-ui", "_apb_last_requesting_user":"admin", "_apb_plan_id":"default", "storage_role":"storage-none", "admin_user":"quicklab", "admin_password":"RedHat1!", "platform":"openshift", "docker_tag":"1.3", "registry_url":"brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888", "registry_namespace":"cnv-tech-preview"}'

The docker.io/mareklibra/kubevirt-apb:latest is built from kubevirt-apb master using this mareklibra:web-ui.from.kubevirt-apb.

Backport to release-0.9 follows.

Release note:

NONE

Ryan Hallisey and others added 3 commits November 14, 2018 11:58
The playbook runs in a container already authenticated with
the cluster.  Remove root and remove copying around the config.
The default is still kubevirt-web-ui.
Not needed and causing issues in some environments.
@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. size/M labels Nov 14, 2018
@mareklibra
Copy link
Contributor Author

@rthallisey , do you think the parameters (names, values) used on command-line match what will go from UI ?

@mareklibra mareklibra changed the title Web ui.from.kubevirt apb Fix kubevirt-web-ui for kubevirt-apb Nov 14, 2018
@rthallisey
Copy link
Collaborator

rthallisey commented Nov 14, 2018

I hate to merge this with CI not passing, but this issue looks unrelated. This fix is critical and Marek and I have valided this fix independently.

@rthallisey rthallisey merged commit 587bbca into kubevirt:master Nov 14, 2018
ngavrilo pushed a commit to ngavrilo/kubevirt-ansible that referenced this pull request Dec 10, 2018
* Web ui fixes for containerized env

The playbook runs in a container already authenticated with
the cluster.  Remove root and remove copying around the config.

* Make kubevirt-web-ui namespace configurable

The default is still kubevirt-web-ui.

* Do not gather facts

Not needed and causing issues in some environments.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-note-none Denotes a PR that doesn't merit a release note. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants