chore: Update manifests after automerge

This commit is contained in:
2026-01-14 21:28:59 +00:00
parent 9d2571960e
commit 362e207ae7
2 changed files with 16 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ spec:
CEPH_CONFIG="/etc/ceph/ceph.conf"
MON_CONFIG="/etc/rook/mon-endpoints"
KEYRING_FILE="/etc/ceph/keyring"
CONFIG_OVERRIDE="/etc/rook-config-override/config"
# create a ceph config file in its default location so ceph/rados tools can be used
# without specifying any arguments
@@ -48,6 +49,13 @@ spec:
[client.admin]
keyring = ${KEYRING_FILE}
EOF
# Merge the config override if it exists and is not empty
if [ -f "${CONFIG_OVERRIDE}" ] && [ -s "${CONFIG_OVERRIDE}" ]; then
echo "$DATE merging config override from ${CONFIG_OVERRIDE}"
echo "" >> ${CEPH_CONFIG}
cat ${CONFIG_OVERRIDE} >> ${CEPH_CONFIG}
fi
}
# watch the endpoints config file and update if the mon endpoints ever change
@@ -113,6 +121,9 @@ spec:
mountPath: /etc/rook
- name: ceph-admin-secret
mountPath: /var/lib/rook-ceph-mon
- name: rook-config-override
mountPath: /etc/rook-config-override
readOnly: true
serviceAccountName: rook-ceph-default
volumes:
- name: ceph-admin-secret
@@ -128,6 +139,10 @@ spec:
items:
- key: data
path: mon-endpoints
- name: rook-config-override
configMap:
name: rook-config-override
optional: true
- name: ceph-config
emptyDir: {}
tolerations:

View File

@@ -43,6 +43,7 @@ rules:
resources:
- cephclients
- cephclusters
- cephclusters/finalizers
- cephblockpools
- cephfilesystems
- cephnfses