apiVersion: batch/v1
kind: Job
metadata:
  name: microsoft-teams-notification
spec:
  template:
    spec:
      containers:
      - name: microsoft-teams-notification
        image: bouyguestelecom/docker-notifier
        env:
         - name: NOTIFICATION_TYPE
           value: Teams
         - name: WEBHOOK_URL
           value: <webhook_url>
         - name: MESSAGE_TITLE
           value: Message title
         - name: MESSAGE_CONTENT
           value: Message sent from kubernetes
      restartPolicy: Never
