From 2810425c2e400aec1a355ccdb2882790d815cee8 Mon Sep 17 00:00:00 2001 From: Stefan Sedich Date: Thu, 28 Feb 2019 10:35:25 -0800 Subject: [PATCH] Add missing daemonsets to AWS example cluster role --- .../aws/examples/cluster-autoscaler-autodiscover.yaml | 2 +- .../aws/examples/cluster-autoscaler-multi-asg.yaml | 2 +- .../cloudprovider/aws/examples/cluster-autoscaler-one-asg.yaml | 2 +- .../aws/examples/cluster-autoscaler-run-on-master.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml index f55e46348fc6..194d7cb19c8f 100644 --- a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml +++ b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml @@ -42,7 +42,7 @@ rules: resources: ["poddisruptionbudgets"] verbs: ["watch","list"] - apiGroups: ["apps"] - resources: ["statefulsets", "replicasets"] + resources: ["statefulsets", "replicasets", "daemonsets"] verbs: ["watch","list","get"] - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"] diff --git a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-multi-asg.yaml b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-multi-asg.yaml index 76ff4756252a..338607da019f 100644 --- a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-multi-asg.yaml +++ b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-multi-asg.yaml @@ -42,7 +42,7 @@ rules: resources: ["poddisruptionbudgets"] verbs: ["watch","list"] - apiGroups: ["apps"] - resources: ["statefulsets", "replicasets"] + resources: ["statefulsets", "replicasets", "daemonsets"] verbs: ["watch","list","get"] - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"] diff --git a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-one-asg.yaml b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-one-asg.yaml index 7eaa9bf28988..27be4704f62f 100644 --- a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-one-asg.yaml +++ b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-one-asg.yaml @@ -42,7 +42,7 @@ rules: resources: ["poddisruptionbudgets"] verbs: ["watch","list"] - apiGroups: ["apps"] - resources: ["statefulsets", "replicasets"] + resources: ["statefulsets", "replicasets", "daemonsets"] verbs: ["watch","list","get"] - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"] diff --git a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-run-on-master.yaml b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-run-on-master.yaml index a597bf9097ed..ed02bf2c3735 100644 --- a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-run-on-master.yaml +++ b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-run-on-master.yaml @@ -42,7 +42,7 @@ rules: resources: ["poddisruptionbudgets"] verbs: ["watch","list"] - apiGroups: ["apps"] - resources: ["statefulsets", "replicasets"] + resources: ["statefulsets", "replicasets", "daemonsets"] verbs: ["watch","list","get"] - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"]