2023-02-20 14:07:49 +00:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
|
|
|
name: drone-secret
|
|
|
|
spec:
|
|
|
|
secretStoreRef:
|
|
|
|
name: aws-parameters-store
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
target:
|
|
|
|
name: drone-secret
|
2023-02-20 15:58:55 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/managed-by: external-secret
|
|
|
|
annotations: {}
|
2023-02-20 14:07:49 +00:00
|
|
|
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
|
2023-02-20 15:58:55 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/managed-by: external-secret
|
|
|
|
annotations: {}
|
2023-02-20 14:07:49 +00:00
|
|
|
data:
|
|
|
|
- secretKey: client_id
|
|
|
|
remoteRef:
|
|
|
|
key: /k3s/prod/drone/gitea/client_id
|
|
|
|
- secretKey: client_secret
|
|
|
|
remoteRef:
|
2023-02-20 15:58:55 +00:00
|
|
|
key: /k3s/prod/drone/gitea/client_secret
|