kind: Pod
apiVersion: v1
metadata:
  name: aws-sqs-client
  generateName: aws-sqs-client-
  labels:
    app: yaks
    name: aws-sqs-client
spec:
  containers:
    - name: aws-sqs-client
      image: 'tplevko/aws-sqs-client:0.1.0'
      env:
        - name: AWS_ACCOUNT_ID
          value: "${aws-sqs.accountId}"
        - name: AWS_SQS_QUEUE_NAME
          value: "${aws-sqs.queueNameOrArn}"
        - name: AWS_REGION
          value: "${aws-sqs.region}"
        - name: AWS_ACCESS_KEY_ID
          value: "${aws-sqs.accessKey}"
        - name: AWS_SECRET_ACCESS_KEY
          value: "${aws-sqs.secretKey}"
        - name: AWS_SQS_TEXT
          value: "${message}"
      imagePullPolicy: IfNotPresent
  restartPolicy: Never