Skip to content

Commit

Permalink
Add back postgrescluster dep to main eoapi chart (#145)
Browse files Browse the repository at this point in the history
* readd eoapi pgcluster dep

* remove needs: block

* change dep repo url

* fix key name error, doh

* add back needs

* helm dependency build

* add back requestRate as default

---------

Co-authored-by: ranchodeluxe <greg.corradini@gmail.com>
  • Loading branch information
ranchodeluxe and ranchodeluxe authored Sep 9, 2024
1 parent 3145165 commit 4b8113b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/helm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
cd helm-chart
helm dependency build eoapi
helm install $RELEASE_NAME \
--namespace default \
-f ./eoapi/values.yaml \
Expand Down Expand Up @@ -234,6 +236,8 @@ jobs:
cd helm-chart
helm dependency build eoapi
helm install $RELEASE_NAME \
--namespace $RELEASE_NAME \
--create-namespace \
Expand Down
14 changes: 7 additions & 7 deletions helm-chart/eoapi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ kubeVersion: ">=1.23.0-0"
# 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.4.12"
version: "0.4.13"

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.3.18"
appVersion: "0.3.19"

#dependencies:
# - name: postgrescluster
# version: 5.5.2
# respository: "https://devseed.com/eoapi-k8s/postgrescluster"
# condition: postgrescluster.enabled
dependencies:
- name: postgrescluster
version: 5.5.2
repository: "https://devseed.com/eoapi-k8s/"
condition: postgrescluster.enabled
6 changes: 3 additions & 3 deletions helm-chart/eoapi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ raster:
minReplicas: 1
maxReplicas: 10
# `type`: "cpu" || "requestRate" || "both"
type: "both"
type: "requestRate"
behaviour:
scaleDown:
stabilizationWindowSeconds: 60
Expand Down Expand Up @@ -241,7 +241,7 @@ stac:
minReplicas: 1
maxReplicas: 10
# `type`: "cpu" || "requestRate" || "both"
type: "both"
type: "requestRate"
behaviour:
scaleDown:
stabilizationWindowSeconds: 60
Expand Down Expand Up @@ -286,7 +286,7 @@ vector:
autoscaling:
# NOTE: to have autoscaling working you'll need to install the `eoapi-support` chart
# see ../../../docs/autoscaling.md for more information
enabled: true
enabled: false
minReplicas: 1
maxReplicas: 10
# `type`: "cpu" || "requestRate" || "both"
Expand Down

0 comments on commit 4b8113b

Please sign in to comment.