Skip to content

Commit

Permalink
Merge pull request cloudfoundry#38 from orange-cloudfoundry/master
Browse files Browse the repository at this point in the history
Accept an array of certs
  • Loading branch information
Aakash Shah authored Mar 25, 2020
2 parents 762863d + 8a5b6c6 commit ef7220d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions jobs/ca_certs/spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,15 @@ properties:
-----BEGIN CERTIFICATE-----
MIIClTCCAf4CCQDc6hJtvGB8RjANBgkqhkiG9w0BAQUFADCBjjELMAk...
-----END CERTIFICATE-----
cert_list:
description: "Array of concatenated set of certificates in PEM format"
default: []
example:
- |
-----BEGIN CERTIFICATE-----
MIIClTCCAf4CCQDc6hJtvGB8RjANBgkqhkiG9w0BAQUFADCBjjELMAk...
-----END CERTIFICATE-----
- |
-----BEGIN CERTIFICATE-----
MIIClTCCAf4CCQDc6hJtvGB8RjANBgkqhkiG9w0BAQUFADCBjjELMAk...
-----END CERTIFICATE-----
3 changes: 3 additions & 0 deletions jobs/ca_certs/templates/certs.erb
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<%= p("certs", "") %>
<% p("cert_list", []).each do |cert| %>
<%= cert %>
<% end %>

0 comments on commit ef7220d

Please sign in to comment.