trying out argocd bootstrapping
This commit is contained in:
15
infrastructure/argocd-imageupdate/kustomization.yaml
Normal file
15
infrastructure/argocd-imageupdate/kustomization.yaml
Normal 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
|
||||
|
14
infrastructure/argocd/argo-apps.application.yaml
Normal file
14
infrastructure/argocd/argo-apps.application.yaml
Normal 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
|
19
infrastructure/argocd/ingress.yaml
Normal file
19
infrastructure/argocd/ingress.yaml
Normal 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
|
9
infrastructure/argocd/kustomization.yaml
Normal file
9
infrastructure/argocd/kustomization.yaml
Normal 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
|
4
infrastructure/argocd/namespace.yaml
Normal file
4
infrastructure/argocd/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: argocd
|
Reference in New Issue
Block a user