The Application was created with kubectl and never committed, so its chart version, release config and values path lived only on the cluster. That made the values-path fix a live patch: recreating the app would have restored the old $values/gitea/runner/values.yaml and broken helm template again. Both sources are public, so this sits alongside the other Helm-based apps here rather than in the private repo.
29 lines
817 B
YAML
29 lines
817 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: gitea-runner
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
sources:
|
|
# The act_runner chart itself. Values live in this repo, pulled in via the
|
|
# $values ref below.
|
|
- repoURL: https://dl.gitea.com/charts/
|
|
chart: actions
|
|
targetRevision: 0.1.0
|
|
helm:
|
|
# $values resolves to the ref source's repo root, so this path is
|
|
# relative to the repository, not to the chart.
|
|
valueFiles:
|
|
- $values/applications/gitea/runner/values.yaml
|
|
- repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
|
targetRevision: main
|
|
ref: values
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: gitea
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|