feat(terraform/vault): add RabbitMQ server role
And allow CI to emit it. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
61aed32221
commit
6ba24ad1cb
1 changed files with 13 additions and 1 deletions
|
@ -63,7 +63,9 @@
|
|||
ci = {
|
||||
# This allows the CI to issue certificates for CI purposes.
|
||||
# It should be a relative path.
|
||||
"pki/issue/ci".capabilities = [ "read" "create" "update" ];
|
||||
"issue/ci".capabilities = [ "read" "create" "update" ];
|
||||
# CI is allowed to be a RabbitMQ server.
|
||||
"issue/rabbitmq-server".capabilities = [ "read" "create" "update" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -77,6 +79,16 @@
|
|||
allow_wildcard_certificates = false;
|
||||
ou = [ "Floral Systems Continuous Integration Systems" ];
|
||||
};
|
||||
|
||||
rabbitmq-server = {
|
||||
ttl = "7d";
|
||||
max_ttl = "45d";
|
||||
allowed_domains = [ "amqp.forkos.org" ];
|
||||
allow_subdomains = false;
|
||||
allow_glob_domains = false;
|
||||
allow_wildcard_certificates = false;
|
||||
ou = [ "Floral Systems AMQP Systems" ];
|
||||
};
|
||||
};
|
||||
|
||||
# It's possible to continue the chain but we don't need that here.
|
||||
|
|
Loading…
Reference in a new issue