k8s/ manifest added
Some checks failed
Docker Build Workflow / Lint Dockerfile (push) Failing after 4s
Docker Build Workflow / Build and Push Docker Image (push) Successful in 40s

This commit is contained in:
2026-04-11 22:24:49 +02:00
parent 6d19f77edf
commit f39704ed87
8 changed files with 193 additions and 7 deletions

47
k8s/deployment.yaml Normal file
View File

@@ -0,0 +1,47 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: rclone-tools
namespace: rook-ceph-s3-backup
annotations:
reloader.stakater.com/auto: 'true'
spec:
replicas: 1
selector:
matchLabels:
app: rclone-tools
template:
metadata:
labels:
app: rclone-tools
spec:
serviceAccountName: rook-ceph-s3-backup
containers:
- name: rclone
image: gitea.sikorski.cloud/rogersik/ceph-s3-backup:latest
imagePullPolicy: IfNotPresent
env:
- name: HOME
value: /root
command:
- sh
- -c
- |
sleep infinity
volumeMounts:
- name: rclone-sync-script
mountPath: /usr/local/bin/rclone-sync-script.sh
subPath: rclone-sync-script.sh
readOnly: true
- name: rclone-config
mountPath: /root/.config/rclone/rclone.conf
subPath: rclone.conf
volumes:
- name: rclone-sync-script
configMap:
name: rclone-sync-script
defaultMode: 0755
- name: rclone-config
configMap:
name: rclone-config