🐦 bootstrap: add tailscape and app of apps autoloader

This commit is contained in:
Quentin Campos 2026-04-22 09:06:03 +02:00
parent 7082cd4dd5
commit 9a522bcc8c
5 changed files with 53 additions and 2 deletions

View file

@ -13,6 +13,6 @@ jobs:
with:
args: >-
--context dir:///github/workspace
--destination git.qcampos.fr/${{ github.repository }}:latest
--destination git.qcampos.fr/${{ github.repository }}:${{ github.sha }}
--destination git.qcampos.fr/${{ github.repository }}-backend:latest
--destination git.qcampos.fr/${{ github.repository }}-backend:${{ github.sha }}
--skip-tls-verify

18
bootstrap/root-app.yaml Normal file
View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root-app
namespace: argocd
spec:
project: default
source:
repoURL: 'https://git.qcampos.fr/qcampos/system.git'
path: bootstrap
targetRevision: main
destination:
server: 'https://kubernetes.default.svc'
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: tailscale-operator
namespace: argocd
spec:
project: default
source:
repoURL: 'https://git.qcampos.fr/qcampos/system.git'
path: system/tailscale
targetRevision: main
destination:
server: 'https://kubernetes.default.svc'
namespace: tailscale
syncPolicy:
automated:
prune: true
selfHeal: false
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,7 @@
apiVersion: v2
name: tailscale-operator-wrapper
version: 1.0.0
dependencies:
- name: tailscale-operator
version: "1.66.4" # Vérifie la dernière version stable
repository: "https://pkgs.tailscale.com/helm-charts"

View file

@ -0,0 +1,6 @@
tailscale-operator:
oauth:
clientId: "kzk7jyRgSA11CNTRL"
clientSecret: ""
secretName: tailscale-auth