diff --git a/webwork/Chart.yaml b/webwork/Chart.yaml index 27c2612..f440ab1 100644 --- a/webwork/Chart.yaml +++ b/webwork/Chart.yaml @@ -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.6 +version: 0.1.9 # 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 diff --git a/webwork/templates/_helpers.tpl b/webwork/templates/_helpers.tpl index 77f3144..f006a09 100644 --- a/webwork/templates/_helpers.tpl +++ b/webwork/templates/_helpers.tpl @@ -115,6 +115,8 @@ securityContext: image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: +- name: WEBWORK_SECRET + value: {{ .Values.secret | quote }} - name: WEBWORK_DB_DRIVER value: {{ .Values.db.db.driver | quote }} - name: WEBWORK_DB_HOST diff --git a/webwork/templates/cronjob.yaml b/webwork/templates/cronjob.yaml index 1070507..38c66ef 100644 --- a/webwork/templates/cronjob.yaml +++ b/webwork/templates/cronjob.yaml @@ -20,7 +20,7 @@ spec: containers: - name: {{ .Chart.Name }}-classlist-cronjob {{- include "webwork.app.spec" . | indent 12 }} - args: ['./webwork2/lib/LTIAdvantage/Cron/lti_update_classlist.pl'] + args: ['./lib/LTI1p3/Cron/lti_update_classlist.pl'] volumes: {{- include "webwork.app.mounts" . | indent 10 }} {{- end }} @@ -48,7 +48,7 @@ spec: containers: - name: {{ .Chart.Name }}-grades-cronjob {{- include "webwork.app.spec" . | indent 12 }} - args: ['./webwork2/lib/LTIAdvantage/Cron/lti_update_grades.pl'] + args: ['./lib/LTI1p3/Cron/lti_update_grades.pl'] volumes: {{- include "webwork.app.mounts" . | indent 10 }} {{- end }} diff --git a/webwork/values.yaml b/webwork/values.yaml index 399258c..d52e3ce 100644 --- a/webwork/values.yaml +++ b/webwork/values.yaml @@ -16,6 +16,8 @@ fullnameOverride: "" rootUrl: http://localhost timezone: America/Vancouver systemTimezone: America/Vancouver +# mojolicious secret passphrase for security features +secret: '4zaMnJwCFCFKXMVr2mrtMiudEksy4t4ncmrW4RAo7zmqgqkntPXFWYAauXkJLP9q' rHost: "" smtp: server: localhost