28 lines
740 B
YAML
28 lines
740 B
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: &appname mosquitto
|
|
namespace: flux-system
|
|
spec:
|
|
targetNamespace: home-automation
|
|
commonMetadata:
|
|
labels:
|
|
app.kubernetes.io/name: *appname
|
|
interval: 10m
|
|
path: "./kubernetes/apps/home-automation/mosquitto/app"
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: homelab
|
|
wait: true
|
|
dependsOn:
|
|
- name: openebs-system
|
|
- name: volsync
|
|
- name: external-secrets-stores
|
|
postBuild:
|
|
substitute:
|
|
APP: *appname
|
|
VOLSYNC_CLAIM: mosquitto-data
|
|
VOLSYNC_CAPACITY: 512Mi
|