Ops: Adjust deployment manifests for environment

This commit is contained in:
2026-05-07 17:49:48 -04:00
parent 666c32cd69
commit 551ddbec3b
6 changed files with 17 additions and 13 deletions

View File

@@ -4,8 +4,8 @@ metadata:
name: api-secret
namespace: reactbin
spec:
vaultAuthRef: reactbin-auth
mount: secret
vaultAuthRef: reactbin-vault-auth
mount: kv
type: kv-v2
# Required Vault keys at this path:
# DATABASE_URL, JWT_SECRET_KEY, OWNER_USERNAME, OWNER_PASSWORD,

View File

@@ -4,8 +4,8 @@ metadata:
name: minio-secret
namespace: reactbin
spec:
vaultAuthRef: reactbin-auth
mount: secret
vaultAuthRef: reactbin-vault-auth
mount: kv
type: kv-v2
# Required Vault keys at this path:
# MINIO_ROOT_USER, MINIO_ROOT_PASSWORD

View File

@@ -1,7 +1,13 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: vso-reactbin
namespace: reactbin
---
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultAuth
metadata:
name: reactbin-auth
name: reactbin-vault-auth
namespace: reactbin
spec:
method: kubernetes
@@ -10,7 +16,7 @@ spec:
# The operator must create this role in Vault and bind it to the
# default service account in the reactbin namespace with read access
# to both reactbin/api/config and reactbin/minio/credentials.
role: reactbin
serviceAccount: default
role: vso-reactbin
serviceAccount: vso-reactbin
audiences:
- https://kubernetes.default.svc
- vault