Skip to content

Commit

Permalink
fix: limit
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Sep 26, 2024
1 parent 41e3d03 commit 3754531
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ spec:
requests:
cpu: 50m
memory: 100Mi
ephemeral-storage: 1Gi
limits:
memory: 200Mi
ephemeral-storage: 2Gi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
Expand Down
8 changes: 5 additions & 3 deletions kubernetes/utility/apps/flux-system/capacitor/app/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ rules:
- gitrepositories
- ocirepositories
- buckets
- helmrepositories
- helmcharts
- kustomizations
- helmreleases
verbs:
Expand All @@ -40,12 +42,12 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: &app capacitor
name: capacitor
subjects:
- kind: ServiceAccount
name: *app
name: capacitor
namespace: flux-system
roleRef:
kind: ClusterRole
name: *app
name: capacitor
apiGroup: rbac.authorization.k8s.io

0 comments on commit 3754531

Please sign in to comment.