about summary refs log tree commit diff
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 13:04:03 +0200
committermakefunstuff <[email protected]>2024-06-28 13:04:03 +0200
commit320b06cb81e0fe434aea56494684fae101a89dfc (patch)
tree8b3e1946749256254f6fef746e9b997223209d25
parent96abd71cde4ed66223a916935ab28af1909b7ef0 (diff)
downloadk3s-lab-320b06cb81e0fe434aea56494684fae101a89dfc.tar.gz
update
-rw-r--r--.gitignore3
-rwxr-xr-xscripts/deploy-argocd9
-rw-r--r--tools/argocd/Chart.yaml10
3 files changed, 14 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e080220
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.tgz
+**/charts
+**/Chart.lock
diff --git a/scripts/deploy-argocd b/scripts/deploy-argocd
index 2fdec58..aa0b3e5 100755
--- a/scripts/deploy-argocd
+++ b/scripts/deploy-argocd
@@ -2,11 +2,4 @@
 
 set -e
 
-
-if kubectl get namespace argocd; then
-  echo "Namespace 'argocd' alreay exists. Doing nothing"
-else
-  echo "Creating argocd namespace"
-  kubectl create namespace argocd
-fi
-
+helm install argocd ./tools/argocd
diff --git a/tools/argocd/Chart.yaml b/tools/argocd/Chart.yaml
index e69de29..4cae20b 100644
--- a/tools/argocd/Chart.yaml
+++ b/tools/argocd/Chart.yaml
@@ -0,0 +1,10 @@
+apiVersion: v2
+name: argocd
+description: A Helm chart for deploying ArgoCD with custom Ingress rules
+version: 0.1.0
+appVersion: v2.1.7
+
+dependencies:
+  - name: argo-cd
+    version: 4.5.2
+    repository: https://argoproj.github.io/argo-helm