kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: eparis-fluentd-es
  labels:
    k8s-app: fluentd-es
    kubernetes.io/cluster-service: "true"
    addonmanager.kubernetes.io/mode: Reconcile
rules:
- apiGroups:
  - ""
  resources:
  - "namespaces"
  - "pods"
  verbs:
  - "get"
  - "watch"
  - "list"
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: eparis-fluentd-es
  labels:
    k8s-app: fluentd-es
    kubernetes.io/cluster-service: "true"
    addonmanager.kubernetes.io/mode: Reconcile
subjects:
- kind: ServiceAccount
  name: eparis-fluentd-es
  namespace: eparis-logging
  apiGroup: ""
roleRef:
  kind: ClusterRole
  name: eparis-fluentd-es
  apiGroup: ""

kind: ClusterRole
metadata:
  name: eparis-fluentd-es
  labels:
    k8s-app: fluentd-es
    kubernetes.io/cluster-service: "true"
    addonmanager.kubernetes.io/mode: Reconcile
rules:
- apiGroups:
  - ""
  resources:
  - "namespaces"
  - "pods"
  verbs:
  - "get"
  - "watch"
  - "list"
---
kind: ClusterRoleBinding
metadata:
  name: eparis-fluentd-es
  labels:
    k8s-app: fluentd-es
    kubernetes.io/cluster-service: "true"
    addonmanager.kubernetes.io/mode: Reconcile
subjects:
- kind: ServiceAccount
  name: eparis-fluentd-es
  namespace: eparis-logging
  apiGroup: ""
roleRef:
  kind: ClusterRole
  name: eparis-fluentd-es
  apiGroup: ""

Remove apiversion from policy blobs
Remove apiversion from policy blobs
