feat: add truecommand

This commit is contained in:
auricom
2022-07-11 15:22:25 +02:00
parent 3d43dc789e
commit 735cffb44c
4 changed files with 82 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ resources:
- recipes
- resilio-sync
- sharry
- truecommand
- vaultwarden
- vikunja
- wallabag

View File

@@ -0,0 +1,61 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: &app truecommand
namespace: data
spec:
interval: 15m
chart:
spec:
chart: kah-common-chart
version: 1.1.2
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 15m
install:
createNamespace: true
remediation:
retries: 5
upgrade:
remediation:
retries: 5
values:
global:
nameOverride: *app
image:
repository: ixsystems/truecommand
tag: 2.1.1
service:
main:
ports:
http:
port: 80
persistence:
config:
enabled: true
existingClaim: truecommand-config
mountPath: /data
ingress:
main:
enabled: true
ingressClassName: "nginx"
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
resources:
requests:
cpu: 50m
memory: 256Mi

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
- volume.yaml

View File

@@ -0,0 +1,15 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: truecommand-config
namespace: data
labels:
kasten-io/backup: "true"
spec:
accessModes:
- ReadWriteOnce
storageClassName: rook-ceph-block
resources:
requests:
storage: 1Gi