From 3428066446834f6e96e82ff8775afa090d5d8012 Mon Sep 17 00:00:00 2001 From: 3deep5me Date: Sun, 8 May 2022 20:49:18 +0200 Subject: [PATCH] fix indentation --- k8s/base/01-cronjob.yaml | 25 ------------------------- k8s/base/02-cronjob.yaml | 26 +++++++++++++------------- 2 files changed, 13 insertions(+), 38 deletions(-) delete mode 100644 k8s/base/01-cronjob.yaml diff --git a/k8s/base/01-cronjob.yaml b/k8s/base/01-cronjob.yaml deleted file mode 100644 index 69732e5..0000000 --- a/k8s/base/01-cronjob.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: batch/v1 -kind: CronJob -metadata: - name: hello -spec: - schedule: "* * * * *" - jobTemplate: - spec: - template: - spec: - containers: - - name: sctl - image: 3deep5me/scdl-container-image - command: - - /bin/sh - - -c - - date; echo Hello from the Kubernetes cluster - volumeMounts: - - name: smb - mountPath: "/mnt/smb" - readOnly: false - volumes: - - name: smb - persistentVolumeClaim: - claimName: pvc-smb \ No newline at end of file diff --git a/k8s/base/02-cronjob.yaml b/k8s/base/02-cronjob.yaml index 3b95846..8f944a3 100644 --- a/k8s/base/02-cronjob.yaml +++ b/k8s/base/02-cronjob.yaml @@ -19,17 +19,17 @@ spec: - archiv.txt - --flac - -c - volumeMounts: - - name: smb - mountPath: "/mnt/stuff" - readOnly: false - - name: scdl.config - mountPath: "~/.config/scdl/scdl.cfg" + volumeMounts: + - name: smb + mountPath: "/mnt/stuff" + readOnly: false + - name: scdl-config + mountPath: "~/.config/scdl/scdl.cfg" restartPolicy: Never - volumes: - - name: smb - persistentVolumeClaim: - claimName: pvc-smb - - name: scdl.config - secret: - secretName: scdl.config \ No newline at end of file + volumes: + - name: smb + persistentVolumeClaim: + claimName: pvc-smb + - name: scdl-config + secret: + secretName: scdl.config \ No newline at end of file