From 62e6586c6254332fd651ab6d3105cb62d4925c3a Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Thu, 4 Apr 2024 17:19:26 -0700 Subject: [PATCH] (TESTING) (fleet/ci) fake it until you make it --- fleet/lib/ci/fleet.yaml | 8 ++++++++ fleet/lib/ci/pv-loop0.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 fleet/lib/ci/fleet.yaml create mode 100644 fleet/lib/ci/pv-loop0.yaml diff --git a/fleet/lib/ci/fleet.yaml b/fleet/lib/ci/fleet.yaml new file mode 100644 index 000000000..6988782ad --- /dev/null +++ b/fleet/lib/ci/fleet.yaml @@ -0,0 +1,8 @@ +--- +defaultNamespace: default +labels: + bundle: &name ci +helm: + releaseName: *name + timeoutSeconds: 300 + waitForJobs: true diff --git a/fleet/lib/ci/pv-loop0.yaml b/fleet/lib/ci/pv-loop0.yaml new file mode 100644 index 000000000..ec3cbad8c --- /dev/null +++ b/fleet/lib/ci/pv-loop0.yaml @@ -0,0 +1,25 @@ +--- +apiVersion: v1 +kind: PersistentVolume +metadata: + name: loop0 + labels: + type: local +spec: + storageClassName: manual + capacity: + storage: 10Gi + accessModes: + - ReadWriteOnce + persistentVolumeReclaimPolicy: Retain + volumeMode: Block + local: + path: /dev/loop0 + nodeAffinity: + required: + nodeSelectorTerms: + - matchExpressions: + - key: rook.io/has-disk + operator: In + values: + - "true"