update installation scripts

This commit is contained in:
2024-08-13 09:57:53 +10:00
parent f4a3bf6499
commit 6194e7ee6a
7 changed files with 20 additions and 3646 deletions

View File

@@ -9,5 +9,7 @@
"helm-values": { "helm-values": {
"fileMatch": ["\\.yaml$"] "fileMatch": ["\\.yaml$"]
}, },
"packageRules": [] "ignorePaths": [
]
} }

View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
helm upgrade --install cilium cilium/cilium --version 1.15.6 \
--namespace kube-system \
--set operator.replicas=1

View File

@@ -0,0 +1,4 @@
#!/bin/bash
set -e
helm upgrade --install argocd -n argocd -f argocd-values.yaml argo/argo-cd --version 7.3.6

View File

@@ -0,0 +1,4 @@
#!/bin/bash
set -e
helm upgrade --install sealed-secrets -n kube-system --set-string fullnameOverride=sealed-secrets-controller sealed-secrets/sealed-secrets -f sealed-secrets-values.yaml

View File

@@ -5,10 +5,4 @@ kubectl apply -k "https://github.com/argoproj/argo-cd/manifests/crds?ref=v2.11.4
kubectl create namespace argocd || echo "Namespace argocd already exists" kubectl create namespace argocd || echo "Namespace argocd already exists"
helm repo add argo https://argoproj.github.io/argo-helm || echo "Argo repo already exists" helm repo add argo https://argoproj.github.io/argo-helm || echo "Argo repo already exists"
helm repo update || echo "Failed to update helm repos" helm repo update || echo "Failed to update helm repos"
helm upgrade --install argocd -n argocd -f argocd-values.yaml argo/argo-cd --version 7.3.6 helm upgrade --install argocd -n argocd -f argocd-values.yaml argo/argo-cd --version 7.3.6
#kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.9.18/manifests/ha/install.yaml
helm plugin install https://github.com/jkroepke/helm-secrets
#Check repo server secret accessibility
echo "Checking repo server secret accessibility:"
kubectl auth can-i get secrets --namespace "argocd" --as "system:serviceaccount:argocd:argocd-repo-server"

View File

@@ -3,4 +3,4 @@ set -e
helm repo add sealed-secrets https://bitnami-labs.github.io/sealed-secrets helm repo add sealed-secrets https://bitnami-labs.github.io/sealed-secrets
helm repo update helm repo update
helm install sealed-secrets -n kube-system --set-string fullnameOverride=sealed-secrets-controller sealed-secrets/sealed-secrets -f sealed-secrets-values.yaml helm upgrade --install sealed-secrets -n kube-system --set-string fullnameOverride=sealed-secrets-controller sealed-secrets/sealed-secrets -f sealed-secrets-values.yaml

File diff suppressed because it is too large Load Diff