From 7c18d3d69ded0f75f1708e05428e758a54190e33 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Thu, 31 Dec 2020 01:58:31 -0500 Subject: [PATCH] Updated chart to use persistent volumes --- docker-compose/index.yaml | 6 +-- ...material-claim0-persistentvolumeclaim.yaml | 14 ++++++ ...material-claim1-persistentvolumeclaim.yaml | 14 ++++++ ...material-claim2-persistentvolumeclaim.yaml | 14 ++++++ ...material-claim3-persistentvolumeclaim.yaml | 14 ++++++ ...material-claim4-persistentvolumeclaim.yaml | 14 ++++++ .../templates/ytdl-material-deployment.yaml | 44 +++++++++--------- .../templates/ytdl-material-service.yaml | 2 +- docker-compose/youtubedl-material-0.0.1.tgz | Bin 2480 -> 1334 bytes 9 files changed, 96 insertions(+), 26 deletions(-) create mode 100644 docker-compose/templates/ytdl-material-claim0-persistentvolumeclaim.yaml create mode 100644 docker-compose/templates/ytdl-material-claim1-persistentvolumeclaim.yaml create mode 100644 docker-compose/templates/ytdl-material-claim2-persistentvolumeclaim.yaml create mode 100644 docker-compose/templates/ytdl-material-claim3-persistentvolumeclaim.yaml create mode 100644 docker-compose/templates/ytdl-material-claim4-persistentvolumeclaim.yaml diff --git a/docker-compose/index.yaml b/docker-compose/index.yaml index fd2ad7f..a17d08e 100644 --- a/docker-compose/index.yaml +++ b/docker-compose/index.yaml @@ -2,13 +2,13 @@ apiVersion: v1 entries: youtubedl-material: - apiVersion: v1 - created: "2020-12-30T19:29:17.1665063-05:00" + created: "2020-12-31T01:55:22.0787497-05:00" description: A generated Helm Chart for youtubedl-material from Skippbox Kompose - digest: b02eeb73e6a88df0a650f8d18b76acff2ef972cbaa6800ab89c428b008eebdce + digest: ad0b0b00c4d96a79aba56c3a5c24c1bb659561becc99206175de9c73b8e0cde5 keywords: - youtubedl-material name: youtubedl-material urls: - youtubedl-material-0.0.1.tgz version: 0.0.1 -generated: "2020-12-30T19:29:17.1654734-05:00" +generated: "2020-12-31T01:55:22.0777453-05:00" diff --git a/docker-compose/templates/ytdl-material-claim0-persistentvolumeclaim.yaml b/docker-compose/templates/ytdl-material-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000..bf382eb --- /dev/null +++ b/docker-compose/templates/ytdl-material-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: ytdl-material-claim0 + name: ytdl-material-claim0 +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/docker-compose/templates/ytdl-material-claim1-persistentvolumeclaim.yaml b/docker-compose/templates/ytdl-material-claim1-persistentvolumeclaim.yaml new file mode 100644 index 0000000..c405990 --- /dev/null +++ b/docker-compose/templates/ytdl-material-claim1-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: ytdl-material-claim1 + name: ytdl-material-claim1 +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/docker-compose/templates/ytdl-material-claim2-persistentvolumeclaim.yaml b/docker-compose/templates/ytdl-material-claim2-persistentvolumeclaim.yaml new file mode 100644 index 0000000..ed681b6 --- /dev/null +++ b/docker-compose/templates/ytdl-material-claim2-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: ytdl-material-claim2 + name: ytdl-material-claim2 +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/docker-compose/templates/ytdl-material-claim3-persistentvolumeclaim.yaml b/docker-compose/templates/ytdl-material-claim3-persistentvolumeclaim.yaml new file mode 100644 index 0000000..2760b25 --- /dev/null +++ b/docker-compose/templates/ytdl-material-claim3-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: ytdl-material-claim3 + name: ytdl-material-claim3 +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/docker-compose/templates/ytdl-material-claim4-persistentvolumeclaim.yaml b/docker-compose/templates/ytdl-material-claim4-persistentvolumeclaim.yaml new file mode 100644 index 0000000..ee4489c --- /dev/null +++ b/docker-compose/templates/ytdl-material-claim4-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: ytdl-material-claim4 + name: ytdl-material-claim4 +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/docker-compose/templates/ytdl-material-deployment.yaml b/docker-compose/templates/ytdl-material-deployment.yaml index 0760cd8..fb741c9 100644 --- a/docker-compose/templates/ytdl-material-deployment.yaml +++ b/docker-compose/templates/ytdl-material-deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: annotations: kompose.cmd: C:\Users\tzahi\Documents\YoutubeDL-Material\kompose.exe --file .\docker-compose.yml - convert --volumes hostPath -c + convert -c kompose.version: 1.21.0 (992df58d8) creationTimestamp: null labels: @@ -20,7 +20,7 @@ spec: metadata: annotations: kompose.cmd: C:\Users\tzahi\Documents\YoutubeDL-Material\kompose.exe --file - .\docker-compose.yml convert --volumes hostPath -c + .\docker-compose.yml convert -c kompose.version: 1.21.0 (992df58d8) creationTimestamp: null labels: @@ -38,31 +38,31 @@ spec: resources: {} volumeMounts: - mountPath: /app/appdata - name: ytdl-material-hostpath0 + name: ytdl-material-claim0 - mountPath: /app/audio - name: ytdl-material-hostpath1 + name: ytdl-material-claim1 - mountPath: /app/video - name: ytdl-material-hostpath2 + name: ytdl-material-claim2 - mountPath: /app/subscriptions - name: ytdl-material-hostpath3 + name: ytdl-material-claim3 - mountPath: /app/users - name: ytdl-material-hostpath4 + name: ytdl-material-claim4 restartPolicy: Always serviceAccountName: "" volumes: - - hostPath: - path: C:\Users\tzahi\Documents\YoutubeDL-Material\appdata - name: ytdl-material-hostpath0 - - hostPath: - path: C:\Users\tzahi\Documents\YoutubeDL-Material\audio - name: ytdl-material-hostpath1 - - hostPath: - path: C:\Users\tzahi\Documents\YoutubeDL-Material\video - name: ytdl-material-hostpath2 - - hostPath: - path: C:\Users\tzahi\Documents\YoutubeDL-Material\subscriptions - name: ytdl-material-hostpath3 - - hostPath: - path: C:\Users\tzahi\Documents\YoutubeDL-Material\users - name: ytdl-material-hostpath4 + - name: ytdl-material-claim0 + persistentVolumeClaim: + claimName: ytdl-material-claim0 + - name: ytdl-material-claim1 + persistentVolumeClaim: + claimName: ytdl-material-claim1 + - name: ytdl-material-claim2 + persistentVolumeClaim: + claimName: ytdl-material-claim2 + - name: ytdl-material-claim3 + persistentVolumeClaim: + claimName: ytdl-material-claim3 + - name: ytdl-material-claim4 + persistentVolumeClaim: + claimName: ytdl-material-claim4 status: {} diff --git a/docker-compose/templates/ytdl-material-service.yaml b/docker-compose/templates/ytdl-material-service.yaml index d974167..dff94a1 100644 --- a/docker-compose/templates/ytdl-material-service.yaml +++ b/docker-compose/templates/ytdl-material-service.yaml @@ -3,7 +3,7 @@ kind: Service metadata: annotations: kompose.cmd: C:\Users\tzahi\Documents\YoutubeDL-Material\kompose.exe --file .\docker-compose.yml - convert --volumes hostPath -c + convert -c kompose.version: 1.21.0 (992df58d8) creationTimestamp: null labels: diff --git a/docker-compose/youtubedl-material-0.0.1.tgz b/docker-compose/youtubedl-material-0.0.1.tgz index 7c986bb1788d59294921564f61f1bade1efc9c41..6055b9938163fdccf1270d6c9add0454af69b1ba 100644 GIT binary patch delta 1292 zcmV+n1@ro_6SfMFJAay8Z`(E($8#;9-{Bz7&9e(Rq+TpXcV5!1#qx$WZ80D~K~u*G z5lPfY%BeT(yAP6O#a3L~X&oiq^ap}Kl64NLbAE>u#Ypm7R5q7MCN&-$-7sZ(QX6F33!_XzbU_4k16unk{Tu73?vd*r))H9Pl%h-Km< zDlKFh!h~88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