---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: gateway
  labels:
    app: gateway
spec:
  replicas: 1
  selector:
    matchLabels:
      app: gateway
  template:
    metadata:
      labels:
        app: gateway
    spec:
      nodeSelector:
        kubernetes.io/hostname: vm-201
      tolerations:
      - key: "gw"
        operator: "Equal"
        value: "true"
        effect: "NoSchedule"
      containers:
        - name: bird
          image: registry.nordix.org/cloud-native/nfe-bird2:poc-0
          imagePullPolicy: IfNotPresent
          securityContext:
            privileged: true
          command: [ "/bin/bash", "-c", "--" ]
          args: [ "while true; do sleep 30; done;" ]

