Compare commits

..

2 Commits

Author SHA1 Message Date
8cde76ff69 change tag scuderia to fe-dev 2026-07-19 22:12:26 +07:00
6774203844 add scuderia 2026-07-19 22:06:49 +07:00
2 changed files with 46 additions and 0 deletions

38
apps/scuderia.yaml Normal file
View File

@@ -0,0 +1,38 @@
# gitops-demo child Application — now Helm-based, using the shared chart.
#
# MULTI-SOURCE explained: ArgoCD lets an Application pull from more than one
# source. We use two, BOTH pointing at this same manifest repo:
# 1. ref: values — exposes the repo as "$values" so we can reference a file
# from it (the per-service values.yaml).
# 2. path: charts/app — the generic chart, rendered with that values file.
# This keeps the chart shared and each service's values in its own clean file,
# instead of duplicating manifests or inlining values here.
#
# NOTE: replace REPLACE_WITH_MANIFEST_REPO_URL in BOTH sources with the real
# repo URL (same as before — ArgoCD reads these straight from git).
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: scuderia
namespace: argocd
spec:
project: default
sources:
- repoURL: https://gitea.lgkentang.com/darren.maverick/k3s-manifests.git
targetRevision: HEAD
ref: values
- repoURL: https://gitea.lgkentang.com/darren.maverick/k3s-manifests.git
targetRevision: HEAD
path: charts/app
helm:
valueFiles:
- $values/scuderia/dev/values.yaml
destination:
server: https://kubernetes.default.svc
namespace: dev
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

8
scuderia/dev/values.yaml Normal file
View File

@@ -0,0 +1,8 @@
name: myapp
image:
repository: mybitlab/scuderia
tag: fe-dev
replicas: 1
ingress:
host: scuderia.dev.lgkentang.com
clusterIssuer: letsencrypt-prod