Skip to content

Commit

Permalink
feat: test pushsecret
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Feb 11, 2024
1 parent c682344 commit 091139f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ kind: Kustomization
resources:
- ./objectbucketclaim.yaml
- ./helmrelease.yaml
- ./pushsecret.yaml
22 changes: 22 additions & 0 deletions kubernetes/teyvat/apps/observability/thanos/app/pushsecret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/external-secrets.io/pushsecret_v1alpha1.json
apiVersion: external-secrets.io/v1alpha1
kind: PushSecret
metadata:
name: thanos
spec:
secretStoreRefs:
- name: bitwarden-secrets-manager
kind: ClusterSecretStore
selector:
secret:
name: thanos-bucket
data:
- match:
secretKey: AWS_ACCESS_KEY_ID
remoteRef:
remoteKey: thanos
- match:
secretKey: AWS_SECRET_ACCESS_KEY
remoteRef:
remoteKey: thanos

0 comments on commit 091139f

Please sign in to comment.