Sha256: 7ffdc4ce2c267ccbc4b4236f419df593a488d6c2ac187480b4ccced41e0da7f7
Contents?: true
Size: 878 Bytes
Versions: 5
Compression:
Stored size: 878 Bytes
Contents
{{- if .Values.leaseRelease.enabled }} apiVersion: batch/v1beta1 kind: CronJob metadata: metadata: name: {{ include "hyrax.fullname" . }}-lease-task labels: {{- include "hyrax.labels" . | nindent 4 }} spec: schedule: {{ .Values.leaseRelease.schedule | default "0 0 * * *" | quote }} jobTemplate: spec: template: metadata: {{- with .Values.podAnnotations }} annotations: {{- toYaml . | nindent 12 }} {{- end }} spec: containers: - name: lease-release image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} command: - /bin/sh - -c - bundle exec rake hyrax:lease:deactivate_expired restartPolicy: OnFailure {{- end }}
Version data entries
5 entries across 5 versions & 1 rubygems