mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-15 17:51:01 +00:00
61340a78ed
Co-authored-by: Lucas Severo Alves <lucassalves65@gmail.com> Co-authored-by: Surjit Bains <surjit.bains@gmail.com>
27 lines
669 B
YAML
27 lines
669 B
YAML
---
|
|
apiVersion: external-secrets.io/v1alpha1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: github-ssh-access
|
|
namespace: ci
|
|
spec:
|
|
refreshInterval: 1m
|
|
secretStoreRef:
|
|
name: cluster-parameter-store
|
|
kind: ClusterSecretStore
|
|
target:
|
|
name: github-ssh-access
|
|
template:
|
|
metadata:
|
|
labels:
|
|
"jenkins.io/credentials-type": "basicSSHUserPrivateKey"
|
|
annotations:
|
|
"jenkins.io/credentials-description": "github-ssh-access key"
|
|
data:
|
|
- secretKey: username
|
|
remoteRef:
|
|
key: /service/github/sshUserPrivateKeyUserName
|
|
- secretKey: privateKey
|
|
remoteRef:
|
|
key: /service/github/sshUserPrivateKey
|
|
|