diff --git a/chart/cas-cif/templates/bucket-provisioning-job.yaml b/chart/cas-cif/templates/bucket-provisioning-job.yaml deleted file mode 100644 index 636cfad62a..0000000000 --- a/chart/cas-cif/templates/bucket-provisioning-job.yaml +++ /dev/null @@ -1,48 +0,0 @@ -{{- if not .Values.db.restore.enabled }} -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ template "cas-cif.fullname" . }}-backup-bucket-provisioner-{{ randAlphaNum 5 | lower }} -spec: - parallelism: 1 - completions: 1 - backoffLimit: 0 - template: - metadata: - name: {{ template "cas-cif.fullname" . }}-backup-bucket-provisioner - labels: {{ include "cas-cif.labels" . | nindent 8 }} - spec: - activeDeadlineSeconds: 1200 - imagePullSecrets: {{ include "cas-cif.imagePullSecrets" . | nindent 8 }} - containers: - - name: bucket-provisioner - resources: - limits: - cpu: 100m - memory: 256Mi - requests: - cpu: 100m - memory: 256Mi - image: {{ .Values.image.casShelf.repository }}:{{ .Values.image.casShelf.tag }} - imagePullPolicy: {{ default .Values.defaultImagePullPolicy .Values.image.casShelf.pullPolicy }} - env: - - name: TFC_TOKEN - valueFrom: - secretKeyRef: - key: token - name: terraform-cloud-workspace - - name: TFC_WORKSPACE_ID - valueFrom: - secretKeyRef: - key: workspace_id - name: terraform-cloud-workspace - command: - - /usr/bin/env - - bash - - -c - - | - set -xeuo pipefail; - /script.sh {{ .Release.Namespace | quote }} cif-backups; - /script.sh {{ .Release.Namespace | quote }} cif-documents; - restartPolicy: Never -{{- end }}