aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/sensu-client.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-15 06:19:13 +0000
committerGerrit Code Review <review@openstack.org>2017-07-15 06:19:13 +0000
commit2185b835602ffb276b8142db68d472611fdf127a (patch)
tree50c351054ae33f3750e2a3a0a218432ddc6dcf02 /docker/services/sensu-client.yaml
parent07a5fe1ba66cbad5afafbbd30d2d78129cb90bae (diff)
parente76d84f784d27a7a2d9e5f3a8b019f8254cb4d6c (diff)
Merge "Use a single configuration file for specifying docker containers."
Diffstat (limited to 'docker/services/sensu-client.yaml')
-rw-r--r--docker/services/sensu-client.yaml16
1 files changed, 2 insertions, 14 deletions
diff --git a/docker/services/sensu-client.yaml b/docker/services/sensu-client.yaml
index ad2fc256..b64231cd 100644
--- a/docker/services/sensu-client.yaml
+++ b/docker/services/sensu-client.yaml
@@ -4,17 +4,11 @@ description: >
Containerized Sensu client service
parameters:
- DockerNamespace:
- description: namespace
- default: 'tripleoupstream'
- type: string
DockerSensuClientImage:
description: image
- default: 'centos-binary-sensu-client:latest'
type: string
DockerSensuConfigImage:
description: The container image to use for the sensu config_volume
- default: 'centos-binary-sensu-client:latest'
type: string
EndpointMap:
default: {}
@@ -107,10 +101,7 @@ outputs:
config_volume: sensu
puppet_tags: sensu_rabbitmq_config,sensu_client_config,sensu_check_config,sensu_check
step_config: *step_config
- config_image:
- list_join:
- - '/'
- - [ {get_param: DockerNamespace}, {get_param: DockerSensuConfigImage} ]
+ config_image: {get_param: DockerSensuConfigImage}
kolla_config:
/var/lib/kolla/config_files/sensu-client.json:
command: /usr/bin/sensu-client -d /etc/sensu/conf.d/ -l /var/log/sensu/sensu-client.log
@@ -126,10 +117,7 @@ outputs:
docker_config:
step_3:
sensu_client:
- image:
- list_join:
- - '/'
- - [ {get_param: DockerNamespace}, {get_param: DockerSensuClientImage} ]
+ image: {get_param: DockerSensuClientImage}
net: host
privileged: true
# NOTE(mmagr) kolla image changes the user to 'sensu', we need it