Update Application CR for ECv3#4045
Conversation
✅ Deploy Preview for replicated-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for replicated-docs-upgrade ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| # Application | ||
|
|
||
| The Application custom resource enables features such as branding, release notes, port forwarding, dashboard buttons, app status indicators, and custom graphs. | ||
| The Application custom resource enables branding in the customer-facing UI. For installations with KOTS in an existing cluster, it also enables other features in the Admin Console UI such as port fowarding, custom graphs, and more. |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Vale.Spelling] Did you really mean 'fowarding'?
|
|
||
| The title to use in the customer-facing UI. Typically, this is the application name. | ||
|
|
||
| For installations with Embedded Cluster v3, the `title` is displayed in the install and upgrade wizards. For installations with Embedded Cluster v2, KOTS existing cluster, and kURL, the `title` is displayed in the Admin Console. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('is displayed').
|
|
||
| The title to use in the customer-facing UI. Typically, this is the application name. | ||
|
|
||
| For installations with Embedded Cluster v3, the `title` is displayed in the install and upgrade wizards. For installations with Embedded Cluster v2, KOTS existing cluster, and kURL, the `title` is displayed in the Admin Console. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('is displayed').
|
|
||
| A file with the icon to use in the customer-facing UI. Typically, this is the application's logo. | ||
|
|
||
| For installations with Embedded Cluster v3, the `icon` is displayed in the install and upgrade wizards. For installations with Embedded Cluster v2, KOTS existing cluster, and kURL, the `icon` is displayed in the Admin Console. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('is displayed').
|
|
||
| A file with the icon to use in the customer-facing UI. Typically, this is the application's logo. | ||
|
|
||
| For installations with Embedded Cluster v3, the `icon` is displayed in the install and upgrade wizards. For installations with Embedded Cluster v2, KOTS existing cluster, and kURL, the `icon` is displayed in the Admin Console. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('is displayed').
|
|
||
| ### `ports` | ||
|
|
||
| Extra ports, in addition to the `8800` Admin Console port, that are port-forwarded when running the `kubectl kots admin-console` command. With ports specified, KOTS can establish port forwarding to simplify connections to the deployed application. When the application starts and the service is ready, the KOTS CLI prints a message in the terminal with the URL where the port-forwarded service can be accessed. For more information, see [Port Forwarding Services with KOTS](/vendor/admin-console-port-forward). |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('be accessed').
|
|
||
| #### Limitations | ||
|
|
||
| * Go templates are supported in the `ports.serviceName` and `ports.applicationUrl` fields only. Using Go templates in the `ports.localPort` or `ports.servicePort` fields results in an installation error similar to the following: `json: cannot unmarshal string into Go struct field ApplicationPort.spec.ports.servicePort of type int`. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('are supported').
|
|
||
| ### `targetKotsVersion` | ||
|
|
||
| The KOTS version that is targeted by the release. For more information, see [Setting Minimum and Target Versions for KOTS](/vendor/packaging-kots-versions). |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('is targeted').
|
|
||
| ### `minKotsVersion` (Beta) | ||
|
|
||
| The minimum KOTS version that is required by the release. For more information, see [Setting Minimum and Target Versions for KOTS](/vendor/packaging-kots-versions). |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('is required').
|
|
||
| An array of additional namespaces as strings for KOTS to create in the cluster. For more information, see [Defining Additional Namespaces](/vendor/operator-defining-additional-namespaces). | ||
|
|
||
| In each additional namespace, KOTS creates the application secret. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.SentenceLength] Try to keep your sentence length to 26 words or fewer.
| An array of additional namespaces as strings for KOTS to create in the cluster. For more information, see [Defining Additional Namespaces](/vendor/operator-defining-additional-namespaces). | ||
|
|
||
| In each additional namespace, KOTS creates the application secret. | ||
| KOTS ensures that the application secret has access to pull the application images, including both images that are used and any images that you add in the [`additionalImages`](#additionalimages) property. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('are used').
|
|
||
| ### `minKotsVersion` (Beta) | ||
|
|
||
| For KOTS existing cluster installations, `minKotsVersion` sets the minimum KOTS version required to deloy the given release. KOTS blocks an installation or update if the currently-deployed KOTS version is earlier than the `minKotsVersion`. For more information, see [Setting Minimum and Target Versions for KOTS](/vendor/packaging-kots-versions). |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Vale.Spelling] Did you really mean 'deloy'?
|
|
||
| ### `minKotsVersion` (Beta) | ||
|
|
||
| For KOTS existing cluster installations, `minKotsVersion` sets the minimum KOTS version required to deloy the given release. KOTS blocks an installation or update if the currently-deployed KOTS version is earlier than the `minKotsVersion`. For more information, see [Setting Minimum and Target Versions for KOTS](/vendor/packaging-kots-versions). |
There was a problem hiding this comment.
[Replicated.Timeless] Avoid temporal words like 'currently'.
| Depending on which Replicated installer the customer uses, this UI is either the Embedded Cluster v3 install and upgrade wizard or the Replicated Admin Console. | ||
|
|
||
| There is some overlap between the Application custom resource manifest file and the [Kubernetes SIG Application custom resource](https://github.com/kubernetes-sigs/application/blob/master/docs/api.md). For example, enabling features such as [adding a button to the dashboard](/vendor/admin-console-adding-buttons-links) requires the use of both the Application and SIG Application custom resources. | ||
| For Replicated installers that enable the Admin Console, the Application custom resource also lets you configure other aspects the Admin Console user experience, |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.SentenceLength] Try to keep your sentence length to 26 words or fewer.
|
|
||
| #### About the ConfigMap and `SSL_CERT_DIR` environment variable | ||
|
|
||
| The Replicated installer mounts the ConfigMap returned by the PrivateCACert template function as a volume. Each key in the ConfigMap is created as a file, with its value as the file's contents. The installer then sets the `SSL_CERT_DIR` environment variable to the volume. `SSL_CERT_DIR` is a common environment variable that most tools and languages support to override the trust store. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Replicated.Passive] In general, use active voice instead of passive voice ('is created').
| #### About the ConfigMap and `SSL_CERT_DIR` environment variable | ||
|
|
||
| The Replicated installer mounts the ConfigMap returned by the PrivateCACert template function as a volume. Each key in the ConfigMap is created as a file, with its value as the file's contents. The installer then sets the `SSL_CERT_DIR` environment variable to the volume. `SSL_CERT_DIR` is a common environment variable that most tools and languages support to override the trust store. |
There was a problem hiding this comment.
i dont think it is correct. it was more correct before since this is unique to kots and ec v2 which runs kots. for v3 everything is run on the host so no need to pass anything to our containers.
i wonder if this is TMI anyway? perhaps it is enough to say that kots and ec will use the private ca from the host or the flag when making outbound network requests.
|
|
||
| <details> | ||
| <summary>Can the ConfigMap returned by PrivateCACert also be mounted in application containers?</summary> | ||
| When you mount the ConfigMap in your containers, the `SSL_CERT_DIR` environment variable overrides the trust store in the container. This means that the container trusts only the CAs included in the ConfigMap. |
There was a problem hiding this comment.
im not sure what this is suggesting. i dont think we explicitly set SSL_CERT_DIR in the vendors container.
There was a problem hiding this comment.
this was more correct prior to the update.
https://deploy-preview-4045--replicated-docs.netlify.app/reference/custom-resource-application