trying out argocd bootstrapping

This commit is contained in:
2023-10-09 14:53:41 +02:00
parent 7e1eb316ff
commit 4eb080c4fd
14 changed files with 177 additions and 9547 deletions

View File

@@ -0,0 +1,15 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- https://github.com/argoproj-labs/argocd-image-updater/manifests/base
# patches:
# - path: ./restic-commands.yaml
# target:
# kind: CronJob

View File

@@ -0,0 +1,14 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-apps
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/moll-re/k3s-infra.git
targetRevision: HEAD
path: kluster-deployments
destination:
server: https://kubernetes.default.svc
namespace: argocd

View File

@@ -0,0 +1,19 @@
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: argocd-ingressroute
spec:
entryPoints:
- websecure
routes:
- match: Host(`argocd.kluster.moll.re`)
kind: Rule
services:
- name: argocd-server
port: 443
tls:
certResolver: default-tls

View File

@@ -0,0 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- namespace.yaml
- ingress.yaml
- argo-apps.application.yaml

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: argocd