Skip to content

Commit

Permalink
chore: swap secret to bws
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Feb 11, 2024
1 parent fa40b07 commit b8e651c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: actions-runner-controller-secret
name: &name actions-runner-controller
spec:
refreshInterval: "1h"
secretStoreRef:
name: bitwarden-secrets-manager
kind: ClusterSecretStore
target:
deletionPolicy: Delete
template:
type: Opaque
data:
github_token: "{{ .github_token }}"
name: *name
data:
- secretKey: github_token
sourceRef:
storeRef:
name: bitwarden-fields
kind: ClusterSecretStore
remoteRef:
key: 7647a593-3576-4092-85fe-ac6e00f706e3
property: arc_token
- secretKey: github_token
remoteRef:
key: actions-runner-controller
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ spec:
namespace: actions-runner-system
valuesFrom:
- kind: Secret
name: actions-runner-controller-secret
name: actions-runner-controller
valuesKey: github_token
targetPath: githubConfigSecret.github_token

0 comments on commit b8e651c

Please sign in to comment.