mirror of
https://github.com/ysoftdevs/argo-poc.git
synced 2026-11-20 06:21:28 +01:00
First apps
This commit is contained in:
1 parent
d94152dc99
commit
bc4fcfb6bb
43 files changed
+32948
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: argocd
|
||||
resources:
|
||||
- argocd.yaml
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -e
|
||||
|
||||
VERSION=$1
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "Usage: $0 <version>"
|
||||
echo "Example: $0 v3.0.0-rc4"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
URL="https://raw.githubusercontent.com/argoproj/argo-cd/$VERSION/manifests/install.yaml"
|
||||
|
||||
echo "Downloading ArgoCD version $VERSION from $URL"
|
||||
|
||||
cat >argocd.yaml <<EOF
|
||||
# Source:
|
||||
# $URL
|
||||
# To update, use ./update.sh <version>
|
||||
|
||||
EOF
|
||||
|
||||
if ! curl -sS -f -o - $URL >> argocd.yaml; then
|
||||
echo "Error: Failed to download ArgoCD version $VERSION"
|
||||
exit 1
|
||||
fi
|
||||
Reference in new issue
Block a user