Helm chart for kui-web-terminal
export GITHUB_TOKEN=<your github personal access token>
export GITHUB_USER=<your github id>
helm package stable/kui-web-terminal
cp kui-web-terminal-3.6.0.tgz ../multiclusterhub-repo/multiclusterhub/charts
oc edit deployment multiclusterhub-repo
Change FROM:
securityContext: {}
TO:
securityContext:
runAsUser: 0
save changes
oc scale deployments/multiclusterhub-operator --replicas=0
NOTE: As of June 12, 2020 on the master (2.0) build, the ability to pause the operator was added, see https://github.com/stolostron/multicloudhub-operator#disabling-multiclusterhub-operator. This means you would no longer need to perform this step or the scaling back up of relicas to 1.
oc delete appsub/kui-web-terminal-sub
You will notice that the helmRelease object for kui-web-terminal deleted, and the deployment pods deleted as well.
In the multiclusterhub-repo, run:
make update-charts
For more info see https://github.com/stolostron/multiclusterhub-repo#updating-chart-in-cluster
This will re-create subscription. The controller for subscription is helm operator and it will re-deploy kui-web-terminal chart.
oc scale deployments/multiclusterhub-operator --replicas=1
Once the changes are merged into this repo, see the information at https://github.com/stolostron/multiclusterhub-repo#updating-charts-in-multiclusterhubcharts