mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-11 18:54:42 +00:00
2c403cbb31
Signed-off-by: Maisem Ali <maisem@tailscale.com>
17 lines
546 B
YAML
17 lines
546 B
YAML
# Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: tailscale
|
|
rules:
|
|
- apiGroups: [""] # "" indicates the core API group
|
|
resources: ["secrets"]
|
|
# Create can not be restricted to a resource name.
|
|
verbs: ["create"]
|
|
- apiGroups: [""] # "" indicates the core API group
|
|
resourceNames: ["{{KUBE_SECRET}}"]
|
|
resources: ["secrets"]
|
|
verbs: ["get", "update"]
|