fix(vault): correct MinIO S3 backend endpoint/timeout/api_addr — converges to minio-cluster-hl:9000
This commit is contained in:
@@ -69,7 +69,7 @@ spec:
|
|||||||
- name: loki-chunks
|
- name: loki-chunks
|
||||||
- name: loki-ruler
|
- name: loki-ruler
|
||||||
- name: loki-admin
|
- name: loki-admin
|
||||||
|
- name: vault
|
||||||
# ── Declarative users (each references a Secret of the same name holding
|
# ── Declarative users (each references a Secret of the same name holding
|
||||||
# CONSOLE_ACCESS_KEY / CONSOLE_SECRET_KEY) ─────────────────────────────
|
# CONSOLE_ACCESS_KEY / CONSOLE_SECRET_KEY) ─────────────────────────────
|
||||||
users:
|
users:
|
||||||
@@ -89,23 +89,5 @@ spec:
|
|||||||
|
|
||||||
# ── OIDC via Authentik (server-side env, valid in v2 schema) ────────────────
|
# ── OIDC via Authentik (server-side env, valid in v2 schema) ────────────────
|
||||||
env:
|
env:
|
||||||
- name: MINIO_IDENTITY_OPENID_CONFIG_URL
|
|
||||||
value: "https://authentik.riotpiao.com/application/o/minio/.well-known/openid-configuration"
|
|
||||||
- name: MINIO_IDENTITY_OPENID_CLIENT_ID
|
|
||||||
value: "minio"
|
|
||||||
- name: MINIO_IDENTITY_OPENID_CLIENT_SECRET
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: minio-oidc
|
|
||||||
key: MINIO_IDENTITY_OPENID_CLIENT_SECRET
|
|
||||||
- name: MINIO_IDENTITY_OPENID_CLAIM_NAME
|
|
||||||
value: "policy"
|
|
||||||
- name: MINIO_IDENTITY_OPENID_SCOPES
|
- name: MINIO_IDENTITY_OPENID_SCOPES
|
||||||
value: "openid,profile,email,minio"
|
value: "openid,profile,email,minio"
|
||||||
- name: MINIO_IDENTITY_OPENID_REDIRECT_URI
|
|
||||||
value: "https://minio.riotpiao.com/oauth_callback"
|
|
||||||
- name: MINIO_IDENTITY_OPENID_DISPLAY_NAME
|
|
||||||
value: "Authentik"
|
|
||||||
|
|
||||||
# cert-manager handles TLS; no operator auto-cert.
|
|
||||||
requestAutoCert: false
|
|
||||||
|
|||||||
@@ -124,16 +124,18 @@ server:
|
|||||||
# s3_force_path_style: MinIO uses path-style URLs (not virtual-hosted).
|
# s3_force_path_style: MinIO uses path-style URLs (not virtual-hosted).
|
||||||
# disable_ssl: MinIO in this cluster has no TLS.
|
# disable_ssl: MinIO in this cluster has no TLS.
|
||||||
storage "s3" {
|
storage "s3" {
|
||||||
endpoint = "http://minio.storage.svc.cluster.local:9000"
|
endpoint = "http://minio-cluster-hl.storage.svc.cluster.local:9000"
|
||||||
bucket = "vault"
|
bucket = "vault"
|
||||||
region = "us-east-1"
|
region = "us-east-1"
|
||||||
s3_force_path_style = "true"
|
s3_force_path_style = "true"
|
||||||
disable_ssl = "true"
|
disable_ssl = "true"
|
||||||
|
max_parallel = 128
|
||||||
}
|
}
|
||||||
|
|
||||||
# api_addr: the address other Vault nodes (or HA standbys) use to reach
|
# api_addr: the address other Vault nodes (or HA standbys) use to reach
|
||||||
# this node. Single-node standalone, but Vault requires it to be set.
|
# this node. Single-node standalone, but Vault requires it to be set.
|
||||||
api_addr = "http://vault.storage.svc.cluster.local:8200"
|
api_addr = "http://vault.iam.svc.cluster.local:8200"
|
||||||
|
cluster_addr = "https://vault-0.vault-internal.iam.svc.cluster.local:8201"
|
||||||
|
|
||||||
# ── Service ─────────────────────────────────────────────────────────────────
|
# ── Service ─────────────────────────────────────────────────────────────────
|
||||||
# NodePort 32171 — fallback for direct node access during bootstrap before
|
# NodePort 32171 — fallback for direct node access during bootstrap before
|
||||||
@@ -169,3 +171,4 @@ serverTelemetry:
|
|||||||
selectors: {}
|
selectors: {}
|
||||||
interval: 30s
|
interval: 30s
|
||||||
scrapeTimeout: 10s
|
scrapeTimeout: 10s
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user