Skip to content

Commit ef7220d

Browse files
author
Aakash Shah
authored
Merge pull request #38 from orange-cloudfoundry/master
Accept an array of certs
2 parents 762863d + 8a5b6c6 commit ef7220d

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

jobs/ca_certs/spec

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,15 @@ properties:
1616
-----BEGIN CERTIFICATE-----
1717
MIIClTCCAf4CCQDc6hJtvGB8RjANBgkqhkiG9w0BAQUFADCBjjELMAk...
1818
-----END CERTIFICATE-----
19+
cert_list:
20+
description: "Array of concatenated set of certificates in PEM format"
21+
default: []
22+
example:
23+
- |
24+
-----BEGIN CERTIFICATE-----
25+
MIIClTCCAf4CCQDc6hJtvGB8RjANBgkqhkiG9w0BAQUFADCBjjELMAk...
26+
-----END CERTIFICATE-----
27+
- |
28+
-----BEGIN CERTIFICATE-----
29+
MIIClTCCAf4CCQDc6hJtvGB8RjANBgkqhkiG9w0BAQUFADCBjjELMAk...
30+
-----END CERTIFICATE-----

jobs/ca_certs/templates/certs.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
<%= p("certs", "") %>
2+
<% p("cert_list", []).each do |cert| %>
3+
<%= cert %>
4+
<% end %>

0 commit comments

Comments
 (0)