File tree 1 file changed +2
-4
lines changed
pkg/plugins/v1/scaffolds/internal/templates
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,6 @@ PATH := $(PATH):$(PWD)/bin
103
103
SHELL := env PATH=$(PATH) /bin/sh
104
104
OS = $(shell uname -s | tr '[:upper:]' '[:lower:]')
105
105
ARCH = $(shell uname -m | sed 's/x86_64/amd64/')
106
- OSOPER = $(shell uname -s | tr '[:upper:]' '[:lower:]' | sed 's/darwin/apple-darwin/' | sed 's/linux/linux-gnu/')
107
- ARCHOPER = $(shell uname -m )
108
106
109
107
kustomize:
110
108
ifeq (, $(shell which kustomize 2>/dev/null))
@@ -123,8 +121,8 @@ ifeq (, $(shell which helm-operator 2>/dev/null))
123
121
@{ \
124
122
set -e ;\
125
123
mkdir -p bin ;\
126
- curl -LO https://github.com/joelanford/helm-operator/releases/download/{{ .HelmOperatorVersion }}/helm-operator-{{ .HelmOperatorVersion }}-$(ARCHOPER)-$(OSOPER ) ;\
127
- mv helm-operator-{{ .HelmOperatorVersion }}-$(ARCHOPER)-$(OSOPER ) ./bin/helm-operator ;\
124
+ curl -LO https://github.com/joelanford/helm-operator/releases/download/{{ .HelmOperatorVersion }}/helm-operator_$(OS)_$(ARCH ) ;\
125
+ mv helm-operator_$(OS)_$(ARCH ) ./bin/helm-operator ;\
128
126
chmod +x ./bin/helm-operator ;\
129
127
}
130
128
HELM_OPERATOR=$(realpath ./bin/helm-operator)
You can’t perform that action at this time.
0 commit comments