diff options
author | Ian Main <imain@redhat.com> | 2017-07-12 11:41:57 +1200 |
---|---|---|
committer | Steve Baker <sbaker@redhat.com> | 2017-07-14 22:23:02 +0000 |
commit | e76d84f784d27a7a2d9e5f3a8b019f8254cb4d6c (patch) | |
tree | 60a70ecea0270e721011460a817ba441a7989a2a /docker/services/ec2-api.yaml | |
parent | d1fcf403dc85b25882c25d36b36ea97b56f05186 (diff) |
Use a single configuration file for specifying docker containers.
This removes the default container names from all the templates
and uses a single environment file to specify the full container
name and registry from which to pull. Also does away with most
of DockerNamespace.
Change-Id: Ieaedac33f0a25a352ab432cdb00b5c888be4ba27
Depends-On: Ibc108871ebc2beb1baae437105b2da1d0123ba60
Co-Authored-By: Dan Prince <dprince@redhat.com>
Co-Authored-By: Steve Baker <sbaker@redhat.com>
Diffstat (limited to 'docker/services/ec2-api.yaml')
-rw-r--r-- | docker/services/ec2-api.yaml | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/docker/services/ec2-api.yaml b/docker/services/ec2-api.yaml index e02a1469..cd8d2f55 100644 --- a/docker/services/ec2-api.yaml +++ b/docker/services/ec2-api.yaml @@ -4,17 +4,11 @@ description: > OpenStack containerized EC2 API service parameters: - DockerNamespace: - description: namespace - default: 'tripleoupstream' - type: string DockerEc2ApiImage: description: image - default: 'centos-binary-ec2-api:latest' type: string DockerEc2ApiConfigImage: description: The container image to use for the ec2_api config_volume - default: 'centos-binary-ec2-api:latest' type: string EndpointMap: default: {} @@ -67,10 +61,7 @@ outputs: config_volume: ec2_api puppet_tags: ec2api_api_paste_ini,ec2api_config step_config: *step_config - config_image: - list_join: - - '/' - - [ {get_param: DockerNamespace}, {get_param: DockerEc2ApiConfigImage} ] + config_image: {get_param: DockerEc2ApiConfigImage} kolla_config: /var/lib/kolla/config_files/ec2_api.json: command: /usr/bin/ec2-api @@ -98,10 +89,7 @@ outputs: # db sync runs before permissions set by kolla_config step_2: ec2_api_init_logs: - image: &ec2_api_image - list_join: - - '/' - - [ {get_param: DockerNamespace}, {get_param: DockerEc2ApiImage} ] + image: &ec2_api_image {get_param: DockerEc2ApiImage} privileged: false user: root volumes: |