2023-10-30 18:18:09 +00:00
|
|
|
# Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
name: proxies
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: Role
|
|
|
|
metadata:
|
|
|
|
name: proxies
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
rules:
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources: ["secrets"]
|
2024-08-20 13:44:50 +00:00
|
|
|
verbs: ["create","delete","deletecollection","get","list","patch","update","watch"]
|
2023-10-30 18:18:09 +00:00
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: RoleBinding
|
|
|
|
metadata:
|
|
|
|
name: proxies
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
|
|
|
name: proxies
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
roleRef:
|
|
|
|
kind: Role
|
|
|
|
name: proxies
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|