add headlamp app
This commit is contained in:
34
apps/applicationset-headlamp.yaml
Normal file
34
apps/applicationset-headlamp.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: nextcloud-apps
|
||||||
|
namespace: argocd-namespace
|
||||||
|
spec:
|
||||||
|
generators:
|
||||||
|
- git:
|
||||||
|
repoURL: https://git.gkdomaine.fr/kubernetes/argocd.git
|
||||||
|
revision: main
|
||||||
|
files:
|
||||||
|
- path: "nextcloud/*/config.json" # Il lit le fichier de config
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
# {{path.basename}} sera remplacé par "dev" ou "prd"
|
||||||
|
name: 'nextcloud-{{path.basename}}'
|
||||||
|
spec:
|
||||||
|
project: '{{path.basename}}'
|
||||||
|
source:
|
||||||
|
repoURL: https://git.gkdomaine.fr/kubernetes/argocd.git
|
||||||
|
targetRevision: main
|
||||||
|
path: '{{path}}' # Utilise le chemin du dossier trouvé
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- values.yaml
|
||||||
|
destination:
|
||||||
|
server: '{{server}}' # Il utilise la variable définie dans config.json
|
||||||
|
namespace: 'nextcloud-{{path.basename}}'
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
6
headlamp/dev/Chart.lock
Normal file
6
headlamp/dev/Chart.lock
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
dependencies:
|
||||||
|
- name: nextcloud
|
||||||
|
repository: https://nextcloud.github.io/helm/
|
||||||
|
version: 8.7.0
|
||||||
|
digest: sha256:a6760eb06b4b5afb86459e5d2c9abc394b67bab985d391c1a0a7778b27d937e6
|
||||||
|
generated: "2025-12-28T03:43:31.0543605+01:00"
|
||||||
11
headlamp/dev/Chart.yaml
Normal file
11
headlamp/dev/Chart.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: headlamp-wrapper
|
||||||
|
description: Wrapper pour headlamp - Environnement DEV
|
||||||
|
type: application
|
||||||
|
version: 1.0.0
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- name: headlamp
|
||||||
|
version: 0.27.0 # Assurez-vous que cette version correspond à celle poussée sur Harbor
|
||||||
|
# Utilisation de votre registre Harbor interne (OCI)
|
||||||
|
repository: "oci://harbor.example.com/charts"
|
||||||
BIN
headlamp/dev/charts/nextcloud-8.7.0.tgz
Normal file
BIN
headlamp/dev/charts/nextcloud-8.7.0.tgz
Normal file
Binary file not shown.
1
headlamp/dev/config.json
Normal file
1
headlamp/dev/config.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"server": "https://kubernetes.default.svc"}
|
||||||
16
headlamp/dev/values.yaml
Normal file
16
headlamp/dev/values.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Toutes les configurations destinées au chart Nextcloud
|
||||||
|
# doivent être indentées sous la clé 'nextcloud'
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
image:
|
||||||
|
# On remplace ghcr.io par votre Harbor
|
||||||
|
registry: harbor.example.com
|
||||||
|
# On remplace le chemin d'origine par votre projet 'images'
|
||||||
|
repository: images/headlamp
|
||||||
|
# On précise le tag que vous avez poussé avec le script
|
||||||
|
tag: "v0.39.0"
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
# Si votre projet Harbor 'images' est en PRIVÉ,
|
||||||
|
# vous devrez créer un secret Kubernetes et le renseigner ici :
|
||||||
|
imagePullSecrets: []
|
||||||
Reference in New Issue
Block a user