Skip to content

Commit

Permalink
feat: upgrade to wiremind-kubernetes 7 to support Kube HPAScaleToZero…
Browse files Browse the repository at this point in the history
… feature gate
  • Loading branch information
machine424 committed Oct 6, 2022
1 parent 4d58c00 commit 6d0a204
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 35 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v4.3.0 (2022-10-06)
### Feature
- Support Kube `HPAScaleToZero` feature gate, see [here](https://github.com/wiremind/wiremind-kubernetes/releases/tag/v7.0.0) for more details.

## v4.2.0 (2022-08-02)
### Feature
- Added an environment variable `CHARTREUSE_ALEMBIC_CONFIG_FILE_PATH` to customise alembic configuration file path
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.2.0
4.3.0
9 changes: 0 additions & 9 deletions example/helm-chart/my-example-chart/Chart.lock

This file was deleted.

14 changes: 14 additions & 0 deletions example/helm-chart/my-example-chart/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "my-test-chart.fullname" . }}
labels:
{{ include "my-test-chart.selectorLabels" . | indent 4 }}
spec:
maxReplicas: 5
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "my-test-chart.fullname" . }}
targetCPUUtilizationPercentage: 75
49 changes: 25 additions & 24 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
# pip-compile --no-emit-index-url
# pip-compile --no-emit-index-url setup.py
#
alembic==1.7.4
alembic==1.8.1
# via chartreuse (setup.py)
cachetools==4.2.4
cachetools==5.2.0
# via google-auth
certifi==2021.10.8
certifi==2022.9.24
# via
# kubernetes
# requests
charset-normalizer==2.0.6
charset-normalizer==2.1.1
# via requests
google-auth==2.3.0
google-auth==2.12.0
# via kubernetes
greenlet==1.1.2
greenlet==1.1.3
# via sqlalchemy
idna==3.2
idna==3.4
# via requests
importlib-metadata==4.8.1
importlib-metadata==5.0.0
# via alembic
importlib-resources==5.2.2
importlib-resources==5.9.0
# via alembic
kubernetes==18.20.0
kubernetes==24.2.0
# via wiremind-kubernetes
mako==1.1.5
mako==1.2.3
# via alembic
markupsafe==2.0.1
markupsafe==2.1.1
# via mako
oauthlib==3.1.1
oauthlib==3.2.1
# via requests-oauthlib
psycopg2==2.9.1
psycopg2==2.9.3
# via chartreuse (setup.py)
pyasn1==0.4.8
# via
Expand All @@ -42,31 +42,32 @@ pyasn1-modules==0.2.8
# via google-auth
python-dateutil==2.8.2
# via kubernetes
pyyaml==5.4.1
pyyaml==6.0
# via kubernetes
requests==2.26.0
requests==2.28.1
# via
# kubernetes
# requests-oauthlib
requests-oauthlib==1.3.0
requests-oauthlib==1.3.1
# via kubernetes
rsa==4.7.2
rsa==4.9
# via google-auth
six==1.16.0
# via
# google-auth
# kubernetes
# python-dateutil
sqlalchemy==1.4.25
sqlalchemy==1.4.41
# via alembic
urllib3==1.26.7
urllib3==1.26.12
# via
# kubernetes
# requests
websocket-client==1.2.1
websocket-client==1.4.1
# via kubernetes
wiremind-kubernetes==6.3.5
wiremind-kubernetes==7.0.0
# via chartreuse (setup.py)
zipp==3.6.0
zipp==3.8.1
# via
# importlib-metadata
# importlib-resources
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
install_requires=[
"alembic==1.*",
"psycopg2==2.*",
"wiremind-kubernetes==6.*,>=6.3.5",
"wiremind-kubernetes~=7.0",
],
extras_require={
"dev": extra_require_dev,
Expand Down

0 comments on commit 6d0a204

Please sign in to comment.