Skip to content

Commit

Permalink
remove rook-ceph
Browse files Browse the repository at this point in the history
removing temporarily to recover the cluster state.
  • Loading branch information
jgilfoil committed Feb 25, 2024
1 parent 055c50a commit 8723280
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kubernetes/apps/rook-ceph/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ resources:
# Pre Flux-Kustomizations
- ./namespace.yaml
# Flux-Kustomizations
- ./ks.yaml
# - ./ks.yaml
4 changes: 2 additions & 2 deletions kubernetes/apps/rook-ceph/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
39 changes: 39 additions & 0 deletions tests/deployments/test-openebs.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8723280

Please sign in to comment.