Make deployment artifacts with a consistent name pattern.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2019-05-07 20:19:45 +05:30 committed by mergify[bot]
parent 0a4b2b713a
commit 822cab8ed0
11 changed files with 11 additions and 11 deletions

View File

@ -147,7 +147,7 @@ spec:
resources:
requests:
storage: 1Gi
storageClassName: csi-rbd
storageClassName: csi-rbd-sc
```
Create a POD that uses this PVC:

View File

@ -2,7 +2,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: csicephfs-demo-depl
name: csi-cephfs-demo-depl
labels:
app: web-server
spec:

View File

@ -2,7 +2,7 @@
apiVersion: v1
kind: Pod
metadata:
name: csicephfs-demo-pod
name: csi-cephfs-demo-pod
spec:
containers:
- name: web-server

View File

@ -9,4 +9,4 @@ spec:
resources:
requests:
storage: 5Gi
storageClassName: csi-cephfs
storageClassName: csi-cephfs-sc

View File

@ -2,7 +2,7 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: csi-cephfs
name: csi-cephfs-sc
provisioner: cephfs.csi.ceph.com
parameters:
# Comma separated list of Ceph monitors

View File

@ -2,7 +2,7 @@
apiVersion: v1
kind: Pod
metadata:
name: csirbd-restore-demo-pod
name: csi-rbd-restore-demo-pod
spec:
containers:
- name: web-server

View File

@ -2,7 +2,7 @@
apiVersion: v1
kind: Pod
metadata:
name: csirbd-demo-pod
name: csi-rbd-demo-pod
spec:
containers:
- name: web-server

View File

@ -4,7 +4,7 @@ kind: PersistentVolumeClaim
metadata:
name: rbd-pvc-restore
spec:
storageClassName: csi-rbd
storageClassName: csi-rbd-sc
dataSource:
name: rbd-pvc-snapshot
kind: VolumeSnapshot

View File

@ -9,4 +9,4 @@ spec:
resources:
requests:
storage: 1Gi
storageClassName: csi-rbd
storageClassName: csi-rbd-sc

View File

@ -10,4 +10,4 @@ spec:
resources:
requests:
storage: 1Gi
storageClassName: csi-rbd
storageClassName: csi-rbd-sc

View File

@ -2,7 +2,7 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: csi-rbd
name: csi-rbd-sc
provisioner: rbd.csi.ceph.com
parameters:
# Comma separated list of Ceph monitors