Fix rook connection with pve ceph cluster

This commit is contained in:
2026-08-10 02:00:20 +03:00
parent 64ece67ed7
commit 47f92fd058

View File

@@ -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)