Application
The Application custom resource enables features such as branding, release notes, port forwarding, dashboard buttons, app status indicators, and custom graphs.
There is some overlap between the Application custom resource manifest file and the Kubernetes SIG Application custom resource. For example, enabling features such as adding a button to the dashboard requires the use of both the Application and SIG Application custom resources.
The following is an example manifest file for the Application custom resource:
apiVersion: kots.io/v1beta1
kind: Application
metadata:
name: my-application
spec:
title: My Application
icon: https://support.io/img/logo.png
releaseNotes: These are our release notes
allowRollback: false
targetKotsVersion: "1.60.0"
minKotsVersion: "1.40.0"
requireMinimalRBACPrivileges: false
additionalImages:
- jenkins/jenkins:lts
additionalNamespaces:
- "*"
ports:
- serviceName: web
servicePort: 9000
localPort: 9000
applicationUrl: "http://web"
statusInformers:
- deployment/my-web-svc
- deployment/my-worker
graphs:
- title: User Signups
query: 'sum(user_signup_events_total)'
title
Description | The application title. Used on the license upload and in various places in the Replicated Admin Console. |
---|---|
Example |
|
Supports Go templates? | No |
Supported for Embedded Cluster? | Yes |
icon
Description | The icon file for the application. Used on the license upload, in various places in the Admin Console, and in the Download Portal. The icon can be a remote URL or a Base64 encoded image. Base64 encoded images are required to display the image in air gap installations with no outbound internet access. |
---|---|
Example |
|
Supports Go templates? | No |
Supported for Embedded Cluster? | Yes |
releaseNotes
Description | The release notes for this version. These can also be set when promoting a release. |
---|---|
Example |
|
Supports Go templates? | No |
Supported for Embedded Cluster? | Yes |