Skip to content

Commit

Permalink
add chart version to values.yaml and pass it to the simplecloud deplo…
Browse files Browse the repository at this point in the history
…yment
  • Loading branch information
frederickbaier committed Apr 25, 2023
1 parent 8bb593d commit 4d00b84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/simplecloud/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.1.5
version: 0.1.6

# 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
Expand Down
2 changes: 2 additions & 0 deletions charts/simplecloud/templates/simplecloud-depl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
value: {{ .Values.init.user.password }}
- name: INIT_DB_CONNECTION
value: {{ .Values.init.mongo }}
- name: HELM_VERSION
value: { { .Values.chartVersion } }

---
apiVersion: v1
Expand Down
2 changes: 2 additions & 0 deletions charts/simplecloud/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
appName: "simplecloud"
#Duplicate of version in Chart.yaml
chartVersion: 0.1.6
replicas: 1

image: "registry.registry.svc.cluster.local:5000/simplecloud3:latest"
Expand Down

0 comments on commit 4d00b84

Please sign in to comment.