mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
⬆️ truenas app-template v2
This commit is contained in:
@@ -10,7 +10,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: app-template
|
chart: app-template
|
||||||
version: 1.5.1
|
version: 2.0.3
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: bjw-s
|
name: bjw-s
|
||||||
@@ -27,21 +27,32 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
controller:
|
controllers:
|
||||||
type: cronjob
|
main:
|
||||||
cronjob:
|
type: cronjob
|
||||||
concurrencyPolicy: Forbid
|
cronjob:
|
||||||
schedule: "@daily"
|
concurrencyPolicy: Forbid
|
||||||
restartPolicy: OnFailure
|
schedule: "@daily"
|
||||||
image:
|
containers:
|
||||||
repository: ghcr.io/auricom/kubectl
|
main:
|
||||||
tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
|
image:
|
||||||
command: ["/bin/bash", "/app/truenas-backup.sh"]
|
repository: ghcr.io/auricom/kubectl
|
||||||
env:
|
tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
|
||||||
HOSTNAME: truenas
|
command: ["/bin/bash", "/app/truenas-backup.sh"]
|
||||||
envFrom:
|
env:
|
||||||
- secretRef:
|
HOSTNAME: truenas
|
||||||
name: truenas-secret
|
envFrom: &envFrom
|
||||||
|
- secretRef:
|
||||||
|
name: truenas-secret
|
||||||
|
truenas-remote-backup:
|
||||||
|
name: truenas-remote-backup
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/auricom/kubectl
|
||||||
|
tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
|
||||||
|
command: ["/bin/bash", "/app/truenas-backup.sh"]
|
||||||
|
env:
|
||||||
|
HOSTNAME: truenas-remote
|
||||||
|
envFrom: *envFrom
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -50,35 +61,17 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
type: configMap
|
type: configMap
|
||||||
name: truenas-backup-configmap
|
name: truenas-backup-configmap
|
||||||
subPath: truenas-backup.sh
|
|
||||||
mountPath: /app/truenas-backup.sh
|
|
||||||
defaultMode: 0775
|
defaultMode: 0775
|
||||||
readOnly: true
|
globalMounts:
|
||||||
|
- path: /app/truenas-backup.sh
|
||||||
|
subPath: truenas-backup.sh
|
||||||
|
readOnly: true
|
||||||
ssh:
|
ssh:
|
||||||
enabled: true
|
|
||||||
type: secret
|
type: secret
|
||||||
name: truenas-secret
|
name: truenas-secret
|
||||||
subPath: TRUENAS_SSH_KEY
|
|
||||||
mountPath: /opt/id_rsa
|
|
||||||
defaultMode: 0775
|
defaultMode: 0775
|
||||||
readOnly: true
|
globalMounts:
|
||||||
additionalContainers:
|
- path: /opt/id_rsa
|
||||||
truenas-remote-backup:
|
|
||||||
name: truenas-remote-backup
|
|
||||||
image: ghcr.io/auricom/kubectl:1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
|
|
||||||
command: ["/bin/bash", "/app/truenas-backup.sh"]
|
|
||||||
env:
|
|
||||||
- name: HOSTNAME
|
|
||||||
value: truenas-remote
|
|
||||||
envFrom:
|
|
||||||
- secretRef:
|
|
||||||
name: truenas-secret
|
|
||||||
volumeMounts:
|
|
||||||
- name: config
|
|
||||||
readOnly: true
|
|
||||||
mountPath: /app/truenas-backup.sh
|
|
||||||
subPath: truenas-backup.sh
|
|
||||||
- name: ssh
|
|
||||||
readOnly: true
|
|
||||||
mountPath: /opt/id_rsa
|
|
||||||
subPath: TRUENAS_SSH_KEY
|
subPath: TRUENAS_SSH_KEY
|
||||||
|
readOnly: true
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: app-template
|
chart: app-template
|
||||||
version: 1.5.1
|
version: 2.0.3
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: bjw-s
|
name: bjw-s
|
||||||
@@ -27,23 +27,33 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
controller:
|
controllers:
|
||||||
type: cronjob
|
main:
|
||||||
cronjob:
|
type: cronjob
|
||||||
concurrencyPolicy: Forbid
|
cronjob:
|
||||||
schedule: "@daily"
|
concurrencyPolicy: Forbid
|
||||||
restartPolicy: OnFailure
|
schedule: "@daily"
|
||||||
image:
|
containers:
|
||||||
repository: ghcr.io/auricom/kubectl
|
main:
|
||||||
tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
|
image:
|
||||||
command: ["/bin/bash", "/app/truenas-certs-deploy.sh"]
|
repository: ghcr.io/auricom/kubectl
|
||||||
env:
|
tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
|
||||||
HOSTNAME: truenas
|
command: ["/bin/bash", "/app/truenas-certs-deploy.sh"]
|
||||||
TRUENAS_HOME: /mnt/storage/home/homelab
|
env:
|
||||||
CERTS_DEPLOY_S3_ENABLED: "True"
|
HOSTNAME: truenas
|
||||||
envFrom:
|
TRUENAS_HOME: /mnt/storage/home/homelab
|
||||||
- secretRef:
|
CERTS_DEPLOY_S3_ENABLED: "True"
|
||||||
name: truenas-secret
|
envFrom: &envFrom
|
||||||
|
truenas-remote-certs-deploy:
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/auricom/kubectl
|
||||||
|
tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
|
||||||
|
command: ["/bin/bash", "/app/truenas-certs-deploy.sh"]
|
||||||
|
env:
|
||||||
|
HOSTNAME: truenas-remote
|
||||||
|
TRUENAS_HOME: /mnt/vol1/home/homelab
|
||||||
|
CERTS_DEPLOY_S3_ENABLED: "False"
|
||||||
|
envFrom: *envFrom
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -52,50 +62,25 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
type: configMap
|
type: configMap
|
||||||
name: truenas-certs-deploy-configmap
|
name: truenas-certs-deploy-configmap
|
||||||
subPath: truenas-certs-deploy.sh
|
|
||||||
mountPath: /app/truenas-certs-deploy.sh
|
|
||||||
defaultMode: 0775
|
defaultMode: 0775
|
||||||
readOnly: true
|
globalMounts:
|
||||||
|
- path: /app/truenas-certs-deploy.sh
|
||||||
|
subPath: truenas-certs-deploy.sh
|
||||||
|
readOnly: true
|
||||||
config-python:
|
config-python:
|
||||||
enabled: true
|
|
||||||
type: configMap
|
type: configMap
|
||||||
name: truenas-certs-deploy-configmap
|
name: truenas-certs-deploy-configmap
|
||||||
subPath: truenas-certs-deploy.py
|
|
||||||
mountPath: /app/truenas-certs-deploy.py
|
|
||||||
defaultMode: 0775
|
defaultMode: 0775
|
||||||
readOnly: true
|
globalMounts:
|
||||||
|
- path: /app/truenas-certs-deploy.py
|
||||||
|
subPath: truenas-certs-deploy.py
|
||||||
|
readOnly: true
|
||||||
ssh:
|
ssh:
|
||||||
enabled: true
|
|
||||||
type: secret
|
type: secret
|
||||||
name: truenas-secret
|
name: truenas-secret
|
||||||
subPath: TRUENAS_SSH_KEY
|
|
||||||
mountPath: /opt/id_rsa
|
|
||||||
defaultMode: 0775
|
defaultMode: 0775
|
||||||
readOnly: true
|
globalMounts:
|
||||||
sidecars:
|
- path: /opt/id_rsa
|
||||||
truenas-remote-certs-deploy:
|
|
||||||
image: ghcr.io/auricom/kubectl:1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
|
|
||||||
command: ["/bin/bash", "/app/truenas-certs-deploy.sh"]
|
|
||||||
env:
|
|
||||||
- name: HOSTNAME
|
|
||||||
value: truenas-remote
|
|
||||||
- name: TRUENAS_HOME
|
|
||||||
value: /mnt/vol1/home/homelab
|
|
||||||
- name: CERTS_DEPLOY_S3_ENABLED
|
|
||||||
value: "False"
|
|
||||||
envFrom:
|
|
||||||
- secretRef:
|
|
||||||
name: truenas-secret
|
|
||||||
volumeMounts:
|
|
||||||
- name: config
|
|
||||||
readOnly: true
|
|
||||||
mountPath: /app/truenas-certs-deploy.sh
|
|
||||||
subPath: truenas-certs-deploy.sh
|
|
||||||
- name: config-python
|
|
||||||
readOnly: true
|
|
||||||
mountPath: /app/truenas-certs-deploy.py
|
|
||||||
subPath: truenas-certs-deploy.py
|
|
||||||
- name: ssh
|
|
||||||
readOnly: true
|
|
||||||
mountPath: /opt/id_rsa
|
|
||||||
subPath: TRUENAS_SSH_KEY
|
subPath: TRUENAS_SSH_KEY
|
||||||
|
readOnly: true
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: app-template
|
chart: app-template
|
||||||
version: 1.5.1
|
version: 2.0.3
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: bjw-s
|
name: bjw-s
|
||||||
@@ -27,16 +27,21 @@ spec:
|
|||||||
uninstall:
|
uninstall:
|
||||||
keepHistory: false
|
keepHistory: false
|
||||||
values:
|
values:
|
||||||
controller:
|
controllers:
|
||||||
type: cronjob
|
main:
|
||||||
cronjob:
|
type: cronjob
|
||||||
concurrencyPolicy: Forbid
|
cronjob:
|
||||||
schedule: "15 0 * * *"
|
concurrencyPolicy: Forbid
|
||||||
restartPolicy: OnFailure
|
schedule: "@daily"
|
||||||
image:
|
containers:
|
||||||
repository: ghcr.io/auricom/rclone
|
main:
|
||||||
tag: 1.62.2@sha256:8d3ae01ed5295974be1b229f7398ce93a03c77a3fdaf301ea35bf929bb19389a
|
image:
|
||||||
command: ["/bin/bash", "/app/minio-rclone.sh"]
|
repository: ghcr.io/auricom/rclone
|
||||||
|
tag: 1.62.2@sha256:8d3ae01ed5295974be1b229f7398ce93a03c77a3fdaf301ea35bf929bb19389a
|
||||||
|
command: ["/bin/bash", "/app/minio-rclone.sh"]
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
enabled: false
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -45,14 +50,16 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
type: configMap
|
type: configMap
|
||||||
name: truenas-minio-rclone-configmap
|
name: truenas-minio-rclone-configmap
|
||||||
subPath: minio-rclone.sh
|
|
||||||
mountPath: /app/minio-rclone.sh
|
|
||||||
defaultMode: 0775
|
defaultMode: 0775
|
||||||
readOnly: true
|
globalMounts:
|
||||||
|
- path: /app/minio-rclone.sh
|
||||||
|
subPath: minio-rclone.sh
|
||||||
|
readOnly: true
|
||||||
age:
|
age:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: secret
|
type: secret
|
||||||
name: truenas-secret
|
name: truenas-secret
|
||||||
subPath: SOPS_AGE_KEY
|
globalMounts:
|
||||||
mountPath: /app/age_key
|
- path: /app/age_key
|
||||||
readOnly: true
|
subPath: SOPS_AGE_KEY
|
||||||
|
readOnly: true
|
||||||
|
Reference in New Issue
Block a user