
Bump Helm version from 3.2.1 to 3.9.4. This also bumps helm-mapkubeapis from 0.3.0 to 0.3.2 which is the version built against Helm SDK 3.9.4. In addition, this removes the helm-2to3 plugin since we fully moved to helm v3. Changelogs: Helm 3.9.4: https://github.com/helm/helm/releases/tag/v3.9.4 helm-mapkubeapis 0.3.2: https://github.com/helm/helm-mapkubeapis/releases/tag/v0.3.2 Test plan: PASS: build-pkgs --clean --all PASS: full AIO-SX deployment PASS: nginx-ingress-controller successfully uploaded/applied PASS: cert-manager successfully uploaded/applied PASS: platform-integ-apps successfully uploaded/applied PASS: oidc-auth-apps successfully uploaded/applied PASS: app-istio successfully uploaded/applied/removed/deleted PASS: app-kubevirt successfully uploaded/applied/removed/deleted PASS: app-oran-o2 successfully uploaded/applied/removed/deleted PASS: app-security-profiles-operator successfully uploaded/applied/removed/deleted PASS: app-sriov-fec-operator successfully uploaded/applied/removed/deleted PASS: app-sts-silicom successfully uploaded/applied/removed/deleted PASS: audit-armada-app successfully uploaded/applied/removed/deleted PASS: metrics-server-armada-app successfully uploaded/applied/removed/deleted PASS: ptp-notification-armada-app successfully uploaded/applied/removed/deleted PASS: snmp-armada-app successfully uploaded/applied/removed/deleted PASS: vault-armada-app successfully uploaded/applied/removed/deleted Story: 2010677 Task: 47757 Depends-On: https://review.opendev.org/c/starlingx/config/+/878727 Change-Id: I6a2fd93a9e41a89d100ab295e55aa3e0cb0847fe Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
38 lines
1.1 KiB
Makefile
Executable File
38 lines
1.1 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
# vim: set expandtab!
|
|
# export DH_VERBOSE = 1
|
|
|
|
export ROOT = debian/tmp
|
|
export SBINDIR = $(ROOT)/usr/sbin
|
|
export SUDOERDIR = $(ROOT)/etc/sudoers.d
|
|
|
|
export HELM_VERSION = 3.9.4
|
|
export HELM_EXECUTABLE = linux-amd64/helm
|
|
export HELM_PKG = helm-v$(HELM_VERSION)-linux-amd64.tar.gz
|
|
|
|
export HELM_MAPKUBEAPIS_VERSION = 0.3.2
|
|
export HELM_MAPKUBEAPIS_PKG = helm-mapkubeapis_$(HELM_MAPKUBEAPIS_VERSION).tar.gz
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
# Extract the third party helm package downloaded in dl_hook.
|
|
tar xfz $(HELM_PKG)
|
|
tar xfz $(HELM_MAPKUBEAPIS_PKG)
|
|
|
|
override_dh_auto_install:
|
|
install -d -m 755 $(SBINDIR)
|
|
install -d -m 755 $(ROOT)/usr/local/sbin
|
|
install -p -D -m 755 $(HELM_EXECUTABLE) $(SBINDIR)
|
|
install -p -D -m 755 helm-upload $(ROOT)/usr/local/sbin
|
|
install -p -D -m 755 helmv2-cli.sh $(ROOT)/usr/local/sbin/helmv2-cli
|
|
install -d -m 755 $(SUDOERDIR)
|
|
install -p -D -m 440 helm.sudo $(SUDOERDIR)/helm
|
|
install -d -m 755 $(ROOT)/usr/local/share/helm
|
|
install -d -m 755 $(ROOT)/usr/local/share/helm/plugins
|
|
cp -R mapkubeapis $(ROOT)/usr/local/share/helm/plugins/
|
|
|
|
override_dh_usrlocal:
|
|
# Do Nothing
|