Removed unused code from openshfit/template.yaml.
@@ -116,59 +116,3 @@ objects:
targetPort: 8090
selector:
app: assisted-service
-#- apiVersion: batch/v1beta1
-# kind: CronJob
-# metadata:
-# name: s3-object-expirer-cron-job
-# namespace: assisted-installer
-# spec:
-# schedule: "@hourly"
-# successfulJobsHistoryLimit: 0
-# failedJobsHistoryLimit: 1
-# jobTemplate:
-# spec:
-# template:
-# spec:
-# containers:
-# - name: s3-object-expirer-job-pod
-# image: ${OBJ_EXPIRER_IMAGE}:${OBJ_EXPIRER_IMAGE_TAG}
-# imagePullPolicy: Always
-# env:
-# - name: AWS_SECRET_ACCESS_KEY
-# valueFrom:
-# secretKeyRef:
-# key: aws_secret_access_key
-# name: assisted-installer-s3
-# - name: AWS_ACCESS_KEY_ID
-# valueFrom:
-# secretKeyRef:
-# key: aws_access_key_id
-# name: assisted-installer-s3
-# - name: AWS_REGION
-# valueFrom:
-# secretKeyRef:
-# key: aws_region
-# name: assisted-installer-s3
-# - name: BUCKET
-# valueFrom:
-# secretKeyRef:
-# key: bucket
-# name: assisted-installer-s3
-# - name: ENDPOINT
-# valueFrom:
-# secretKeyRef:
-# key: endpoint
-# name: assisted-installer-s3
-# args:
-# - /bin/bash
-# - -c
-# - python ./expirer.py
-# resources:
-# limits:
-# cpu: 200m
-# memory: 200Mi
-# requests:
-# cpu: 100m
-# memory: 100Mi
-# restartPolicy: OnFailure
-# backoffLimit: 3
