Skip to content

Commit

Permalink
fix(argocd): update download-tools image version to fix DNS resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
rriski committed Oct 23, 2022
1 parent 8ae2dbb commit 2d32702
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bootstrap/argocd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ argo-cd:

initContainers:
- name: download-tools
image: alpine:3.8
image: alpine:3.16.2
env:
- name: AVP_VERSION
value: 1.12.0
Expand All @@ -81,6 +81,9 @@ argo-cd:
command: [sh, -c]
args:
- >-
# Fix DNS in Alpine
# https://stackoverflow.com/questions/65181012/does-alpine-have-known-dns-issue-within-kubernetes
cat /etc/resolv.conf | sed -r "s/^(search.*|options.*)/#\1/" > /tmp/resolv && cat /tmp/resolv > /etc/resolv.conf &&
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 &&
chmod +x argocd-vault-plugin &&
wget -O curl https://github.com/moparisthebest/static-curl/releases/download/v$(CURL_VERSION)/curl-amd64 &&
Expand Down

0 comments on commit 2d32702

Please sign in to comment.