Argo/MetaObjects/renovate-keys.yml

37 lines
747 B
YAML
Raw Normal View History

2022-12-15 13:41:03 +01:00
apiVersion: external-secrets.io/v1alpha1
kind: SecretStore
metadata:
2022-12-15 14:22:45 +01:00
name: ext-renovate-backend
namespace: ci
2022-12-15 13:41:03 +01:00
spec:
provider:
vault:
server: "http://vault.vault:8200"
path: "kv"
version: "v2"
auth:
kubernetes:
mountPath: "kubernetes"
role: "kube-role"
---
apiVersion: external-secrets.io/v1alpha1
kind: ExternalSecret
metadata:
2022-12-15 14:22:45 +01:00
name: ext-renovate
namespace: ci
2022-12-15 13:41:03 +01:00
spec:
secretStoreRef:
2022-12-15 14:22:45 +01:00
name: ext-renovate-backend
2022-12-15 13:41:03 +01:00
kind: SecretStore
target:
2022-12-15 14:22:45 +01:00
name: renovate-secret
2022-12-15 13:41:03 +01:00
data:
2022-12-15 14:22:45 +01:00
- secretKey: GITHUB_COM_TOKEN
2022-12-15 13:41:03 +01:00
remoteRef:
2022-12-15 14:22:45 +01:00
key: ci/renovate
property: github
- secretKey: RENOVATE_TOKEN
remoteRef:
key: ci/renovate
property: token