-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #777 from xlight05/remove-http-client
Remove automatic ssl retrieval and config map/secret improvments
- Loading branch information
Showing
80 changed files
with
441 additions
and
1,225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Change Log | ||
This file contains all the notable changes done to the Ballerina Cloud package through the releases. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to | ||
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [3.0.0] - Unreleased | ||
|
||
### Improvements | ||
|
||
- Support directories to be mounted as Configmaps/Secrets [778](https://github.com/ballerina-platform/module-ballerina-c2c/issues/778) | ||
|
||
### Breaking Changes | ||
- Windows containers are not supported anymore. [773](https://github.com/ballerina-platform/module-ballerina-c2c/issues/773) | ||
- SSL configurations are not automatically retrieved from the code anymore. You need to explicitly mark them as secrets in Cloud.toml. [782](https://github.com/ballerina-platform/module-ballerina-c2c/issues/782) | ||
```toml | ||
[[cloud.secret.files]] | ||
file="resource." | ||
mount_dir="./resource" | ||
``` | ||
- Entrypoints are used instead of CMD to run the ballerina application in the dockerfile. [771](https://github.com/ballerina-platform/module-ballerina-c2c/issues/771) | ||
- [[cloud.secret.files]] and [[cloud.config.maps]] changes. [784](https://github.com/ballerina-platform/module-ballerina-c2c/issues/784) | ||
- `mount_path` is renamed to `mount_dir`. `mount_dir` is the directory where the config maps and secrets are mounted. | ||
- suffix is added to each config map and secret file to avoid conflicts. | ||
- subpaths are used underneath to better support multiple files in the same directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
266 changes: 3 additions & 263 deletions
266
cloud-util/src/main/java/io/ballerina/c2c/util/C2CVisitor.java
Large diffs are not rendered by default.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
cloud-util/src/main/java/io/ballerina/c2c/util/ClientInfo.java
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
cloud-util/src/main/java/io/ballerina/c2c/util/HttpsConfig.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 0 additions & 37 deletions
37
cloud-util/src/main/java/io/ballerina/c2c/util/MutualSSLConfig.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 0 additions & 54 deletions
54
cloud-util/src/main/java/io/ballerina/c2c/util/SecureSocketConfig.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.