external-secrets: change back to approle and remove prefix

This commit is contained in:
Vivian 2021-10-29 21:30:31 +02:00
parent a6e7132252
commit e22c22a58a
No known key found for this signature in database
GPG key ID: A3923C699D1A3BDA
2 changed files with 19 additions and 19 deletions

View file

@ -13,17 +13,17 @@ spec:
data:
- secretKey: DISCORD_APP_ID
remoteRef:
key: k8s/presidential-paradise/zookeeper
key: presidential-paradise/zookeeper
property: discord_app_id
- secretKey: DISCORD_PUBLIC_KEY
remoteRef:
key: k8s/presidential-paradise/zookeeper
key: presidential-paradise/zookeeper
property: discord_public_key
- secretKey: DISCORD_TOKEN
remoteRef:
key: k8s/presidential-paradise/zookeeper
key: presidential-paradise/zookeeper
property: discord_token
- secretKey: TWITTER_TOKEN
remoteRef:
key: k8s/presidential-paradise/zookeeper
key: presidential-paradise/zookeeper
property: twitter_token

View file

@ -13,18 +13,18 @@ spec:
# VaultAppRole authenticates with Vault using the
# App Role auth mechanism
# https://www.vaultproject.io/docs/auth/approle
tokenSecretRef:
name: "vault-secret-id"
namespace: "external-secrets"
key: "token"
# appRole:
# # Path where the App Role authentication backend is mounted
# path: "approle"
# # RoleID configured in the App Role authentication backend
# roleId: "bb841a0e-45c1-9dab-36f0-f72647d6aff0"
# # Reference to a key in a K8 Secret that contains the App Role SecretId
# # (not commited in git)
# secretRef:
# name: "vault-secret-id"
# namespace: "external-secrets"
# key: "secret-id"
# tokenSecretRef:
# name: "vault-secret-id"
# namespace: "external-secrets"
# key: "token"
appRole:
# Path where the App Role authentication backend is mounted
path: "approle"
# RoleID configured in the App Role authentication backend
roleId: "bb841a0e-45c1-9dab-36f0-f72647d6aff0"
# Reference to a key in a K8 Secret that contains the App Role SecretId
# (not commited in git)
secretRef:
name: "vault-secret-id"
namespace: "external-secrets"
key: "secret-id"