apiVersion: batch/v1
kind: Job
metadata:
  name: attested-tls-client
  namespace: default
spec:
  template:
    metadata:
      labels:
        app: attested-tls-client
    spec:
      containers:
      - name: attested-tls-client
        image: oeciteam/oe-attested-tls:1.0
        command: ["./non_enc_client/tls_non_enc_client"]
        resources:
          limits:
            kubernetes.azure.com/sgx_epc_mem_in_MiB: "5"
          requests:
            kubernetes.azure.com/sgx_epc_mem_in_MiB: "5"
        args:
          - -server:{{ .Values.server.ip }}
          - -port:12341
      restartPolicy: Never
  backoffLimit: 0
