Skip to content

Commit 42196ac

Browse files
Fixed test and added test and remove to readme
1 parent e678909 commit 42196ac

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ The helm chart is released to [ghcr.io](ghcr.io) automatically by [Github action
2424
3. Deploy to k8s `helm install webapp webapp-python/helm`
2525
If you want to customize the deployment, please check the [values file](./charts/webapp/values.yaml).
2626

27+
#### Optional
28+
- Test helm deployment: `helm test webapp`
29+
- Uninstall deployment: `helm uninstall webapp`
30+
2731
## Docker image build
2832
The Docker image is build and pushed to [ghcr.io](ghcr.io) automatically by [Github actions](https://github.com/matandomuertos/webapp-python/actions).
2933

charts/webapp/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.0.2
18+
version: 0.0.3
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/webapp/templates/tests/test-connection.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ spec:
1111
- name: wget
1212
image: busybox
1313
command: ['wget']
14-
args: ['{{ include "helm.fullname" . }}:{{ .Values.service.port }}']
14+
args: ['{{ include "helm.fullname" . }}:{{ .Values.service.port }}/-/health']
1515
restartPolicy: Never

0 commit comments

Comments
 (0)