#apiVersion: batch/v1
#kind: CronJob
#metadata:
#  name: google-alert-cronjob
#  namespace: security
#spec:
#  successfulJobsHistoryLimit: 1
#  failedJobsHistoryLimit: 1
#  schedule: "0 * * * *"
#  concurrencyPolicy: Forbid
#  jobTemplate:
#    spec:
#      template:
#        spec:
#          containers:
#            - name:  google-alert-container
#              image: alpine:latest
#              command: [ "/bin/sh", "-c" ]
#              args:
#                - apk update && apk add curl && curl -X POST -s -H "Authorization:Bearer B5HjLO0BYiTxqxymgn5cYICYOGMk1UFb" http://security-service.security.svc.cluster.local:8867/inter/check-google-alerts
#              resources:
#                requests:
#                  cpu: 250m
#                  memory: 512Mi
#                limits:
#                  cpu: 500m
#                  memory: 1Gi
#          restartPolicy: OnFailure
---
#apiVersion: batch/v1
#kind: CronJob
#metadata:
#  name: port-scan-cronjob
#  namespace: security
#spec:
#  successfulJobsHistoryLimit: 1
#  failedJobsHistoryLimit: 1
#  schedule: "0 0 * * *"
#  concurrencyPolicy: Forbid
#  jobTemplate:
#    spec:
#      template:
#        spec:
#          containers:
#            - name:  port-scan-container
#              image: alpine:latest
#              command: [ "/bin/sh", "-c" ]
#              args:
#                - apk update && apk add curl && curl -X POST -s -H "Authorization:Bearer B5HjLO0BYiTxqxymgn5cYICYOGMk1UFb" http://security-service.security.svc.cluster.local:8867/inter/check-ports
#              resources:
#                requests:
#                  cpu: 50m
#                  memory: 50Mi
#                limits:
#                  cpu: 100m
#                  memory: 100Mi
#          restartPolicy: OnFailure
#---
#apiVersion: batch/v1
#kind: CronJob
#metadata:
#  name: download-alert-cronjob
#  namespace: security
#spec:
#  successfulJobsHistoryLimit: 1
#  failedJobsHistoryLimit: 1
#  schedule: "*/10 * * * *"
#  concurrencyPolicy: Forbid
#  jobTemplate:
#    spec:
#      template:
#        spec:
#          containers:
#            - name:  download-alter-container
#              image: alpine:latest
#              command: [ "/bin/sh", "-c" ]
#              args:
#                - apk update && apk add curl && curl -X POST -s -H "Authorization:Bearer B5HjLO0BYiTxqxymgn5cYICYOGMk1UFb" http://security-service.security.svc.cluster.local:8867/inter/check-downloads
#              resources:
#                requests:
#                  cpu: 50m
#                  memory: 50Mi
#                limits:
#                  cpu: 100m
#                  memory: 100Mi
#          restartPolicy: OnFailure
#---
#apiVersion: batch/v1
#kind: CronJob
#metadata:
#  name: monthly-report-cronjob
#  namespace: security
#spec:
#  successfulJobsHistoryLimit: 1
#  failedJobsHistoryLimit: 1
#  schedule: "0 0 1 * *"
#  concurrencyPolicy: Forbid
#  jobTemplate:
#    spec:
#      template:
#        spec:
#          containers:
#            - name:  monthly-report-container
#              image: alpine:latest
#              command: [ "/bin/sh", "-c" ]
#              args:
#                - apk update && apk add curl && curl -X POST -s -H "Authorization:Bearer B5HjLO0BYiTxqxymgn5cYICYOGMk1UFb" http://security-service.security.svc.cluster.local:8867/inter/monthly-report
#              resources:
#                requests:
#                  cpu: 50m
#                  memory: 50Mi
#                limits:
#                  cpu: 100m
#                  memory: 100Mi
#          restartPolicy: OnFailure
#---
#apiVersion: batch/v1
#kind: CronJob
#metadata:
#  name: gmail-lock-cronjob
#  namespace: security
#spec:
#  successfulJobsHistoryLimit: 1
#  failedJobsHistoryLimit: 1
#  schedule: "0 * * * *"
#  concurrencyPolicy: Forbid
#  jobTemplate:
#    spec:
#      template:
#        spec:
#          containers:
#            - name:  gmail-lock-container
#              image: alpine:latest
#              command: [ "/bin/sh", "-c" ]
#              args:
#                - apk update && apk add curl && curl -X POST -s -H "Authorization:Bearer B5HjLO0BYiTxqxymgn5cYICYOGMk1UFb" http://security-service.security.svc.cluster.local:8867/inter/gmail-lock
#              resources:
#                requests:
#                  cpu: 50m
#                  memory: 50Mi
#                limits:
#                  cpu: 100m
#                  memory: 100Mi
#          restartPolicy: OnFailure
#---
#apiVersion: batch/v1
#kind: CronJob
#metadata:
#  name: up-docs-cronjob
#  namespace: security
#spec:
#  successfulJobsHistoryLimit: 1
#  failedJobsHistoryLimit: 1
#  schedule: "0 1 * * *"
#  concurrencyPolicy: Forbid
#  jobTemplate:
#    spec:
#      template:
#        spec:
#          containers:
#            - name:  up-docs-container
#              image: alpine:latest
#              command: [ "/bin/sh", "-c" ]
#              args:
#                - apk update && apk add curl && curl -X POST -s -H "Authorization:Bearer B5HjLO0BYiTxqxymgn5cYICYOGMk1UFb" http://security-service.security.svc.cluster.local:8867/inter/up-docs
#              resources:
#                requests:
#                  cpu: 50m
#                  memory: 50Mi
#                limits:
#                  cpu: 100m
#                  memory: 100Mi
#          restartPolicy: OnFailure
#
#---
#apiVersion: batch/v1
#kind: CronJob
#metadata:
#  name: doc-check-cronjob
#  namespace: security
#spec:
#  successfulJobsHistoryLimit: 1
#  failedJobsHistoryLimit: 1
#  schedule: "20 1 * * *"
#  concurrencyPolicy: Forbid
#  jobTemplate:
#    spec:
#      template:
#        spec:
#          containers:
#            - name:  doc-check-container
#              image: alpine:latest
#              command: [ "/bin/sh", "-c" ]
#              args:
#                - apk update && apk add curl && curl -X POST -s -H "Authorization:Bearer B5HjLO0BYiTxqxymgn5cYICYOGMk1UFb" http://security-service.security.svc.cluster.local:8867/inter/doc-check
#              resources:
#                requests:
#                  cpu: 50m
#                  memory: 50Mi
#                limits:
#                  cpu: 100m
#                  memory: 100Mi
#          restartPolicy: OnFailure
#
#---
#apiVersion: batch/v1
#kind: CronJob
#metadata:
#  name: company-scan-cronjob
#  namespace: security
#spec:
#  successfulJobsHistoryLimit: 1
#  failedJobsHistoryLimit: 1
#  schedule: "0 2,10 * * *"
#  concurrencyPolicy: Forbid
#  jobTemplate:
#    spec:
#      template:
#        spec:
#          containers:
#            - name:  company-scan-container
#              image: alpine:latest
#              command: [ "/bin/sh", "-c" ]
#              args:
#                - apk update && apk add curl && curl -X POST -s -H "Authorization:Bearer B5HjLO0BYiTxqxymgn5cYICYOGMk1UFb" http://security-service.security.svc.cluster.local:8867/inter/company
#              resources:
#                requests:
#                  cpu: 50m
#                  memory: 50Mi
#                limits:
#                  cpu: 100m
#                  memory: 100Mi
#          restartPolicy: OnFailure
#---
#apiVersion: batch/v1
#kind: CronJob
#metadata:
#  name: fsc-scan-cronjob
#  namespace: security
#spec:
#  successfulJobsHistoryLimit: 1
#  failedJobsHistoryLimit: 1
#  schedule: "10 2,10 * * *"
#  concurrencyPolicy: Forbid
#  jobTemplate:
#    spec:
#      template:
#        spec:
#          containers:
#            - name:  fsc-scan-container
#              image: alpine:latest
#              command: [ "/bin/sh", "-c" ]
#              args:
#                - apk update && apk add curl && curl -X POST -s -H "Authorization:Bearer B5HjLO0BYiTxqxymgn5cYICYOGMk1UFb" http://security-service.security.svc.cluster.local:8867/inter/fsc
#              resources:
#                requests:
#                  cpu: 50m
#                  memory: 50Mi
#                limits:
#                  cpu: 100m
#                  memory: 100Mi
#          restartPolicy: OnFailure

