Skip to content

Commit f5c4745

Browse files
author
Ahmed El-Sayed
authored
Merge pull request #106 from weaveworks/autoscalling-permissions
Support autoscalling hpa to agent permissions
2 parents 8a0e391 + 2e85122 commit f5c4745

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

helm/templates/agent.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ rules:
3939
- apps
4040
- batch
4141
- rbac.authorization.k8s.io
42+
- autoscaling
4243
resources:
4344
- pods
4445
- deployments
@@ -51,6 +52,7 @@ rules:
5152
- clusterrolebindings
5253
- serviceaccounts
5354
- nodes
55+
- horizontalpodautoscalers
5456
verbs:
5557
- get
5658
- list
@@ -267,6 +269,7 @@ webhooks:
267269
- gitops.weave.works
268270
- kustomize.toolkit.fluxcd.io
269271
- helm.toolkit.fluxcd.io
272+
- autoscaling
270273
resources:
271274
- namespaces
272275
- pods
@@ -293,6 +296,7 @@ webhooks:
293296
- kustomizations
294297
- helmreleases
295298
- ocirepositories
299+
- horizontalpodautoscalers
296300
timeoutSeconds: 5
297301
failurePolicy: {{ .Values.failurePolicy }}
298302
admissionReviewVersions: ["v1", "v1beta1"]

0 commit comments

Comments
 (0)