Repository: kinvolk/lokomotive
Pull request #1237 (2020-12-03 12:49:23)

components/web-ui: bump to v0.1.3
This PR update Web UI to v0.1.3.

Let's use the chart to express version changes since the Headlamp and
Lokomotive Web UI versions are locked to each other. This way we avoid
having to modify the version in the template too.


Patch:
diff --git a/assets/charts/components/web-ui/Chart.yaml b/assets/charts/components/web-ui/Chart.yaml
index e1179902..bc011326 100644
--- a/assets/charts/components/web-ui/Chart.yaml
+++ b/assets/charts/components/web-ui/Chart.yaml
@@ -4,4 +4,4 @@ description: An easy-to-use and versatile dashboard for Kubernetes brought to yo
 type: application
 
 version: 0.1.0
-appVersion: 0.1.1
+appVersion: 0.1.3
diff --git a/assets/charts/components/web-ui/values.yaml b/assets/charts/components/web-ui/values.yaml
index ecb30533..62086421 100644
--- a/assets/charts/components/web-ui/values.yaml
+++ b/assets/charts/components/web-ui/values.yaml
@@ -8,7 +8,7 @@ image:
   repository: quay.io/kinvolk/headlamp
   pullPolicy: IfNotPresent
   # Overrides the image tag whose default is the chart appVersion.
-  tag: v0.1.1
+  tag: v0.1.3
 
 imagePullSecrets: []
 nameOverride: ""
diff --git a/docs/how-to-guides/upgrade-bootstrap-kubelet.md b/docs/how-to-guides/upgrade-bootstrap-kubelet.md
index f3c3b986..c9e0167d 100644
--- a/docs/how-to-guides/upgrade-bootstrap-kubelet.md
+++ b/docs/how-to-guides/upgrade-bootstrap-kubelet.md
@@ -51,8 +51,7 @@ Run the following commands:
 
 ```bash
 export latest_kube=<latest kubernetes version e.g. v1.18.0>
-sudo sed -i "s|.*KUBELET_IMAGE_URL.*|KUBELET_IMAGE_URL=quay.io/poseidon/kubelet|g" /etc/kubernetes/kubelet.env
-sudo sed -i "s|.*KUBELET_IMAGE_TAG.*|KUBELET_IMAGE_TAG=${latest_kube}|g" /etc/kubernetes/kubelet.env
+sudo sed -i "s|$(grep -i kubelet_image_tag /etc/kubernetes/kubelet.env)|KUBELET_IMAGE_TAG=${latest_kube}|g" /etc/kubernetes/kubelet.env
 sudo systemctl restart kubelet
 sudo journalctl -fu kubelet
 ```
diff --git a/pkg/assets/generated_assets.go b/pkg/assets/generated_assets.go
index a1428cc9..e4b3e9ac 100644
--- a/pkg/assets/generated_assets.go
+++ b/pkg/assets/generated_assets.go
@@ -4555,7 +4555,7 @@ var vfsgenAssets = func() http.FileSystem {
 			modTime:          time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC),
 			uncompressedSize: 176,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x4c\x8e\xb1\x8e\xc3\x20\x10\x05\x7b\xbe\xe2\xfd\x80\x2d\xfb\x4a\x77\x57\xbb\x77\xbf\x98\xbd\x33\x0a\x66\x57\xb0\x20\xf1\xf7\x51\x22\x45\x4a\x3b\x53\xcc\x90\xc6\x83\x4b\x8d\x92\x37\xf4\x1f\x97\xe9\xe6\x0d\x17\x53\x48\x74\xab\x0b\x5c\xcf\x12\xd5\xde\xfa\x37\x83\xa9\x8e\xc9\x64\x6a\x95\x41\x39\xa0\x73\xa9\x64\x31\x31\x02\xd5\xcb\x0b\x95\x80\x3f\x29\xd8\x9b\xe7\x92\xd9\xb8\xc2\x17\x69\xff\x97\xc1\x04\x43\x1a\xfc\xc0\x1e\x73\x97\xf4\x98\x9d\x0d\xe5\x0d\xa4\x9a\xe2\x49\xaf\x86\x73\xfd\xf3\xb2\xcc\xeb\xbc\x38\x52\x3d\xbe\xc9\xea\x9e\x01\x00\x00\xff\xff\xa7\x66\xa5\x08\xb0\x00\x00\x00"),
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x4c\x8e\xb1\x8e\xc3\x20\x10\x05\x7b\xbe\xe2\xfd\x80\x2d\xdf\x5d\xe7\xee\x6a\xf7\xee\x17\xb3\x89\x51\x30\xbb\x82\x05\x89\xbf\x8f\x12\x29\x52\xda\x99\x62\x86\x34\xee\x5c\x6a\x94\xbc\xa2\xff\xba\x4c\x17\xaf\x38\x99\x42\xa2\x4b\x5d\xe0\x7a\x94\xa8\xf6\xd6\xff\x19\x4c\x75\x4c\x26\x53\xab\x0c\xca\x01\x9d\x4b\x25\x8b\x89\x11\xa8\x9e\x5e\xa8\x04\xdc\xa4\x60\x6b\x9e\x4b\x66\xe3\x0a\x5f\xa4\xdd\x4f\x83\x09\x86\x34\xf8\x81\x2d\xe6\x2e\xe9\x31\x3b\x1b\xca\x2b\x48\x35\xc5\x83\x5e\x0d\xe7\xfa\xe7\x65\x99\x7f\xe6\xc5\x91\xea\xfe\x4d\xfe\xdc\x33\x00\x00\xff\xff\x25\x04\x93\x3a\xb0\x00\x00\x00"),
 		},
 		"/charts/components/web-ui/templates": &vfsgen۰DirInfo{
 			name:    "templates",
@@ -4594,7 +4594,7 @@ var vfsgenAssets = func() http.FileSystem {
 			modTime:          time.Date(1970, 1, 1, 0, 0, 1, 0, time.UTC),
 			uncompressedSize: 1405,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x54\x4d\x6f\x1b\x47\x0c\xbd\xcf\xaf\x20\xec\x43\x2e\xd1\xda\x0e\x82\x20\xd8\x9b\xe1\xa0\x85\x01\xdb\x31\xea\x7e\xa0\x08\x72\xa0\x67\xb9\xd2\xd4\xdc\xe1\x86\xe4\xc8\x5e\x14\xfd\xef\xc5\x8c\x24\xbb\x49\x53\xa0\x27\xcd\xf2\xeb\x3d\xf2\x91\x3a\x86\x0f\x34\x62\x61\x87\x2d\x72\x21\x83\x51\x14\x36\x84\x03\xe3\x34\x77\xe1\x18\x7e\xde\x24\x83\x64\x80\xf0\xfb\xf9\xf5\xd5\x6a\x14\x9d\xd0\x9d\x06\x18\x13\x53\x0d\xf8\x40\x91\x51\x09\xb6\xa8\x09\xef\x99\x0c\x5c\xe0\x9e\x60\x46\x33\x1a\x20\x65\x17\x58\xa4\x28\x38\x4d\x33\xa3\x93\x75\x21\x28\xcd\x9c\x22\x5e\x48\xc9\xde\xc3\x59\x08\x69\xc2\x35\xf5\x01\x40\x69\x16\x4b\x2e\xba\xf4\xf0\xa5\xe0\xd2\x25\x39\x79\x48\x79\x2b\xfc\x70\x72\xe0\x15\x00\xe6\xc2\x7c\x2b\x9c\xe2\xd2\xc3\xe5\x78\x23\x7e\xab\x64\x94\x3d\x00\x1c\xc3\xc7\x2d\xa9\xa6\xa1\x52\xd9\x10\xb4\xd2\xe0\xb8\x86\xc7\x8d\x18\xc1\xb0\x6f\x38\xed\xdc\x71\x83\xea\x80\xf3\xfc\x2b\xa9\x25\xc9\x5d\x80\x1a\xdc\xc3\xf6\xb4\x3b\xeb\x0e\xd4\x6e\x0b\xf3\x1d\x45\x25\xb7\x1e\x3e\x7d\x0e\x19\x27\x3a\xc0\xf4\x70\x74\x14\xc6\xc2\xfc\x2f\x63\x98\x65\x38\xcf\x59\x1c\x3d\x49\xb6\x1e\xfe\xfc\xab\xd9\xee\x28\x16\x4d\xbe\x5c\x48\x76\x7a\xf2\x66\xaf\xc4\x47\xfb\x51\xa5\xcc\x3d\xbc\x39\x3d\x3d\x0d\xc1\xfe\x23\x2c\xe2\x8c\xf7\x89\x93\x27\xb2\xbe\x59\x00\x06\x95\xf9\xf0\x5e\xc1\xf9\xd5\x55\x7b\x2b\xe1\xf0\x31\xf3\xf2\x93\x88\xff\x90\x98\x6c\x31\xa7\xa9\x07\xd7\x42\xbb\x80\x92\xcf\xed\x46\x72\x0d\xf8\xd6\xfc\x8b\x91\xf6\x70\xb6\xa7\xa2\xdb\x14\x9b\x42\xbe\xcc\xd4\xc3\x05\x17\x73\xd2\xcb\xdb\x2a\x86\xa8\xf7\xf0\xfe\xb4\x4d\x4e\xd7\xe4\xb7\xcd\xf0\xf6\xed\xbb\x77\x21\xa4\xbc\x56\xb2\xc6\x93\x72\x5d\x90\xa1\x87\x11\xd9\x2a\x10\x7e\x33\x1b\x80\x0a\xfe\x50\xee\x49\x33\xd5\x4d\x49\x72\xb2\xcf\xef\x22\xa3\x59\x0f\x79\x9d\xf2\xd3\x77\x03\x9d\x6d\x85\x71\xaa\x93\xaf\x7d\x1c\x05\x80\x8d\x98\x37\xe4\x3a\x93\xfa\xd1\xef\xe4\x5e\xd1\x13\x4e\x33\x53\xc7\x12\x91\x9b\x1f\x60\x46\xdf\xec\xc4\x05\x70\x3e\xbc\x8e\x6b\xaa\x35\xe5\x6f\xb0\x16\xff\xaa\xc0\xca\xd9\xf6\x43\x7f\x01\x3b\xde\xd5\x5b\x7d\x17\x2b\x28\x99\x14\x8d\x64\xcf\x72\xfe\x46\x50\xac\x20\xf3\x02\x4a\x51\xa6\x89\xf2\x00\x59\xbc\x1e\x92\xcd\x14\xd3\xb8\x3c\x2f\xed\x73\x36\x60\x1e\x6a\x00\x13\x6e\x09\xbc\x5e\x29\xd6\x2b\x8d\x92\x2d\x26\x29\x3b\x5a\x71\x23\x29\x52\x3b\xea\xba\xeb\xc5\x48\xbb\xdd\x49\x23\x9b\x40\xca\x51\x09\x8d\xac\x52\xcd\x71\xf7\xab\x6e\x55\x7f\x90\x0c\x94\xb7\x49\x25\x4f\x94\xdd\xe0\x31\xf9\x06\x38\xb9\xf3\x7e\x47\x0e\x54\x5e\x83\x95\xb8\xa9\xf0\xd7\x29\xa7\x2a\x4a\x07\x97\x63\x3d\x7a\x18\x04\x1e\x31\x7f\xd5\xc9\x3f\xd2\x4a\xde\x75\xeb\x8d\xdc\x28\xcc\xf2\x98\xf2\xba\x55\xe7\x94\x6b\x08\x0e\x7f\x14\x6b\xfe\xa9\x02\x64\x8a\x64\x86\xba\xbc\x6e\xfd\x2b\x4d\xd2\xba\x27\x88\x45\x79\x81\x7b\xc5\x36\x9b\xd1\x49\xe1\xd5\xcb\xa8\x5f\x75\xfb\xa2\x53\x7a\xd1\x28\xce\xa5\xad\xf7\xb4\xff\x9e\x68\x6a\x7f\x3b\x67\x6f\xde\x5f\xa7\x7d\x8b\x5f\x0a\xd9\xff\xcd\x08\x59\x06\xba\x23\xa6\xe8\xa2\xbb\x5b\x77\x61\xd2\xc3\x82\x7f\xfa\x1c\x02\x8e\x63\xca\xc9\x97\xe6\xfe\x3b\x00\x00\xff\xff\x73\xdf\xbd\x66\x7d\x05\x00\x00"),
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x54\x4d\x6f\x1b\x47\x0f\xbe\xcf\xaf\x20\xec\x43\x2e\xd1\xda\xce\x1b\x04\xc1\xde\x0c\x07\x6f\x61\xc0\x76\x8c\xba\x1f\x28\x82\x1c\xe8\x59\xae\x34\x35\x77\xb8\x21\x39\xb2\x17\x45\xff\x7b\x31\x23\xc9\x6e\xd2\x14\xe8\x49\xb3\xfc\x7a\x1e\xf2\x21\x75\x0c\x1f\x68\xc4\xc2\x0e\x5b\xe4\x42\x06\xa3\x28\x6c\x08\x07\xc6\x69\xee\xc2\x31\xfc\xb4\x49\x06\xc9\x00\xe1\xb7\xf3\xeb\xab\xd5\x28\x3a\xa1\x3b\x0d\x30\x26\xa6\x1a\xf0\x81\x22\xa3\x12\x6c\x51\x13\xde\x33\x19\xb8\xc0\x3d\xc1\x8c\x66\x34\x40\xca\x2e\xb0\x48\x51\x70\x9a\x66\x46\x27\xeb\x42\x50\x9a\x39\x45\xbc\x90\x92\xbd\x87\xb3\x10\xd2\x84\x6b\xea\x03\x80\xd2\x2c\x96\x5c\x74\xe9\xe1\x4b\xc1\xa5\x4b\x72\xf2\x90\xf2\x56\xf8\xe1\xe4\xc0\x2b\x00\xcc\x85\xf9\x56\x38\xc5\xa5\x87\xcb\xf1\x46\xfc\x56\xc9\x28\x7b\x00\x38\x86\x8f\x5b\x52\x4d\x43\xa5\xb2\x21\x68\xa5\xc1\x71\x0d\x8f\x1b\x31\x82\x61\xdf\x70\xda\xb9\xe3\x06\xd5\x01\xe7\xf9\x17\x52\x4b\x92\xbb\x00\x35\xb8\x87\xed\x69\x77\xd6\xfd\x6f\x4f\xed\xb6\x30\xdf\x51\x54\x72\xeb\xe1\xd3\xe7\x90\x71\xa2\x03\x4c\x0f\x47\x47\x61\x2c\xcc\xff\x30\x86\x59\x86\xf3\x9c\xc5\xd1\x93\x64\xeb\xe1\x8f\x3f\x9b\xed\x8e\x62\xd1\xe4\xcb\x85\x64\xa7\x27\x6f\xf6\x4a\x7c\xb4\x1f\x54\xca\xdc\xc3\x9b\xd3\xd3\xd3\x10\xec\x5f\xc2\x22\xce\x78\x9f\x38\x79\x22\xeb\x9b\x05\x60\x50\x99\x0f\xef\x15\x9c\x5f\x5d\xb5\xb7\x12\x0e\x1f\x33\x2f\x3f\x8a\xf8\xff\x13\x93\x2d\xe6\x34\xf5\xe0\x5a\x68\x17\x50\xf2\xb9\xdd\x48\xae\x01\xdf\x9a\x7f\x36\xd2\x1e\xce\xf6\x54\x74\x9b\x62\x53\xc8\x97\x99\x7a\xb8\xe0\x62\x4e\x7a\x79\x5b\xc5\x10\xf5\x1e\xde\x9f\xb6\xc9\xe9\x9a\xfc\xb6\x19\xde\xbe\x7d\xf7\x2e\x84\x94\xd7\x4a\xd6\x78\x52\xae\x0b\x32\xf4\x30\x22\x5b\x05\xc2\x6f\x66\x03\x50\xc1\x1f\xca\x3d\x69\xa6\xba\x29\x49\x4e\xf6\xf9\x5d\x64\x34\xeb\x21\xaf\x53\x7e\xfa\x6e\xa0\xb3\xad\x30\x4e\x75\xf2\xb5\x8f\xa3\x00\xb0\x11\xf3\x86\x5c\x67\x52\x3f\xfa\x9d\xdc\x2b\x7a\xc2\x69\x66\xea\x58\x22\x72\xf3\x03\xcc\xe8\x9b\x9d\xb8\x00\xce\x87\xd7\x71\x4d\xb5\xa6\xfc\x0d\xd6\xe2\x5f\x15\x58\x39\xdb\x7e\xe8\x2f\x60\xc7\xbb\x7a\xab\xef\x62\x05\x25\x93\xa2\x91\xec\x59\xce\x5f\x09\x8a\x15\x64\x5e\x40\x29\xca\x34\x51\x1e\x20\x8b\xd7\x43\xb2\x99\x62\x1a\x97\xe7\xa5\x7d\xce\x06\xcc\x43\x0d\x60\xc2\x2d\x81\xd7\x2b\xc5\x7a\xa5\x51\xb2\xc5\x24\x65\x47\x2b\x6e\x24\x45\x6a\x47\x5d\x77\xbd\x18\x69\xb7\x3b\x69\x64\x13\x48\x39\x2a\xa1\x91\x55\xaa\x39\xee\x7e\xd5\xad\xea\x0f\x92\x81\xf2\x36\xa9\xe4\x89\xb2\x1b\x3c\x26\xdf\x00\x27\x77\xde\xef\xc8\x81\xca\x6b\xb0\x12\x37\x15\xfe\x3a\xe5\x54\x45\xe9\xe0\x72\xac\x47\x0f\x83\xc0\x23\xe6\xaf\x3a\xf9\x5b\x5a\xc9\xbb\x6e\xbd\x91\x1b\x85\x59\x1e\x53\x5e\xb7\xea\x9c\x72\x0d\xc1\xe1\xf7\x62\xcd\x3f\x55\x80\x4c\x91\xcc\x50\x97\xd7\xad\x7f\xa5\x49\x5a\xf7\x04\xb1\x28\x2f\x70\xaf\xd8\x66\x33\x3a\x29\xbc\x7a\x19\xf5\xab\x6e\x5f\x74\x4a\x2f\x1a\xc5\xb9\xb4\xf5\x9e\xf6\xdf\x13\x4d\xed\x6f\xe7\xec\xcd\xfb\xeb\xb4\x6f\xf1\x4b\x21\xfb\xaf\x19\x21\xcb\x40\x77\xc4\x14\x5d\x74\x77\xeb\x2e\x4c\x7a\x58\xf0\x4f\x9f\x43\xc0\x71\x4c\x39\xf9\xd2\xdc\x7f\x05\x00\x00\xff\xff\x36\xf1\x95\xae\x7d\x05\x00\x00"),
 		},
 		"/charts/control-plane": &vfsgen۰DirInfo{
 			name:    "control-plane",
diff --git a/pkg/components/web-ui/template.go b/pkg/components/web-ui/template.go
index a6c3406e..5d4fda29 100644
--- a/pkg/components/web-ui/template.go
+++ b/pkg/components/web-ui/template.go
@@ -21,7 +21,6 @@ nodeSelector:
   beta.kubernetes.io/os: linux
 image:
   repository: quay.io/kinvolk/lokomotive-web-ui
-  tag: v0.1.1
   pullPolicy: Always
 securityContext:
   capabilities:


Test patch:
diff --git a/pkg/components/web-ui/component_test.go b/pkg/components/web-ui/component_test.go
index 2f6bb09c..16fd3ba9 100644
--- a/pkg/components/web-ui/component_test.go
+++ b/pkg/components/web-ui/component_test.go
@@ -115,7 +115,7 @@ metadata:
     helm.sh/chart: headlamp-0.1.0
     app.kubernetes.io/name: web-ui
     app.kubernetes.io/instance: web-ui
-    app.kubernetes.io/version: "0.1.1"
+    app.kubernetes.io/version: "0.1.3"
     app.kubernetes.io/managed-by: Helm
   annotations:
     cert-manager.io/cluster-issuer: letsencrypt-production
@@ -155,7 +155,7 @@ metadata:
     helm.sh/chart: headlamp-0.1.0
     app.kubernetes.io/name: web-ui
     app.kubernetes.io/instance: web-ui
-    app.kubernetes.io/version: "0.1.1"
+    app.kubernetes.io/version: "0.1.3"
     app.kubernetes.io/managed-by: Helm
   annotations:
     cert-manager.io/cluster-issuer: letsencrypt-staging