Skip to content

Commit fa0ff4f

Browse files
authored
Merge pull request #1628 from porter-dev/ym/karp_rbac_for_porter_agent
chore: RBAC changes to allow porter agent to read Ec2NodeClass CRD
2 parents 8d78b63 + b632d6a commit fa0ff4f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

addons/porter-agent/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.63.0
16+
version: 0.63.1
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.

addons/porter-agent/templates/rbac.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,13 @@ rules:
122122
- get
123123
- list
124124
- watch
125+
- apiGroups:
126+
- "karpenter.k8s.aws"
127+
resources:
128+
- "ec2nodeclasses"
129+
verbs:
130+
- get
131+
- list
125132
---
126133
apiVersion: rbac.authorization.k8s.io/v1
127134
kind: ClusterRole

0 commit comments

Comments
 (0)