diff --git a/cluster-autoscaler/cloudprovider/alicloud/examples/cluster-autoscaler-standard.yaml b/cluster-autoscaler/cloudprovider/alicloud/examples/cluster-autoscaler-standard.yaml index 013a06bc9b77..cf53fcc443c8 100644 --- a/cluster-autoscaler/cloudprovider/alicloud/examples/cluster-autoscaler-standard.yaml +++ b/cluster-autoscaler/cloudprovider/alicloud/examples/cluster-autoscaler-standard.yaml @@ -60,7 +60,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: ["cluster-autoscaler-status", "cluster-autoscaler-priority-expander"] diff --git a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml index 2397f9ed83dc..ca2f0cf8abb0 100644 --- a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml +++ b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml @@ -65,7 +65,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: ["cluster-autoscaler-status", "cluster-autoscaler-priority-expander"] 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 6f1d97f6be61..656d9753a8f8 100644 --- a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-multi-asg.yaml +++ b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-multi-asg.yaml @@ -65,7 +65,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: ["cluster-autoscaler-status", "cluster-autoscaler-priority-expander"] 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 6878e1cac20c..5a609046c3c7 100644 --- a/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-one-asg.yaml +++ b/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-one-asg.yaml @@ -65,7 +65,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: ["cluster-autoscaler-status", "cluster-autoscaler-priority-expander"] 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 92e3af7e0607..db15d243b17f 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 @@ -65,7 +65,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: ["cluster-autoscaler-status", "cluster-autoscaler-priority-expander"] diff --git a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-containerservice.yaml b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-containerservice.yaml index 129ab67a09aa..2ae0ad401fd3 100644 --- a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-containerservice.yaml +++ b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-containerservice.yaml @@ -68,7 +68,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: diff --git a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard-master.yaml b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard-master.yaml index 1e5bbe112abc..6473de5b05ed 100644 --- a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard-master.yaml +++ b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard-master.yaml @@ -68,7 +68,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: diff --git a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard-msi.yaml b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard-msi.yaml index a883fdbf7cf6..ddf532a8d4a2 100644 --- a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard-msi.yaml +++ b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard-msi.yaml @@ -68,7 +68,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: diff --git a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard.yaml b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard.yaml index a007de454c44..7cc57a78b276 100644 --- a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard.yaml +++ b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard.yaml @@ -68,7 +68,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: diff --git a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-master.yaml b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-master.yaml index 2d71f6ba5080..a6774ea767bc 100644 --- a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-master.yaml +++ b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-master.yaml @@ -68,7 +68,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: diff --git a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-msi.yaml b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-msi.yaml index 2317154a7d5f..56afc4b5c6d4 100644 --- a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-msi.yaml +++ b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-msi.yaml @@ -68,7 +68,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: diff --git a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss.yaml b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss.yaml index e4b13e0d8452..0db7dbef8d15 100644 --- a/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss.yaml +++ b/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss.yaml @@ -68,7 +68,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: diff --git a/cluster-autoscaler/cloudprovider/baiducloud/examples/cluster-autoscaler-one-asg.yaml b/cluster-autoscaler/cloudprovider/baiducloud/examples/cluster-autoscaler-one-asg.yaml index 95b3eb7deac6..346ce05ccd45 100644 --- a/cluster-autoscaler/cloudprovider/baiducloud/examples/cluster-autoscaler-one-asg.yaml +++ b/cluster-autoscaler/cloudprovider/baiducloud/examples/cluster-autoscaler-one-asg.yaml @@ -65,7 +65,7 @@ metadata: rules: - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] resourceNames: diff --git a/cluster-autoscaler/cloudprovider/magnum/examples/cluster-autoscaler-svcaccount.yaml b/cluster-autoscaler/cloudprovider/magnum/examples/cluster-autoscaler-svcaccount.yaml index 691764ae32e3..d54062649fd0 100644 --- a/cluster-autoscaler/cloudprovider/magnum/examples/cluster-autoscaler-svcaccount.yaml +++ b/cluster-autoscaler/cloudprovider/magnum/examples/cluster-autoscaler-svcaccount.yaml @@ -42,10 +42,10 @@ rules: verbs: ["watch", "list", "get"] - apiGroups: [""] resources: ["configmaps"] - verbs: ["create"] + verbs: ["create","list","watch"] - apiGroups: [""] resources: ["configmaps"] - resourceNames: ["cluster-autoscaler-status"] + resourceNames: ["cluster-autoscaler-status", "cluster-autoscaler-priority-expander"] verbs: ["delete", "get", "update"] --- apiVersion: rbac.authorization.k8s.io/v1beta1