Fix rook connection with pve ceph cluster
This commit is contained in:
@@ -66,3 +66,16 @@ resources:
|
||||
# - ssh://git@git.k-space.ee/secretspace/kube/rook-ceph # secrets: rook-ceph-external-admin-secret
|
||||
- ./storage-classes.yaml
|
||||
|
||||
patches:
|
||||
# External cluster has no client.admin - make bare ceph/rbd commands in the
|
||||
# toolbox default to the connected (healthchecker) user.
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: rook-ceph-tools
|
||||
patch: |-
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: CEPH_ARGS
|
||||
value: -n $(ROOK_CEPH_USERNAME)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user