Point cephrgw-operator at s3.ceph.unkin.net #609
@@ -32,13 +32,18 @@ spec:
|
||||
- --health-probe-bind-address=:8081
|
||||
- --leader-elect
|
||||
envFrom:
|
||||
# Provides CEPH_RGW_ACCESS_KEY/SECRET_KEY and the endpoints
|
||||
# (CEPH_RGW_ENDPOINT / CEPH_RGW_ADMIN_ENDPOINT), plus optional
|
||||
# CEPH_RGW_REGION / CEPH_RGW_CA / CEPH_RGW_INSECURE. Rendered from
|
||||
# Vault per docs/ceph-setup.md; not managed in GitOps.
|
||||
# Provides CEPH_RGW_ACCESS_KEY/SECRET_KEY, plus optional
|
||||
# CEPH_RGW_REGION / CEPH_RGW_INSECURE. Rendered from Vault per
|
||||
# docs/ceph-setup.md; not managed in GitOps.
|
||||
- secretRef:
|
||||
name: cephrgw-credentials
|
||||
env:
|
||||
# Explicit env wins over envFrom, so these override any endpoint
|
||||
# still present in the Vault-rendered secret.
|
||||
- name: CEPH_RGW_ENDPOINT
|
||||
value: https://s3.ceph.unkin.net
|
||||
- name: CEPH_RGW_ADMIN_ENDPOINT
|
||||
value: https://s3.ceph.unkin.net
|
||||
# Trust the internal unkin.net (Vault PKI) CA so the operator can
|
||||
# verify radosgw's TLS cert. vault-ca-cert is reflected into every
|
||||
# namespace from the certificates namespace.
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
---
|
||||
# Renders the radosgw credentials from Vault into the cephrgw-credentials
|
||||
# Secret the operator Deployment consumes via envFrom. The KV secret's keys
|
||||
# (CEPH_RGW_ACCESS_KEY/SECRET_KEY, CEPH_RGW_ENDPOINT, optional
|
||||
# CEPH_RGW_ADMIN_ENDPOINT/REGION/CA) are copied verbatim, so they land as the
|
||||
# matching env vars.
|
||||
# (CEPH_RGW_ACCESS_KEY/SECRET_KEY, optional CEPH_RGW_REGION) are copied
|
||||
# verbatim, so they land as the matching env vars. Endpoints are set in the
|
||||
# Deployment.
|
||||
#
|
||||
# The path sits under the templated default policy
|
||||
# (kv/data/kubernetes/namespace/<ns>/<sa>/*), so it needs no dedicated Vault
|
||||
# role or policy. Seed the values with:
|
||||
# vault kv put kv/kubernetes/namespace/cephrgw-system/default/cephrgw-credentials \
|
||||
# CEPH_RGW_ENDPOINT=https://s3.ceph.unkin.net \
|
||||
# CEPH_RGW_ADMIN_ENDPOINT=https://radosgw.service.consul:443 \
|
||||
# CEPH_RGW_ACCESS_KEY=... CEPH_RGW_SECRET_KEY=...
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultStaticSecret
|
||||
|
||||
Reference in New Issue
Block a user