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: data:
- secretKey: DISCORD_APP_ID - secretKey: DISCORD_APP_ID
remoteRef: remoteRef:
key: k8s/presidential-paradise/zookeeper key: presidential-paradise/zookeeper
property: discord_app_id property: discord_app_id
- secretKey: DISCORD_PUBLIC_KEY - secretKey: DISCORD_PUBLIC_KEY
remoteRef: remoteRef:
key: k8s/presidential-paradise/zookeeper key: presidential-paradise/zookeeper
property: discord_public_key property: discord_public_key
- secretKey: DISCORD_TOKEN - secretKey: DISCORD_TOKEN
remoteRef: remoteRef:
key: k8s/presidential-paradise/zookeeper key: presidential-paradise/zookeeper
property: discord_token property: discord_token
- secretKey: TWITTER_TOKEN - secretKey: TWITTER_TOKEN
remoteRef: remoteRef:
key: k8s/presidential-paradise/zookeeper key: presidential-paradise/zookeeper
property: twitter_token property: twitter_token

View file

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