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 cb1ec20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ spec:
app:
image:
repository: ghcr.io/gimlet-io/capacitor
tag: v0.4.2@sha256:55e77511d674733708e001f594e7180826de9385e2ed0a34397dc2b9694f378c
tag: v0.4.3@sha256:784c7f48bad9f4f9acfc0ed2e15955df63da00bd6884f8dbfc7527ec396bfcee
resources:
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 cb1ec20

Please sign in to comment.