From 228004fe48b8f267814b404dd009a7ca166eb495 Mon Sep 17 00:00:00 2001 From: avouacr Date: Wed, 5 Jul 2023 09:36:35 +0000 Subject: [PATCH] feat(shiny): limits for init container --- charts/shiny/Chart.yaml | 2 +- charts/shiny/templates/deployment.yaml | 4 ++++ charts/shiny/values.yaml | 5 +++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/charts/shiny/Chart.yaml b/charts/shiny/Chart.yaml index 8643ea3..5df5523 100644 --- a/charts/shiny/Chart.yaml +++ b/charts/shiny/Chart.yaml @@ -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 diff --git a/charts/shiny/templates/deployment.yaml b/charts/shiny/templates/deployment.yaml index c314ffd..32cdfb2 100644 --- a/charts/shiny/templates/deployment.yaml +++ b/charts/shiny/templates/deployment.yaml @@ -120,6 +120,10 @@ spec: - name: wait-for-postgresql image: "alpine" imagePullPolicy: IfNotPresent + resources: + limits: + cpu: 100m + memory: 128Mi command: - sh - -c diff --git a/charts/shiny/values.yaml b/charts/shiny/values.yaml index da52149..174e6d4 100644 --- a/charts/shiny/values.yaml +++ b/charts/shiny/values.yaml @@ -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 @@ -118,3 +117,5 @@ postgresql: containerPorts: postgresql: 5432 fullnameOverride: "" + extensions: + postgis: false