mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-28 02:18:24 +00:00
fix(linkding): correct env for snapshot dest, separate deploy
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: "linkding-snapshots"
|
||||
name: "linkding-misc"
|
||||
namespace: &app "linkding"
|
||||
annotations:
|
||||
description: "PVC for saving Linkding page snapshots (similar to Wayback)"
|
||||
|
||||
@@ -17,6 +17,7 @@ spec:
|
||||
- name: crds
|
||||
namespace: flux-system
|
||||
- name: linkding-pvc
|
||||
- name: linkding-snapshots-pvc
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
@@ -46,3 +47,32 @@ spec:
|
||||
RUID: &uid "1000"
|
||||
RGID: *uid
|
||||
RFSG: *uid
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: linkding-snapshots-pvc
|
||||
namespace: flux-system
|
||||
labels: &l
|
||||
app.kubernetes.io/name: linkding
|
||||
pvc.home.arpa/volsync: "true"
|
||||
spec:
|
||||
targetNamespace: linkding
|
||||
commonMetadata:
|
||||
labels: *l
|
||||
path: ./kube/deploy/core/storage/volsync/template
|
||||
dependsOn:
|
||||
- name: crds
|
||||
namespace: flux-system
|
||||
postBuild:
|
||||
substitute:
|
||||
PVC: "linkding-snapshots"
|
||||
SIZE: "100Gi"
|
||||
SC: &sc "file-ec-2-1"
|
||||
SNAP: *sc
|
||||
ACCESSMODE: "ReadWriteMany"
|
||||
SNAP_ACCESSMODE: "ReadOnlyMany"
|
||||
VS_APP_CURRENT_VERSION: "ghcr.io/sissbruecker/linkding:1.41.0-plus@sha256:a222fb777e1fade891eabfa037e67ff4514f96b87be746060b027b5c84a8e1ce"
|
||||
RUID: &uid "1000"
|
||||
RGID: *uid
|
||||
RFSG: *uid
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/cilium.io/ciliumnetworkpolicy_v2.json
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: apiserver
|
||||
namespace: default
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
component: apiserver
|
||||
provider: kubernetes
|
||||
# ---
|
||||
# # yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/cilium.io/ciliumnetworkpolicy_v2.json
|
||||
# apiVersion: cilium.io/v2
|
||||
# kind: CiliumNetworkPolicy
|
||||
# metadata:
|
||||
# name: apiserver
|
||||
# namespace: default
|
||||
# spec:
|
||||
# endpointSelector:
|
||||
# matchLabels:
|
||||
# component: apiserver
|
||||
# provider: kubernetes
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/cilium.io/ciliumclusterwidenetworkpolicy_v2.json
|
||||
apiVersion: cilium.io/v2
|
||||
|
||||
Reference in New Issue
Block a user