apiVersion: v1
kind: Pod
metadata:
  name: greeter-client-istio
spec:
  containers:
  - name: greeter-client-istio
    image: gcr.io/grpc-authentication-demo2019/greeter_client:latest
    env:
    # Resolve backend IP using cluster-internal DNS name of the backend service
    - name: GREETER_SERVICE_TARGET
      value: "greeter-server.default.svc.cluster.local:8000"
    - name: GREETER_CLIENT_SECURITY
      value: "insecure"
  restartPolicy: Never
