{"id":953,"date":"2024-08-30T16:04:40","date_gmt":"2024-08-30T14:04:40","guid":{"rendered":"https:\/\/www.ume.li\/blog\/?p=953"},"modified":"2024-08-30T16:06:02","modified_gmt":"2024-08-30T14:06:02","slug":"hcl-connections-componentpack-shortcut","status":"publish","type":"post","link":"https:\/\/www.ume.li\/blog\/2024\/08\/30\/hcl-connections-componentpack-shortcut\/","title":{"rendered":"HCL Connections Componentpack &#8211; install\/upgrade &#8211; tiny shortcut"},"content":{"rendered":"<p>If you have to install or upgrade the component pack, you always need to get the latest version of the Helm charts.<\/p>\n<p>For example for <a href=\"https:\/\/opensource.hcltechsw.com\/connections-doc\/v8-cr6\/admin\/install\/cp_install_services_tasks.html#bootstrap\" target=\"_blank\" rel=\"noopener\">bootstrap.<\/a><br \/>\nI prefer to have a small shell script for each component which stores the command for the installation. Here&#8217;s my bootstrap.sh file:<\/p>\n<pre>\r\n#!\/bin\/sh\r\nchart=\"bootstrap\"\r\nVERSION=$(helm show all oci:\/\/hclcr.io\/cnx\/$chart --devel | grep \"version:\" | awk -F '[\/:]' '{print $2}' | sed 's\/^\\s*\\|\\s*$\/\/g' | tail -n 1)\r\necho \"$VERSION\"\r\nhelm upgrade $chart oci:\/\/hclcr.io\/cnx\/$chart -i --version $VERSION --namespace connections -f $chart.yml --wait\r\ntimeout 60 watch kubectl -n connections get pods\r\n<\/pre>\n<div>Running this for installation or upgrades, I don&#8217;t have to copy&amp;paste the version number.<\/div>\n<div><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have to install or upgrade the component pack, you always need to get the latest version of the<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[],"class_list":["post-953","post","type-post","status-publish","format-standard","hentry","category-component-pack"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/comments?post=953"}],"version-history":[{"count":3,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/953\/revisions"}],"predecessor-version":[{"id":956,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/953\/revisions\/956"}],"wp:attachment":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/media?parent=953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/categories?post=953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/tags?post=953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}