Skip to content

Commit

Permalink
[sophora-importer] configurable sophora importer bucket mount resourc…
Browse files Browse the repository at this point in the history
…es (#21)
  • Loading branch information
tom-schoener authored May 19, 2023
1 parent 3277e29 commit a9d9d9c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/sophora-importer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 1 addition & 5 deletions charts/sophora-importer/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,7 @@ spec:
find /import
find /opt/s3fs/bucket
resources:
limits:
memory: 256Mi
requests:
cpu: 100m
memory: 256Mi
{{- toYaml .Values.sophora.importer.s3Bucket.resources | nindent 12 }}
volumeMounts:
- name: shared-imports
mountPath: /opt/s3fs/bucket
Expand Down
6 changes: 6 additions & 0 deletions charts/sophora-importer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ sophora:
extraEnv:
- name: S3FS_ARGS
value: nonempty
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
memory: 256Mi
extraEnv:
loaderPath:
instances: []
Expand Down

0 comments on commit a9d9d9c

Please sign in to comment.