-
-
Save cerebrate/71988f25e06a0c8d7b0be5cb1b5e4a0b to your computer and use it in GitHub Desktop.
HA: dependency-check-rbac.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
kind: Role | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: read-ha-dependency | |
namespace: homeassistant | |
rules: | |
- apiGroups: [""] | |
resources: ["endpoints"] | |
verbs: ["get"] | |
--- | |
kind: RoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: read-ha-dependency-binding | |
namespace: homeassistant | |
subjects: | |
- kind: ServiceAccount | |
name: default | |
namespace: homeassistant | |
roleRef: | |
kind: Role | |
name: read-ha-dependency | |
apiGroup: rbac.authorization.k8s.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment