Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update manifests to support arm64 nodes #677

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,14 @@ spec:
- name: AVP_VERSION
value: "1.18.0"
args:
- >-
- |
ARCH=$(uname -m)
case $ARCH in
aarch64) ARCH="arm64";;
x86_64) ARCH="amd64";;
esac
wget -O argocd-vault-plugin
https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v${AVP_VERSION}/argocd-vault-plugin_${AVP_VERSION}_linux_amd64 &&
https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v${AVP_VERSION}/argocd-vault-plugin_${AVP_VERSION}_linux_$ARCH &&
chmod +x argocd-vault-plugin &&
mv argocd-vault-plugin /custom-tools/
volumeMounts:
Expand Down Expand Up @@ -193,8 +198,13 @@ spec:
value: 1.18.0
command: [sh, -c]
args:
- >-
curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_amd64 -o argocd-vault-plugin &&
- |
ARCH=$(uname -m)
case $ARCH in
aarch64) ARCH="arm64";;
x86_64) ARCH="amd64";;
esac
curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_$ARCH -o argocd-vault-plugin &&
chmod +x argocd-vault-plugin &&
mv argocd-vault-plugin /custom-tools/
volumeMounts:
Expand Down
9 changes: 7 additions & 2 deletions manifests/cmp-configmap/argocd-repo-server-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,14 @@ spec:
- name: AVP_VERSION
value: "1.18.0"
args:
- >-
- |
ARCH=$(uname -m)
case $ARCH in
aarch64) ARCH="arm64";;
x86_64) ARCH="amd64";;
esac
wget -O argocd-vault-plugin
https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v${AVP_VERSION}/argocd-vault-plugin_${AVP_VERSION}_linux_amd64 &&
https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v${AVP_VERSION}/argocd-vault-plugin_${AVP_VERSION}_linux_$ARCH &&
chmod +x argocd-vault-plugin &&
mv argocd-vault-plugin /custom-tools/
volumeMounts:
Expand Down
9 changes: 7 additions & 2 deletions manifests/cmp-sidecar/argocd-repo-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ spec:
value: 1.18.0
command: [sh, -c]
args:
- >-
curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_amd64 -o argocd-vault-plugin &&
- |
ARCH=$(uname -m)
case $ARCH in
aarch64) ARCH="arm64";;
x86_64) ARCH="amd64";;
esac
curl -L https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v$(AVP_VERSION)/argocd-vault-plugin_$(AVP_VERSION)_linux_$ARCH -o argocd-vault-plugin &&
chmod +x argocd-vault-plugin &&
mv argocd-vault-plugin /custom-tools/

Expand Down