Skip to content

Commit

Permalink
adding trusted certs back fixes #118
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonskie authored and Tom Mitchell committed Mar 22, 2021
1 parent 52b0229 commit 844dc04
Show file tree
Hide file tree
Showing 40 changed files with 42 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hooks/blueprint
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ merge=( bosh-deployment/bosh.yml
bosh-deployment/credhub.yml
bosh-deployment/misc/dns.yml
bosh-deployment/misc/ntp.yml
bosh-deployment/misc/proxy.yml )
bosh-deployment/misc/proxy.yml
bosh-deployment/misc/trusted-certs.yml )

# Check for ops features
declare -a features
Expand Down Expand Up @@ -163,7 +164,7 @@ for want in ${GENESIS_REQUESTED_FEATURES}; do
# when using warden we want the bosh-lite.yml to be merged
# this will add and configure the garden deamon
merge+=( bosh-deployment/bosh-lite.yml
"overlay/cpis/${want}.yml"
"overlay/cpis/${want}.yml"
overlay/no-proto.yml )
;;

Expand Down
1 change: 1 addition & 0 deletions overlay/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ bosh-variables:
http_proxy: (( grab params.http_proxy || "" ))
https_proxy: (( grab params.https_proxy || "" ))
no_proxy: (( grab params.no_proxy || "" ))
trusted_ca_cert: (( grab params.trusted_certs || "" ))

params:
bosh_hostname: bosh
Expand Down
1 change: 1 addition & 0 deletions spec/results/all-addons-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/all-addons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/all-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: test-trusted-certs
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/aws-iam-profile-s3-blobstore-iam-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/aws-iam-profile-s3-blobstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/aws-iam-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/aws-s3-blobstore-iam-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/aws-s3-blobstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/blacksmith-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/external-db-no-tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/external-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/google.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/node-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/openstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/ops-override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-all-params-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-all-params-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-all-params-google.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-all-params-source-vsphere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-all-params-vsphere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-aws-iam-profile-s3-blobstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-aws-iam-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-aws-s3-blobstore-iam-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-aws-s3-blobstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-google.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-openstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/proto-vsphere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/skip-op-users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/vault-credhub-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/vsphere-s3-blobstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/vsphere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down
1 change: 1 addition & 0 deletions spec/results/warden-vsphere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ instance_groups:
ssl:
cert: <!{meta.vault}/ssl/server:certificate!>
key: <!{meta.vault}/ssl/server:key!>
trusted_certs: ""
user_management:
provider: uaa
uaa:
Expand Down

0 comments on commit 844dc04

Please sign in to comment.