--- # Source: cni-metrics-helper/templates/serviceaccount.yaml apiVersion: v1 kind: ServiceAccount metadata: name: cni-metrics-helper namespace: kube-system labels: app.kubernetes.io/name: cni-metrics-helper app.kubernetes.io/instance: cni-metrics-helper app.kubernetes.io/version: "v1.10.4" --- # Source: cni-metrics-helper/templates/clusterrole.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: cni-metrics-helper rules: - apiGroups: [""] resources: - pods - pods/proxy verbs: ["get", "watch", "list"] --- # Source: cni-metrics-helper/templates/clusterrolebinding.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: cni-metrics-helper labels: app.kubernetes.io/name: cni-metrics-helper app.kubernetes.io/instance: cni-metrics-helper app.kubernetes.io/version: "v1.10.4" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cni-metrics-helper subjects: - kind: ServiceAccount name: cni-metrics-helper namespace: kube-system --- # Source: cni-metrics-helper/templates/deployment.yaml kind: Deployment apiVersion: apps/v1 metadata: name: cni-metrics-helper namespace: kube-system labels: k8s-app: cni-metrics-helper spec: selector: matchLabels: k8s-app: cni-metrics-helper template: metadata: labels: k8s-app: cni-metrics-helper spec: containers: - env: - name: AWS_CLUSTER_ID value: "" - name: USE_CLOUDWATCH value: "true" name: cni-metrics-helper image: "602401143452.dkr.ecr.us-west-2.amazonaws.com/cni-metrics-helper:v1.10.4" serviceAccountName: cni-metrics-helper