Skip to content

Commit

Permalink
Merge pull request #106 from weaveworks/autoscalling-permissions
Browse files Browse the repository at this point in the history
Support autoscalling hpa to agent permissions
  • Loading branch information
Ahmed El-Sayed authored Sep 26, 2022
2 parents 8a0e391 + 2e85122 commit f5c4745
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ rules:
- apps
- batch
- rbac.authorization.k8s.io
- autoscaling
resources:
- pods
- deployments
Expand All @@ -51,6 +52,7 @@ rules:
- clusterrolebindings
- serviceaccounts
- nodes
- horizontalpodautoscalers
verbs:
- get
- list
Expand Down Expand Up @@ -267,6 +269,7 @@ webhooks:
- gitops.weave.works
- kustomize.toolkit.fluxcd.io
- helm.toolkit.fluxcd.io
- autoscaling
resources:
- namespaces
- pods
Expand All @@ -293,6 +296,7 @@ webhooks:
- kustomizations
- helmreleases
- ocirepositories
- horizontalpodautoscalers
timeoutSeconds: 5
failurePolicy: {{ .Values.failurePolicy }}
admissionReviewVersions: ["v1", "v1beta1"]
Expand Down

0 comments on commit f5c4745

Please sign in to comment.