36 lines
840 B
YAML
36 lines
840 B
YAML
|
apiVersion: external-secrets.io/v1beta1
|
||
|
kind: ExternalSecret
|
||
|
metadata:
|
||
|
name: drone-secret
|
||
|
spec:
|
||
|
secretStoreRef:
|
||
|
name: aws-parameters-store
|
||
|
kind: ClusterSecretStore
|
||
|
target:
|
||
|
name: drone-secret
|
||
|
data:
|
||
|
- secretKey: rpc_secret
|
||
|
remoteRef:
|
||
|
key: /k3s/prod/drone/gitea/rpc_secret
|
||
|
- secretKey: database_secret
|
||
|
remoteRef:
|
||
|
key: /k3s/prod/drone/gitea/database_secret
|
||
|
---
|
||
|
apiVersion: external-secrets.io/v1beta1
|
||
|
kind: ExternalSecret
|
||
|
metadata:
|
||
|
name: drone-gitea-oauth-secret
|
||
|
spec:
|
||
|
secretStoreRef:
|
||
|
name: aws-parameters-store
|
||
|
kind: ClusterSecretStore
|
||
|
target:
|
||
|
name: drone-gitea-oauth-secret
|
||
|
data:
|
||
|
- secretKey: client_id
|
||
|
remoteRef:
|
||
|
key: /k3s/prod/drone/gitea/client_id
|
||
|
- secretKey: client_secret
|
||
|
remoteRef:
|
||
|
key: /k3s/prod/drone/gitea/client_secret
|