Skip to content

Commit

Permalink
Updating ArgoCD deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
danmanners committed Sep 16, 2023
1 parent 836156a commit d844fa6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ keys/
inventory/turing-pi
.terraform/
charts/
.tests/

# Files
*.pem
Expand Down
14 changes: 10 additions & 4 deletions manifests/bootstrapping-onprem/08-argocd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,17 @@ repoServer:
value: '/.config'
# Add the KSOPS plugin
initContainers:
- name: install-ksops
image: viaductoss/ksops:v4.2.1
command: ["/bin/sh", "-c"]
- name: install-custom-tools
image: docker.io/library/alpine:latest
command: ["ash", "-c"]
args:
- echo "Installing KSOPS..."; mv ksops /custom-tools/; mv kustomize /custom-tools/; echo "Done.";
- |
export ARCH=$(uname -m | awk '{print ($1=="x86_64" ? "x86_64" : ($1=="aarch64" ? "arm64" : "unknown"))}')
wget -qO- https://github.com/viaduct-ai/kustomize-sops/releases/download/v4.2.1/ksops_4.2.1_Linux_${ARCH}.tar.gz | tar -xzf -
export ARCH=$(uname -m | awk '{print ($1=="x86_64" ? "amd64" : ($1=="aarch64" ? "arm64" : "unknown"))}')
wget -qO- https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.1.1/kustomize_v5.1.1_linux_${ARCH}.tar.gz | tar -xzf -
mv kustomize ksops /custom-tools/
chown -R 999:999 /custom-tools/*
volumeMounts:
- mountPath: /custom-tools
name: custom-tools
Expand Down

0 comments on commit d844fa6

Please sign in to comment.