Skip to content

Commit

Permalink
feat(shiny): limits for init container
Browse files Browse the repository at this point in the history
  • Loading branch information
avouacr committed Jul 5, 2023
1 parent 6773b69 commit 228004f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/shiny/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: 0.25.1
version: 0.26.0

dependencies:
- name: postgresql
Expand Down
4 changes: 4 additions & 0 deletions charts/shiny/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ spec:
- name: wait-for-postgresql
image: "alpine"
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 100m
memory: 128Mi
command:
- sh
- -c
Expand Down
5 changes: 3 additions & 2 deletions charts/shiny/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ ingress:
ingressClassName: ""
hostname: chart-example.local

resources:
{}
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
Expand Down Expand Up @@ -118,3 +117,5 @@ postgresql:
containerPorts:
postgresql: 5432
fullnameOverride: ""
extensions:
postgis: false

0 comments on commit 228004f

Please sign in to comment.