theshire/kubernetes/apps/default/qbittorrent/ks.yaml

61 lines
1.6 KiB
YAML
Raw Normal View History

2024-01-14 16:51:20 -06:00
---
# 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: home-ops-kubernetes
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: home-ops-kubernetes
wait: false
dependsOn:
- name: qbittorrent
postBuild:
substitute:
APP: *appname
APP_UID: "568"
APP_GID: "568"