mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
feat: add reloader
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: homelab.mortenolsen.pro/v1
|
|
||||||
kind: HttpService
|
|
||||||
metadata:
|
|
||||||
name: "{{ .Release.Name }}"
|
|
||||||
spec:
|
|
||||||
environment: "{{ .Values.globals.environment }}"
|
|
||||||
subdomain: "{{ .Values.subdomain }}"
|
|
||||||
destination:
|
|
||||||
host: "{{ .Release.Name }}"
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
18
apps/charts/baikal/templates/virtual-service copy.yaml
Normal file
18
apps/charts/baikal/templates/virtual-service copy.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: networking.istio.io/v1
|
||||||
|
kind: VirtualService
|
||||||
|
metadata:
|
||||||
|
name: "{{ .Release.Name }}"
|
||||||
|
namespace: "{{ .Release.Namespace }}"
|
||||||
|
spec:
|
||||||
|
gateways:
|
||||||
|
- "{{ .Values.globals.istio.gateway }}"
|
||||||
|
- mesh
|
||||||
|
hosts:
|
||||||
|
- "{{ .Values.subdomain }}.{{ .Values.globals.domain }}"
|
||||||
|
- mesh
|
||||||
|
http:
|
||||||
|
- route:
|
||||||
|
- destination:
|
||||||
|
host: "{{ .Release.Name }}"
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
26
foundation/charts/monitor/templates/reloader.yaml
Normal file
26
foundation/charts/monitor/templates/reloader.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: reloader-operator
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: foundation
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
project: foundation
|
||||||
|
source:
|
||||||
|
repoURL: https://stakater.github.io/stakater-charts
|
||||||
|
targetRevision: 2.2.5
|
||||||
|
chart: reloader
|
||||||
|
helm: {}
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- ServerSideApply=true
|
||||||
|
- ApplyOutOfSyncOnly=true
|
||||||
|
- CreateNamespace=true
|
||||||
Reference in New Issue
Block a user