60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
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 qbittorrent
|
|
namespace: flux-system
|
|
spec:
|
|
targetNamespace: default
|
|
commonMetadata:
|
|
labels:
|
|
app.kubernetes.io/name: *appname
|
|
interval: 10m
|
|
path: "./kubernetes/apps/default/qbittorrent/app"
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: homelab
|
|
wait: true
|
|
dependsOn:
|
|
- name: rook-ceph-cluster
|
|
- name: volsync
|
|
- name: external-secrets-stores
|
|
postBuild:
|
|
substitute:
|
|
APP: *appname
|
|
HOSTNAME: qbittorrent.bjw-s.dev
|
|
APP_UID: "568"
|
|
APP_GID: "568"
|
|
VOLSYNC_CLAIM: qbittorrent-config
|
|
VOLSYNC_CAPACITY: 2Gi
|
|
VOLSYNC_ACCESSMODES: ReadWriteMany
|
|
VOLSYNC_STORAGECLASS: ceph-filesystem
|
|
VOLSYNC_SNAPSHOTCLASS: csi-ceph-filesystem
|
|
---
|
|
# 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 qbtools
|
|
namespace: flux-system
|
|
spec:
|
|
targetNamespace: default
|
|
commonMetadata:
|
|
labels:
|
|
app.kubernetes.io/name: *appname
|
|
interval: 10m
|
|
path: "./kubernetes/apps/default/qbittorrent/tools"
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: homelab
|
|
wait: false
|
|
dependsOn:
|
|
- name: qbittorrent
|
|
postBuild:
|
|
substitute:
|
|
APP: *appname
|
|
APP_UID: "568"
|
|
APP_GID: "568"
|