Skip to content

Commit

Permalink
Removed no-nats-tls feature
Browse files Browse the repository at this point in the history
[Breaking Changes]

* Removed the no-nats-tls feature and supporting manifest fragments, as
  nats-tls is the only supported nats in Cloud Foundry.
  • Loading branch information
dennisjbell committed Jan 3, 2024
1 parent 2a76d8d commit a65c796
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 54 deletions.
11 changes: 4 additions & 7 deletions hooks/blueprint
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@ features::validate() {
(cflinuxfs3)
features+=( "$want" )
;;
(no-nats-tls)
abort "The #c{no-nats-tls} feature is no longer able to be supported."
;;
(local-ha-db)
abort "The #c{local-ha-db} feature is no longer able to be supported." \
"\n\tConsider using external database for high-availability."
Expand Down Expand Up @@ -443,7 +446,7 @@ features::validate() {
features+=( "$want" )
db_specified=1;
;;
(bare|partitioned-network|haproxy|tls|no-nats-tls|self-signed|isolation-segments)
(bare|partitioned-network|haproxy|tls|self-signed|isolation-segments)
features+=( "$want" )
;;
(minio-blobstore|aws-blobstore|aws-blobstore-iam|azure-blobstore|gcp-blobstore)
Expand Down Expand Up @@ -852,15 +855,9 @@ features::process() {

if ! want_feature "bare"
then
want_feature "no-nats-tls" ||
manifests+=( "overlay/nats-tls.yml" )

if want_feature '+migrated-v1-env' && ! want_feature 'v2-nats-credentials'
then
manifests+=( "overlay/addons/migration-v1-nats-credentials.yml" )

want_feature "no-nats-tls" ||
manifests+=( "overlay/addons/migration-v1-nats-credentials-tls.yml" )
fi

skip_ssl_validation="$(jq -r '.skip_ssl_validation' <(echo "$params"))"
Expand Down
47 changes: 0 additions & 47 deletions overlay/nats-tls.yml

This file was deleted.

0 comments on commit a65c796

Please sign in to comment.