This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/apps/default/rocky-jump/app/rbac.yaml

44 lines
704 B
YAML
Raw Normal View History

2023-11-07 10:09:35 -06:00
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: tailscale
2023-11-07 10:13:23 -06:00
namespace: default
2023-11-07 10:09:35 -06:00
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- apiGroups:
- ""
resourceNames:
- tailscale-state
resources:
- secrets
verbs:
- get
- update
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: tailscale
2023-11-07 10:13:23 -06:00
namespace: default
2023-11-07 10:09:35 -06:00
subjects:
- kind: ServiceAccount
name: tailscale
2023-11-07 10:13:23 -06:00
namespace: default
2023-11-07 10:09:35 -06:00
roleRef:
kind: Role
name: tailscale
apiGroup: rbac.authorization.k8s.io
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: tailscale
2023-11-07 10:13:23 -06:00
namespace: default