Skip to content

Commit

Permalink
Add darwin/arm64, linux/arm64 and linux/arm for krew support platform (
Browse files Browse the repository at this point in the history
  • Loading branch information
superbrothers authored May 1, 2021
1 parent 7454c74 commit 2de1fd7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions hack/view-serviceaccount-kubeconfig.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ spec:
matchLabels:
os: darwin
arch: amd64
- uri: https://github.com/superbrothers/kubectl-view-serviceaccount-kubeconfig-plugin/releases/download/{{ .Env.GIT_VERSION }}/kubectl-view_serviceaccount_kubeconfig-darwin-arm64.zip
sha256: {{ file.Read "./dist/kubectl-view_serviceaccount_kubeconfig-darwin-arm64.zip" | crypto.SHA256 }}
bin: kubectl-view_serviceaccount_kubeconfig
files:
- from: "*"
to: .
selector:
matchLabels:
os: darwin
arch: arm64
- uri: https://github.com/superbrothers/kubectl-view-serviceaccount-kubeconfig-plugin/releases/download/{{ .Env.GIT_VERSION }}/kubectl-view_serviceaccount_kubeconfig-linux-amd64.zip
sha256: {{ file.Read "./dist/kubectl-view_serviceaccount_kubeconfig-linux-amd64.zip" | crypto.SHA256 }}
bin: kubectl-view_serviceaccount_kubeconfig
Expand All @@ -24,6 +34,26 @@ spec:
matchLabels:
os: linux
arch: amd64
- uri: https://github.com/superbrothers/kubectl-view-serviceaccount-kubeconfig-plugin/releases/download/{{ .Env.GIT_VERSION }}/kubectl-view_serviceaccount_kubeconfig-linux-arm64.zip
sha256: {{ file.Read "./dist/kubectl-view_serviceaccount_kubeconfig-linux-arm64.zip" | crypto.SHA256 }}
bin: kubectl-view_serviceaccount_kubeconfig
files:
- from: "*"
to: .
selector:
matchLabels:
os: linux
arch: arm64
- uri: https://github.com/superbrothers/kubectl-view-serviceaccount-kubeconfig-plugin/releases/download/{{ .Env.GIT_VERSION }}/kubectl-view_serviceaccount_kubeconfig-linux-arm.zip
sha256: {{ file.Read "./dist/kubectl-view_serviceaccount_kubeconfig-linux-arm.zip" | crypto.SHA256 }}
bin: kubectl-view_serviceaccount_kubeconfig
files:
- from: "*"
to: .
selector:
matchLabels:
os: linux
arch: arm
- uri: https://github.com/superbrothers/kubectl-view-serviceaccount-kubeconfig-plugin/releases/download/{{ .Env.GIT_VERSION }}/kubectl-view_serviceaccount_kubeconfig-windows-amd64.zip
sha256: {{ file.Read "./dist/kubectl-view_serviceaccount_kubeconfig-windows-amd64.zip" | crypto.SHA256 }}
bin: kubectl-view_serviceaccount_kubeconfig.exe
Expand Down

0 comments on commit 2de1fd7

Please sign in to comment.