Add certmonger container

Certmonger is a daemon that handles the lifecycle of TLS certificates.
This adds a simple container with certmonger installed.

Change-Id: I94af686d73e5d58c2dc020f97edf69e165e26b73
This commit is contained in:
Juan Antonio Osorio Robles 2017-10-11 07:27:17 +00:00
parent 2564b6aecd
commit 83d0fc4a00
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,21 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block certmonger_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set certmonger_packages = [
'certmonger',
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set certmonger_packages = [
'certmonger'
] %}
{% endif %}
{{ macros.install_packages(certmonger_packages | customizable("packages")) }}
{% block certmonger_footer %}{% endblock %}
{% block footer %}{% endblock %}

View File

@ -57,6 +57,7 @@ _PROFILE_OPTS = [
cfg.ListOpt('infra',
default=[
'ceph',
'certmonger',
'cron',
'elasticsearch',
'etcd',

View File

@ -0,0 +1,4 @@
---
features:
- |
Add certmonger image.