Skip to content

Commit

Permalink
Merge pull request #186 from kikkomep/k8s-release/update-chart-to-0.5.0
Browse files Browse the repository at this point in the history
Update chart to 0.5.0
  • Loading branch information
kikkomep authored Dec 22, 2021
2 parents 59ac759 + 16ed3d2 commit 22b034f
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 4 deletions.
7 changes: 5 additions & 2 deletions k8s/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 10.1.1
digest: sha256:386060b432509d7925e2d620559d44d0efbe869184049da1fc12cfd86b0b5550
generated: "2021-04-25T15:26:03.079993489Z"
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 15.3.2
digest: sha256:e69b28d1eb2d1b5e7fef36eb02b99cf305f52af14e4d2bda033eaf7544ef498b
generated: "2021-10-21T16:46:24.046062+02:00"
2 changes: 1 addition & 1 deletion k8s/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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.4.0
version: 0.5.0

# 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
10 changes: 10 additions & 0 deletions k8s/pvc-backend-data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data-api-workflows
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
5 changes: 5 additions & 0 deletions k8s/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ Define volumes shared by some pods.
- name: lifemonitor-settings
secret:
secretName: {{ include "chart.fullname" . }}-settings
- name: lifemonitor-data
persistentVolumeClaim:
claimName: data-{{- .Release.Name -}}-workflows
{{- end -}}

{{/*
Expand All @@ -122,4 +125,6 @@ Define mount points shared by some pods.
- name: lifemonitor-settings
mountPath: "/lm/settings.conf"
subPath: settings.conf
- name: lifemonitor-data
mountPath: "/var/data/lm"
{{- end -}}
4 changes: 3 additions & 1 deletion k8s/templates/job-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ kind: Job
metadata:
name: {{ include "chart.fullname" . }}-init
labels:
{{- include "chart.labels" . | nindent 4 }}
app.kubernetes.io/name: {{ include "chart.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
template:
spec:
Expand Down
1 change: 1 addition & 0 deletions k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ lifemonitor:

persistence:
storageClass: *storageClass
storageSize: 8Gi

# Enable/Disable the pod to test connection to the LifeMonitor back-end
enableTestConnection: false
Expand Down

0 comments on commit 22b034f

Please sign in to comment.