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