diff --git a/kubernetes/apps/rook-ceph/kustomization.yaml b/kubernetes/apps/rook-ceph/kustomization.yaml index 14fac376..78f33ce2 100644 --- a/kubernetes/apps/rook-ceph/kustomization.yaml +++ b/kubernetes/apps/rook-ceph/kustomization.yaml @@ -6,4 +6,4 @@ resources: # Pre Flux-Kustomizations - ./namespace.yaml # Flux-Kustomizations - - ./ks.yaml + # - ./ks.yaml diff --git a/kubernetes/apps/rook-ceph/namespace.yaml b/kubernetes/apps/rook-ceph/namespace.yaml index 4f4d74a8..3721244e 100644 --- a/kubernetes/apps/rook-ceph/namespace.yaml +++ b/kubernetes/apps/rook-ceph/namespace.yaml @@ -3,5 +3,5 @@ apiVersion: v1 kind: Namespace metadata: name: rook-ceph - labels: - kustomize.toolkit.fluxcd.io/prune: disabled + # labels: + # kustomize.toolkit.fluxcd.io/prune: disabled diff --git a/tests/deployments/test-openebs.yaml b/tests/deployments/test-openebs.yaml new file mode 100644 index 00000000..dc1b2193 --- /dev/null +++ b/tests/deployments/test-openebs.yaml @@ -0,0 +1,39 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: test-pvc +spec: + accessModes: + - ReadWriteOnce + storageClassName: openebs-hostpath + resources: + requests: + storage: 100Mi + +--- + +apiVersion: apps/v1 +kind: Deployment +metadata: + name: busybox-deployment +spec: + selector: + matchLabels: + app: busybox + replicas: 1 + template: + metadata: + labels: + app: busybox + spec: + containers: + - name: busybox + image: busybox + command: ['sh', '-c', 'echo The app is running! && sleep 3600'] + volumeMounts: + - mountPath: "/mnt/storage" + name: storage + volumes: + - name: storage + persistentVolumeClaim: + claimName: test-pvc