Skip to content

Commit b33c452

Browse files
foverbyGitHub Enterprise
authored and
GitHub Enterprise
committed
Merge pull request #271 from cloud-docs/fixes
Fixes
2 parents 046ea37 + de85be9 commit b33c452

File tree

4 files changed

+44
-22
lines changed

4 files changed

+44
-22
lines changed

Diff for: app-domainmapping.md

+20-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-11-03"
5+
lastupdated: "2022-11-10"
66

77
keywords: domain mapping, custom domain, applications in code engine, apps in code engine, http requests in code engine, deploy apps in code engine, app workloads in code engine, deploying workloads in code engine, application, domain mappings, custom domain mappings, CNAME, TLS, TLS secret, private key, certificate
88

@@ -43,6 +43,7 @@ Before you implement custom domain mappings in {{site.data.keyword.codeenginesho
4343
* {{site.data.keyword.codeengineshort}} supports custom domain mappings for domains that are protected with a SSL/TLS certificate, which is signed by a public, trusted certificate authority (CA).
4444
* You can define custom domain mappings that point to public domain names.
4545
* If your domain name can be resolved only by a nonpublic domain name system (DNS), you must provide a certificate that lists the domain name and is signed by a public, trusted CA.
46+
* You must provide the *entire* certificate chain, starting with the certificate that corresponds to the custom domain, followed by all intermediate certificates up to the root certificate.
4647
* You cannot use self-signed certificates.
4748
* You cannot use certificates that are signed by an untrusted or a nonpublic enterprise CA.
4849

@@ -73,13 +74,29 @@ Before you begin
7374
1. From the [{{site.data.keyword.codeengineshort}} Projects page](https://cloud.ibm.com/codeengine/projects){: external}, go to your project.
7475
2. From the Overview page, click **Domain mappings**.
7576
3. From the Domain mappings page, click **Create** to create your mapping.
76-
4. From the Create a domain mapping page, specify the TLS secret to use with this domain mapping.
77+
4. From the Create a domain mapping page, specify the TLS secret to use with this domain mapping. {{site.data.keyword.codeengineshort}} validates whether the certificate is signed by a trusted CA,and whether the certificate matches the provided custom domain name and private key.
7778

7879
To create a new TLS secret,
7980
1. Click **Create**.
80-
2. Add the TLS certificate, including all intermediate certificates, which are associated with your domain.
81+
2. Add the TLS certificate, including all intermediate certificates, which are associated with your domain. If the certificate is provided to you as separate files, concatenate the content of the files.
8182
3. Add the private key that corresponds to your certificate.
8283

84+
Example format for a certificate chain
85+
86+
```txt
87+
-----BEGIN CERTIFICATE-----
88+
...certificate...
89+
-----END CERTIFICATE-----
90+
-----BEGIN CERTIFICATE-----
91+
...intermediate-certificate...
92+
-----END CERTIFICATE-----
93+
-----BEGIN CERTIFICATE-----
94+
...intermediate-certificate...
95+
-----END CERTIFICATE-----
96+
```
97+
{: screen}
98+
99+
83100
Or, to use an existing TLS secret,
84101
1. Click **Select**.
85102
2. Select the existing secret from the list that you want to use.
@@ -204,4 +221,3 @@ To delete a custom domain mapping, use the console.
204221
4. From the Domain mappings page, delete the custom domain mapping that you want to remove from your application. Click the **Actions** icon ![**Actions** icon](../icons/action-menu-icon.svg "Actions") > **Delete** to delete the mapping.
205222

206223

207-

Diff for: appdeploy-plan.md

+14-16
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-11-03"
5+
lastupdated: "2022-11-10"
66

77
keywords: applications in code engine, apps in code engine, http requests in code engine, deploy apps in code engine, app workloads in code engine, deploying workloads in code engine, application, app, memory, cpu, environment variables
88

@@ -72,54 +72,52 @@ When you are working with applications (or jobs), it is helpful to be aware of b
7272
## Options for visibility for a {{site.data.keyword.codeengineshort}} application
7373
{: #optionsvisibility}
7474

75-
With {{site.data.keyword.codeengineshort}}, you can determine the right choice of visibility for your application by defining the endpoints that are available for receiving requests.
75+
With {{site.data.keyword.codeengineshort}}, you can determine the right level of visibility for your application by defining the endpoints, or system domain mappings, that are available for receiving requests.
7676
{: shortdesc}
7777

78-
You can deploy your application with one of the following visibility choices:
78+
Every application has an *internal* system domain mapping that is visible to all components within the same {{site.data.keyword.codeengineshort}} project, but not outside of the project. In addition to the internal system domain mapping, you choose to make the application visible to either the *public* internet or the {{site.data.keyword.cloud_notm}} *private* network.
79+
80+
You can deploy your application with the following visibility levels:
7981

8082
| Setting | Description |
8183
| --------- | ------------------- |
82-
| [`visibility=public`](#app-endpoint-public) | An app with this setting is exposed to the internet and your {{site.data.keyword.codeengineshort}} project. Setting a public endpoint means that your app can receive requests from the public internet or from components within your {{site.data.keyword.codeengineshort}} project. This setting is the default. |
83-
| [`visibility=private`](#app-endpoint-private) | An app with this setting is exposed to the {{site.data.keyword.cloud_notm}} private network and your {{site.data.keyword.codeengineshort}} project. Setting a private endpoint means that your app is not accessible from the public internet and network access is only possible from other {{site.data.keyword.cloud_notm}} Services by using Virtual Private Endpoints (VPE) or {{site.data.keyword.codeengineshort}} components that are running in the same project (cluster-local).|
84-
| [`visibility=project`](#app-endpoint-projectonly) | An app with this setting is exposed to the {{site.data.keyword.codeengineshort}} project only (cluster-local). Setting a project-only endpoint means that your app is not accessible from the public internet and network access is only possible from other {{site.data.keyword.codeengineshort}} components that are running within the {{site.data.keyword.codeengineshort}} environment. |
84+
| [internal (project)](#app-endpoint-projectonly) | An app with this setting can receive requests from components in the same {{site.data.keyword.codeengineshort}} project. Setting an internal (project) endpoint means that your app is not accessible from the public internet and network access is only possible from other {{site.data.keyword.codeengineshort}} components that are running within the same {{site.data.keyword.codeengineshort}} project. This endpoint is always enabled. |
85+
| [public](#app-endpoint-public) | An app with this setting is exposed to the internet and your {{site.data.keyword.codeengineshort}} project. Setting a public endpoint means that your app can receive requests from the public internet or from components within your {{site.data.keyword.codeengineshort}} project. This setting is the default. |
86+
| [private](#app-endpoint-private) | An app with this setting is exposed to the {{site.data.keyword.cloud_notm}} private network and your {{site.data.keyword.codeengineshort}} project. Setting a private endpoint means that your app is not accessible from the public internet and network access is only possible from other {{site.data.keyword.cloud_notm}} services by using Virtual Private Endpoints (VPE) or {{site.data.keyword.codeengineshort}} components that are running in the same project.|
8587
{: caption="Table 1. Visibility for applications" caption-side="bottom"}
8688

8789
You can set the endpoint settings for visibility of an application from the console or with the CLI when you create and deploy, or update your app.
8890

8991
### Deploying your app with a public endpoint
9092
{: #app-endpoint-public}
9193

92-
When you deploy an app, by default, the application deploys such that it can receive requests from the public internet or from components within the {{site.data.keyword.codeengineshort}} project. In this case, the app is deployed with a public endpoint.
93-
94+
When you deploy an app, by default, the application deploys such that it can receive requests from the public internet or from components within the same {{site.data.keyword.codeengineshort}} project. In this case, the app is deployed with a public endpoint.
9495

9596
### Deploying your app with a private endpoint
9697
{: #app-endpoint-private}
9798

98-
You can set the endpoint visibility for your app such that it is deployed with a private endpoint. Setting a private endpoint means that your app is not accessible from the public internet and network access is only possible from other {{site.data.keyword.cloud_notm}} services from virtual private endpoints (VPC) or {{site.data.keyword.codeengineshort}} components that are running in the same project (cluster-local).
99+
You can set the endpoint visibility for your app such that it is deployed with a private endpoint. Setting a private endpoint means that your app is not accessible from the public internet and network access is only possible from other {{site.data.keyword.cloud_notm}} services from virtual private endpoints (VPE) or {{site.data.keyword.codeengineshort}} components that are running in the same project (cluster-local).
99100

100-
For example, if your solution consists of a component that is running on an {{site.data.keyword.containerfull_notm}} Kubernetes cluster within your own virtual private endpoint and you want to access the {{site.data.keyword.codeengineshort}} application from the {{site.data.keyword.cloud_notm}} private network, you can set the visibility of the application to private. When the visibility of the app is set to private, the app is not accessible though the public internet. The application is still accessible from other applications within the project.
101+
For example, if your solution consists of a component that is running on an {{site.data.keyword.containerfull_notm}} Kubernetes cluster within your own virtual private endpoint and you want to access the {{site.data.keyword.codeengineshort}} application from the {{site.data.keyword.cloud_notm}} private network, you can set the visibility of the application to private. When the visibility of the app is set to private, the app is not accessible through the public internet. The application is still accessible from other applications within the project.
101102

102103
You can [deploy your application with a private endpoint](/docs/codeengine?topic=codeengine-vpe#using-vpes-app) so that the app is only exposed through the {{site.data.keyword.cloud_notm}} private network and not exposed to the external internet. The application is still reachable through shared components from within the internal network and the application endpoint needs to be secured.
103104

104105
With the CLI, set the endpoint visibility for your app so that it is deployed with a private endpoint by using the `--visibility=private` option on the [**`app create`**](/docs/codeengine?topic=codeengine-cli#cli-application-create) or [**`app update`**](/docs/codeengine?topic=codeengine-cli#cli-application-update) command. You can obtain the available URLs for your app that reflect your endpoint definition by using the [**`app get`**](/docs/codeengine?topic=codeengine-cli#cli-application-get) command.
105106

106-
From the console, set the visibility for your app by using the **Endpoints** setting when you create or update your app. You can view or modify the visibility of your app, and obtain available URLs for your app that reflect your endpoint definition by navigating to your application page and use the **Domain mapping** tab.
107+
From the console, set the visibility of endpoints for your app by using the **Endpoints** setting when you create your app. After your app is deployed, you can view and modify these system domain mapping settings on the **Domain mappings** tab on your application page.
107108

108109
For more information about connecting over private networks, see [Using Virtual Private Endpoints with {{site.data.keyword.codeengineshort}}](/docs/codeengine?topic=codeengine-vpe).
109110

110111
### Deploying your app with a project endpoint
111112
{: #app-endpoint-projectonly}
112113

113-
When you deploy an app, by default, the application deploys such that it can receive requests from the public internet or from components within the {{site.data.keyword.codeengineshort}} project. In this case, the app is deployed with a public endpoint.
114-
{: shortdesc}
115-
116-
You can also set the endpoint visibility for your app such that it is deployed with a project-only endpoint. Setting a project-only endpoint means that your app is not accessible from the public internet and network access is only possible from other {{site.data.keyword.codeengineshort}} components that are running within the {{site.data.keyword.codeengineshort}} environment. Applications are still accessible through shared components and therefore need to be secured.
114+
You can set the endpoint visibility for your app such that it is deployed with an internal (project) endpoint. Setting a project-only endpoint means that your app is not accessible from the public internet and network access is only possible from other {{site.data.keyword.codeengineshort}} components that are running within the same {{site.data.keyword.codeengineshort}} project. This endpoint is always enabled. Applications are still accessible through shared components and therefore need to be secured.
117115

118116
For example, if your solution consists of several applications within a project, you might set up your solution such that only one of those applications is visible from the internet so that it handles incoming traffic. This public-facing application can delegate work to other applications in your solution so that they do not need to be visible from the internet.
119117

120118
With the CLI, set the endpoint visibility for your app so that it is deployed with a project endpoint by using the `--visibility=project` option on the [**`app create`**](/docs/codeengine?topic=codeengine-cli#cli-application-create) or [**`app update`**](/docs/codeengine?topic=codeengine-cli#cli-application-update) command. You can obtain the available URLs for your app that reflect your endpoint definition by using the [**`app get`**](/docs/codeengine?topic=codeengine-cli#cli-application-get) command.
121119

122-
From the console set the visibility by using the **Endpoints** setting when you create or update your app. You can view or modify the visibility of your app, and obtain available URLs for your app that reflect your endpoint definition by navigating to your application page and use the **Domain mapping** tab.
120+
From the console, set the visibility of endpoints for your app by using the **Endpoints** setting when you create your app. After your app is deployed, you can view and modify these system domain mapping settings on the **Domain mappings** tab on your application page.
123121

124122
## Options for deploying a {{site.data.keyword.codeengineshort}} application
125123
{: #optionsdeploy}

Diff for: cli-changelog.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-10-27"
5+
lastupdated: "2022-11-10"
66

77
keywords: cli change log for code engine, cli version for code engine, change log for cli in code engine, cli history for code engine, change log, cli version history
88

@@ -20,6 +20,7 @@ Find a summary of changes for each version of {{site.data.keyword.codeenginefull
2020

2121
| Version | Release date | Changes |
2222
| ----- | ------- | -------------- |
23+
| 1.40.1 | 10 November 2022 | - Fixed various bugs. \n - Updated translations for the CLI. |
2324
| 1.40.0 | 27 October 2022 | - Added validation checks for ephemeral storage to clarify the relationship between ephemeral storage and memory. Ephemeral storage is bounded by the configured memory. See [Limits and quotas for {{site.data.keyword.codeengineshort}}](/docs/codeengine?topic=codeengine-limits) and [Supported memory and CPU combinations](/docs/codeengine?topic=codeengine-mem-cpu-combo). \n - Fixed various bugs. |
2425
| 1.39.6 | 20 October 2022 | - Fixed various bugs. \n - Updated translations for the CLI. |
2526
| 1.39.5 | 06 October 2022 | - Fixed various bugs. |

Diff for: release-notes.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-11-03"
5+
lastupdated: "2022-11-10"
66

77
keywords: release notes for code engine, updates in code engine, what's new in code engine, document changes in code engine, updates, release notes
88

@@ -26,6 +26,12 @@ Use the release notes to learn about the latest changes to {{site.data.keyword.c
2626
Review the release notes for November 2022.
2727
{: shortdesc}
2828

29+
### 10 November 2022
30+
{: #codeengine-nov1022}
31+
{: release-note}
32+
33+
CLI version 1.40.1 released
34+
: See [CLI version history](/docs/codeengine?topic=codeengine-cli_versions).
2935

3036
### 03 November 2022
3137
{: #codeengine-nov0322}
@@ -2135,3 +2141,4 @@ New! [{{site.data.keyword.codeenginefull_notm}} experimental release](https://cl
21352141
: With {{site.data.keyword.codeengineshort}}, you can build [applications](/docs/codeengine?topic=codeengine-application-workloads) in any language and then deploy them in seconds. Offload long running and resource hungry tasks to [asynchronous jobs](/docs/codeengine?topic=codeengine-create-job) that allow for optimized scale and cost efficiency. Learn how to get started with our [Deploying applications](/docs/codeengine?topic=codeengine-deploy-app-tutorial) and [Running jobs](/docs/codeengine?topic=codeengine-run-job-tutorial) tutorials.
21362142

21372143

2144+

0 commit comments

Comments
 (0)