---
# Source: reloader/templates/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  labels:
    app: reloader
    group: com.stakater.platform
    provider: stakater
    version: 0.0.1
    chart: "reloader-0.0.1"
    release: "RELEASE-NAME"
    heritage: "Tiller"
  name: reloader
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
  labels: 
    app: reloader
    group: com.stakater.platform
    provider: stakater
    version: 0.0.1
    chart: "reloader-0.0.1"
    release: "RELEASE-NAME"
    heritage: "Tiller"
  name: reloader-role
  namespace: tools
rules:
  - apiGroups:
      - ""
    resources:      
      - secrets
      - configmaps
    verbs:
      - list
      - get
      - watch
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
  labels: 
    app: reloader
    group: com.stakater.platform
    provider: stakater
    version: 0.0.1
    chart: "reloader-0.0.1"
    release: "RELEASE-NAME"
    heritage: "Tiller"
  name: reloader-role-binding
  namespace: tools
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: reloader-role
subjects:
  - kind: ServiceAccount
    name: reloader
    namespace: tools
