Remove all the extra stuff for ArgoCD #25
@ -69,62 +69,6 @@ repoServer:
|
|||||||
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: regcred
|
- name: regcred
|
||||||
volumes:
|
|
||||||
- name: custom-tools
|
|
||||||
emptyDir: {}
|
|
||||||
- name: helm-plugins
|
|
||||||
emptyDir: {}
|
|
||||||
env:
|
|
||||||
- name: HELM_PLUGINS
|
|
||||||
value: /helm-plugins
|
|
||||||
- name: install-ksops
|
|
||||||
image: viaductoss/ksops:v3.0.2
|
|
||||||
command: ["/bin/sh", "-c"]
|
|
||||||
args:
|
|
||||||
- echo "Installing KSOPS...";
|
|
||||||
mv ksops /custom-tools/;
|
|
||||||
mv $GOPATH/bin/kustomize /custom-tools/;
|
|
||||||
echo "Done.";
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /custom-tools
|
|
||||||
name: custom-tools
|
|
||||||
- name: install-helm-secrets
|
|
||||||
image: alpine:latest
|
|
||||||
command: [sh, -ec]
|
|
||||||
env:
|
|
||||||
- name: HELM_SECRETS_VERSION
|
|
||||||
value: "3.12.0"
|
|
||||||
- name: KUBECTL_VERSION
|
|
||||||
value: "1.24.3"
|
|
||||||
- name: VALS_VERSION
|
|
||||||
value: "0.18.0"
|
|
||||||
- name: SOPS_VERSION
|
|
||||||
value: "3.7.3"
|
|
||||||
args:
|
|
||||||
- |
|
|
||||||
mkdir -p /custom-tools/helm-plugins
|
|
||||||
wget -qO- https://github.com/jkroepke/helm-secrets/releases/download/v${HELM_SECRETS_VERSION}/helm-secrets.tar.gz | tar -C /custom-tools/helm-plugins -xzf-;
|
|
||||||
|
|
||||||
wget -qO /custom-tools/sops https://github.com/mozilla/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux
|
|
||||||
wget -qO /custom-tools/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl
|
|
||||||
|
|
||||||
wget -qO- https://github.com/variantdev/vals/releases/download/v${VALS_VERSION}/vals_${VALS_VERSION}_linux_amd64.tar.gz | tar -xzf- -C /custom-tools/ vals;
|
|
||||||
|
|
||||||
chmod +x /custom-tools/*
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /custom-tools
|
|
||||||
name: custom-tools
|
|
||||||
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /usr/local/bin/kustomize
|
|
||||||
name: custom-tools
|
|
||||||
subPath: kustomize
|
|
||||||
- mountPath: /.config/kustomize/plugin/viaduct.ai/v1/ksops/ksops
|
|
||||||
name: custom-tools
|
|
||||||
subPath: ksops
|
|
||||||
- mountPath: /helm-plugins
|
|
||||||
name: helm-plugins
|
|
||||||
|
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
credentialTemplates:
|
credentialTemplates:
|
||||||
|
Reference in New Issue
Block a user