Skip to content

Commit

Permalink
fix(chart): clusterrole specs (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis authored Dec 12, 2023
1 parent 6675906 commit 694a4a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ a grace period of 5 minutes.
**Note**: If no grace period is set the instance will be terminated immediately after the condition ScaledToZero is set to `True`.

```yaml
apiVersion: cloudautoscale.infra.doodle.com/v1beta1
kind: AWSRDSInstance
metadata:
name: rds-myname
Expand Down Expand Up @@ -60,6 +61,7 @@ If no pods are running matching either `app: backend` or `app: another-mongodb-c
a grace period of 5 minutes.

```yaml
apiVersion: cloudautoscale.infra.doodle.com/v1beta1
kind: MongoDBAtlasCluster
metadata:
name: atlas-myname
Expand Down
4 changes: 2 additions & 2 deletions chart/cloud-autoscale-controller/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ rules:
- apiGroups:
- "cloudautoscale.infra.doodle.com"
resources:
- awsrdsinstances/status
- mongodbatlasclusters/status
- awsrdsinstances
- mongodbatlasclusters
verbs:
- create
- delete
Expand Down

0 comments on commit 694a4a4

Please sign in to comment.