You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.4 KiB

  1. # k8s-integration-tests
  2. *Work In Progress*
  3. ## Test environment variables
  4. ### Common
  5. Variable | Description | Required | Default
  6. --------------------- | -------------------------------------- | ---------- | --------
  7. `TEST_ID` | A unique execution ID for this test | Yes |
  8. `KUBE_NETWORK_PLUGIN` | The network plugin (calico or flannel) | Yes |
  9. `PRIVATE_KEY_FILE` | The path to the SSH private key file | No |
  10. ### AWS Tests
  11. Variable | Description | Required | Default
  12. --------------------- | ----------------------------------------------- | ---------- | ---------
  13. `AWS_ACCESS_KEY` | The Amazon Access Key ID | Yes |
  14. `AWS_SECRET_KEY` | The Amazon Secret Access Key | Yes |
  15. `AWS_AMI_ID` | The AMI ID to deploy | Yes |
  16. `AWS_KEY_PAIR_NAME` | The name of the EC2 key pair to use | Yes |
  17. `AWS_SECURITY_GROUP` | The EC2 Security Group to use | No | default
  18. `AWS_REGION` | The EC2 region | No | eu-central-1
  19. #### Use private ssh key
  20. ##### Key
  21. ```bash
  22. openssl pkcs12 -in gce-secure.p12 -passin pass:notasecret -nodes -nocerts | openssl rsa -out gce-secure.pem
  23. cat gce-secure.pem |base64 -w0 > GCE_PEM_FILE`
  24. ```