First apps

This commit is contained in:
Dušan Jakub
2025-04-08 15:43:45 +02:00
parent d94152dc99
commit bc4fcfb6bb
43 changed files with 32948 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+5
View File
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- argocd.yaml
+26
View File
@@ -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