-
Notifications
You must be signed in to change notification settings - Fork 232
Description
I should preface this by mentioning that I'm quite new to Kitchen and Kitchen-Docker (and Configuration Management as a whole!), so apologies if I've missed something obvious.
When configuring the test environment, the image(s) to be provisioned can have their origin specified via URL. However, if the image is located behind a level of authentication (e.g. proxy network), to my knowledge there is no method of supplying authentication information to bypass whatever layer of security there may be and retrieve the image from beyond.
I noticed that there are username and password variables in the source code (.kitchen.yml) as shown below...
driver:
name: docker
platforms:
- name: dockerfile
driver:
username: dockerfile
password: dockerfile
...but these seem to be unrelated to any sort of image attainment, and even then their nature doesn't appear to be secure enough (hard-coded in source albeit probably storable in environment) to fit the use case.
I was wondering whether such a method of providing authentication existed within this plugin, or if not, whether it could develop into something related to what I've pseudo'd below?
driver:
name: docker
platforms:
- name: example
driver_config:
platform: os
image: path_to_image
image_auth: admin:password