Add teleport

This commit is contained in:
2023-09-09 15:54:27 +08:00
parent ec83286fc7
commit 9467c59c8d
102 changed files with 12224 additions and 0 deletions
@@ -0,0 +1,33 @@
creates a RoleBinding:
1: |
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: RELEASE-NAME
namespace: NAMESPACE
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: RELEASE-NAME
subjects:
- kind: ServiceAccount
name: RELEASE-NAME
namespace: NAMESPACE
sets RoleBinding labels when specified:
1: |
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/name: teleport-kube-agent
resource: rolebinding
name: RELEASE-NAME
namespace: NAMESPACE
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: RELEASE-NAME
subjects:
- kind: ServiceAccount
name: RELEASE-NAME
namespace: NAMESPACE