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:
parent
2564b6aecd
commit
83d0fc4a00
21
docker/certmonger/Dockerfile.j2
Normal file
21
docker/certmonger/Dockerfile.j2
Normal 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 %}
|
@ -57,6 +57,7 @@ _PROFILE_OPTS = [
|
|||||||
cfg.ListOpt('infra',
|
cfg.ListOpt('infra',
|
||||||
default=[
|
default=[
|
||||||
'ceph',
|
'ceph',
|
||||||
|
'certmonger',
|
||||||
'cron',
|
'cron',
|
||||||
'elasticsearch',
|
'elasticsearch',
|
||||||
'etcd',
|
'etcd',
|
||||||
|
4
releasenotes/notes/add-certmonger-0bf3a37089c5c267.yaml
Normal file
4
releasenotes/notes/add-certmonger-0bf3a37089c5c267.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Add certmonger image.
|
Loading…
x
Reference in New Issue
Block a user