apiVersion: apps/v1
kind: Deployment
metadata:
  name: kds
spec:
  replicas: 1
  selector:
    matchLabels:
      app: kds
  template:
    metadata:
      labels:
        app: kds
    spec:
      containers:
        - name: kds
          image: tommy351/kubenvoy
          imagePullPolicy: Never
          env:
            - name: ENVOY_NODE
              value: test-id
            - name: LOG_LEVEL
              value: debug
        - name: envoy
          image: envoyproxy/envoy:37bfd8ac347955661af695a417492655b21939dc
          volumeMounts:
            - name: config
              mountPath: /etc/envoy
      serviceAccountName: kubenvoy
      volumes:
        - name: config
          configMap:
            name: envoy
