🐦 bootstrap: add tailscape and app of apps autoloader
This commit is contained in:
parent
7082cd4dd5
commit
9a522bcc8c
5 changed files with 53 additions and 2 deletions
|
|
@ -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
18
bootstrap/root-app.yaml
Normal 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
|
||||
20
bootstrap/tailscape-operator.yaml
Normal file
20
bootstrap/tailscape-operator.yaml
Normal 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
|
||||
7
system/tailscale/chart.yaml
Normal file
7
system/tailscale/chart.yaml
Normal 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"
|
||||
6
system/tailscale/values.yaml
Normal file
6
system/tailscale/values.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
tailscale-operator:
|
||||
oauth:
|
||||
clientId: "kzk7jyRgSA11CNTRL"
|
||||
clientSecret: ""
|
||||
|
||||
secretName: tailscale-auth
|
||||
Loading…
Reference in a new issue