diff --git a/charts/nmrxiv-app/Chart.yaml b/charts/nmrxiv-app/Chart.yaml index e8555ba..07bcda0 100644 --- a/charts/nmrxiv-app/Chart.yaml +++ b/charts/nmrxiv-app/Chart.yaml @@ -18,7 +18,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.5.1 +version: 0.5.2 # 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/charts/nmrxiv-app/templates/scheduler-old.yaml b/charts/nmrxiv-app/templates/scheduler-old.yaml new file mode 100644 index 0000000..500f259 --- /dev/null +++ b/charts/nmrxiv-app/templates/scheduler-old.yaml @@ -0,0 +1,50 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nmrxiv-scheduler +spec: + selector: + matchLabels: + app: nmrxiv-scheduler + template: + metadata: + labels: + app: nmrxiv-scheduler + spec: + containers: + - name: nmrxiv-scheduler + image: europe-west3-docker.pkg.dev/nmrxiv/nmrxiv-dev/nmrxiv-app:latest + imagePullPolicy: Always + command: + - php + args: + - artisan + - schedule:work + resources: {} + volumeMounts: + - name: logs + mountPath: /var/www/html/storage/logs + - name: cache + mountPath: /var/www/html/storage/framework/cache + - name: sessions + mountPath: /var/www/html/storage/framework/sessions + - name: views + mountPath: /var/www/html/storage/framework/views + - name: testing + mountPath: /var/www/html/storage/framework/testing + envFrom: + - configMapRef: + name: nmrxiv-config-map + - secretRef: + name: nmrxiv-secrets + volumes: + - name: logs + emptyDir: {} + - name: cache + emptyDir: {} + - name: testing + emptyDir: {} + - name: sessions + emptyDir: {} + - name: views + emptyDir: {} \ No newline at end of file diff --git a/charts/nmrxiv-app/templates/scheduler.yaml b/charts/nmrxiv-app/templates/scheduler.yaml index 9adc57f..4dcf29a 100644 --- a/charts/nmrxiv-app/templates/scheduler.yaml +++ b/charts/nmrxiv-app/templates/scheduler.yaml @@ -24,7 +24,7 @@ spec: imagePullPolicy: {{ .Values.appImage.pullPolicy }} command: ["/bin/sh", "-c", "{{ .Values.scheduler.cmd }}"] name: {{ printf "%s-scheduler" .Release.Name | quote }} - resources: {} + resources: {{ .Values.scheduler.resources }} volumeMounts: - name: logs mountPath: /var/www/html/storage/logs