Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
changed ceph-secret-admin to be consistent with cephfs
Browse files Browse the repository at this point in the history
  • Loading branch information
kifeo committed Apr 21, 2020
1 parent aef53cb commit 0e1aac5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ceph/rbd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ See https://kubernetes.io/.

```bash
ceph auth get client.admin 2>&1 |grep "key = " |awk '{print $3'} |xargs echo -n > /tmp/key
kubectl create secret generic ceph-admin-secret --from-file=/tmp/key --namespace=kube-system --type=kubernetes.io/rbd
kubectl create secret generic ceph-secret-admin --from-file=/tmp/key --namespace=kube-system --type=kubernetes.io/rbd
```

* Create a Ceph pool and a user secret
Expand Down
2 changes: 1 addition & 1 deletion ceph/rbd/examples/class.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parameters:
pool: kube
adminId: admin
adminSecretNamespace: kube-system
adminSecretName: ceph-admin-secret
adminSecretName: ceph-secret-admin
userId: kube
userSecretNamespace: kube-system
userSecretName: ceph-secret
Expand Down
2 changes: 1 addition & 1 deletion ceph/rbd/examples/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: ceph-admin-secret
name: ceph-secret-admin
namespace: kube-system
type: "kubernetes.io/rbd"
data:
Expand Down

0 comments on commit 0e1aac5

Please sign in to comment.