apiVersion: apps/v1
kind: Deployment
metadata:
  name: frontend
  namespace: sync
spec:
  selector:
    matchLabels:
      app: sync
      tier: frontend
  replicas: 1
  template:
    metadata:
      labels:
        app: sync
        tier: frontend
    spec:
      containers:
      - name: react-client
        image: kwhk/sync-client:v0.1-arm32v7
        imagePullPolicy: Always
        ports:
          - containerPort: 3000
        envFrom:
          - configMapRef:
              name: client-env
