feat(homarr): add homarr-patches Application for PostSync probe fix
Separate Application (wave 9) applies Kustomize resources including PostSync hook Job that patches probes after Helm deployment. Required because: - Main homarr Application (wave 8) uses Helm multi-source - ArgoCD doesn't support Kustomize patches in Helm multi-source - Chart doesn't expose probe configuration in values Deployment sequence: Wave 8: homarr (Helm chart) Wave 9: homarr-patches (PostSync hook patches deployment)
This commit is contained in:
@@ -161,3 +161,25 @@ spec:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: homarr-patches
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "9" # After homarr (wave 8)
|
||||
spec:
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: https://forgejo.riotpiao.com/riotpiao.com/homelab.git
|
||||
targetRevision: main
|
||||
path: k8s/applications/homarr
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: dashboard
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
|
||||
Reference in New Issue
Block a user