apiVersion: apps/v1
kind: Deployment
metadata:
  name: notify
  labels:
    app: notify
    app.kubernetes.io/name: notify
    app.kubernetes.io/version: "1.0"
spec:
  replicas: 1
  selector:
    matchLabels:
      app: "notify"
  template:
    metadata:
      labels:
        app: "notify"
    spec:
      serviceAccountName: k8s-job-notifier-sa
      containers:
      - name: notify
        image: 759549166074.dkr.ecr.ap-northeast-1.amazonaws.com/job_notifier
        imagePullPolicy: Always
        env:
          - name: DEFAULT_CHANNEL
            value: "#bot_sandbox"
          - name: SLACK_DEFAULT_ENABLED
            value: "false"

