Bug 1973707 - Can not upgrade a Helm Chart that uses a library chart in the OpenShift dev console
Summary: Can not upgrade a Helm Chart that uses a library chart in the OpenShift dev c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.7.z
Assignee: Allen Bai
QA Contact: Pavel Macik
URL:
Whiteboard:
Depends On: 1933101
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-18 14:14 UTC by OpenShift BugZilla Robot
Modified: 2021-09-28 18:13 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-21 22:32:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9299 0 None open [release-4.7] Bug 1973707: Add chart URl to annotations during helm install/upgrade 2021-06-18 14:14:36 UTC
Red Hat Product Errata RHBA-2021:3510 0 None None None 2021-09-21 22:33:17 UTC

Comment 7 Pavel Macik 2021-09-17 13:10:42 UTC
I've tested with OCP v4.7.31.

I confirmed that #9299 PR is in:

$ oc get secrets sh.helm.release.v1.wildfly-from-ui.v2 -o json | jq -r .data.release | base64 --decode | base64 --decode | gunzip -c | jq -r .chart.metadata.annotations.chart_url
https://redhat-developer.github.io/redhat-helm-charts/charts/wildfly-1.4.0.tgz
oc ver
And I was able to successfully install and upgrade chart via both UI and CLI (not mixing the two) using these YAML configs:
 * app-v1.yaml = https://raw.githubusercontent.com/wildfly/wildfly-charts/main/examples/microprofile-config/microprofile-config-app.yaml)
 * app-v2.yaml = app-v1.yaml with updated {.deploy.env[name = "CONFIG_PROP"].value} field

CLI:

helm install wildfly-from-cli wildfly/wildfly -f https://raw.githubusercontent.com/wildfly/wildfly-charts/main/examples/microprofile-config/microprofile-config-app.yaml

and

helm upgrade wildfly-from-cli wildfly/wildfly -f app-v2.yaml


UI:

DevConsole->Add->Helm Chart->Wildfly->Install Helm Chart (name: wildfly-from-ui)->YAML view [content of app-v1.yaml]->Install

and

DevConsole->Helm->(wildfly-from-ui)->Actions->Upgrade->YAML view [content of app-v2.yaml]->Upgrade

Comment 8 Allen Bai 2021-09-17 14:36:57 UTC
Great. Thank you Pavel!

Comment 10 errata-xmlrpc 2021-09-21 22:32:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.7.31 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3510


Note You need to log in before you can comment on or make changes to this bug.