latest work

This commit is contained in:
ari committed 2023-02-21 04:38:19 +00:00
1 parent 2ebf65fae2
commit a775629faa
7 files changed
+3191 -9

No files matched your search

+3140
View File
File diff suppressed because it is too large. Load diff
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
helm install argocd k8s/infra/argocd \
--namespace argocd \
--create-namespace \
--set selfapp.sshkey="$(cat ~/.ssh/id_rsa)"
watch -n1 "kubectl -n argocd get all"
-8
View File
@@ -1,8 +0,0 @@
#!/bin/bash
# kubectl create namespace argocd
# kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
helm install argocd k8s/infra/argocd --namespace argocd --create-namespace
watch -n1 "kubectl -n argocd get all"
Whitespace-only changes.
+12
View File
@@ -0,0 +1,12 @@
---
apiVersion: v1
kind: Secret
metadata:
name: argo-repo-main
namespace: "{{ .Release.Namespace }}"
labels:
argocd.argoproj.io/secret-type: repository
stringData:
type: git
url: "{{ .Values.selfapp.repo }}"
sshPrivateKey: {{ .Values.selfapp.sshkey | quote }}
+25
View File
@@ -0,0 +1,25 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: "{{ .Release.Name }}"
namespace: "{{ .Release.Namespace }}"
spec:
project: default
source:
repoURL: "{{ .Values.selfapp.repo }}"
targetRevision: "{{ .Values.selfapp.commit }}"
path: k8s/infra/argocd
helm:
parameters:
- name: "selfapp.sshkey"
value: {{ .Values.selfapp.sshkey | quote }}
destination:
server: https://kubernetes.default.svc
namespace: "{{ .Release.Namespace }}"
# syncPolicy:
# automated:
# prune: false
# selfHeal: true
# allowEmpty: true
+6 -1
View File
@@ -1,4 +1,9 @@
argo-cd:
crds:
install: true
keep: false
keep: false
selfapp:
commit: "stable"
repo: "git@github.com:asosnovsky/homelab.git"
sshkey: ""