Add tailscale
This commit is contained in:
parent
a971a50fbe
commit
ee767edb95
4 changed files with 65 additions and 0 deletions
25
charts/tailscale/templates/external-secret.yaml
Normal file
25
charts/tailscale/templates/external-secret.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: operator-oauth
|
||||
namespace: tailscale
|
||||
spec:
|
||||
refreshInterval: 1h
|
||||
secretStoreRef:
|
||||
name: aws-secrets-manager
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: operator-oauth
|
||||
template:
|
||||
data:
|
||||
client_id: "{{ .client_id }}"
|
||||
client_secret: "{{ .client_secret }}"
|
||||
data:
|
||||
- secretKey: client_id
|
||||
remoteRef:
|
||||
key: dumpnet
|
||||
property: tailscale.oauth_client_id
|
||||
- secretKey: client_secret
|
||||
remoteRef:
|
||||
key: dumpnet
|
||||
property: tailscale.oauth_client_secret
|
||||
Loading…
Add table
Add a link
Reference in a new issue