Sha256: bd8bdea2abb3bbc98603fb63c2ccd1959f420ee8f637dd4329a4d29b0dcbdd05
Contents?: true
Size: 873 Bytes
Versions: 9
Compression:
Stored size: 873 Bytes
Contents
{{- if .Values.leaseRelease.enabled }} apiVersion: batch/v1 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
9 entries across 9 versions & 1 rubygems