File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,11 @@ The {RedHatEdge} supports the `podman-compose` tool as the application runtime a
1313* You must install the {RedHatEdge} CLI.
1414* You must log in to the {RedHatEdge} service.
1515* Your device must run an operating system image with the `podman-compose` tool installed.
16+
1617For more information, see xref:edge-manager-build-bootc[Building a _bootc_ operating system image for use with the {RedHatEdge}].
1718
1819include::platform/proc-edge-manager-build-app-packages.adoc[leveloffset=+1]
20+
21+ include::platform/ref-edge-manager-specify-apps-inline.adoc[leveloffset=+1]
22+
1923include::platform/proc-edge-manager-deploy-apps.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change 1+ [id="edge-manager-specify-apps-inline"]
2+
3+ = Specify applications inline in the device specification
4+
5+ Application manifests are specified inline in a device's specification, so you do not need to build an OCI registry application package.
6+
7+ The inline application provider accepts a list of application content with the following parameters:
8+
9+ |===
10+ | Parameter | Description
11+ | Path | The relative path to the file on the device. Note that any existing file is overwritten.
12+ | Content (Optional) | The plain text (UTF-8) or base64-encoded content of the file.
13+ | ContentEncoding | How the contents are encoded. Must be either "plain" or "base64". Defaults to "plain".
14+ |===
15+
16+ .Example
17+
18+ [source,yaml]
19+ ----
20+ apiVersion: flightctl.io/v1alpha1
21+ kind: Device
22+ metadata:
23+ name: some_device_name
24+ spec:
25+ [...]
26+ applications:
27+ - name: my-app
28+ appType: compose
29+ inline:
30+ - content: |
31+ version: "3.8"
32+ services:
33+ service1:
34+ image: quay.io/flightctl-tests/alpine:v1
35+ command: ["sleep", "infinity"]
36+ path: podman-compose.yaml
37+ [...]
38+ ----
39+
40+ [NOTE]
41+ ====
42+ Inline compose applications can have two paths at most.
43+ You must name the first one `podman-compose.yaml`, and the second (override) `podman-compose.override.yaml`.
44+ ====
You can’t perform that action at this time.
0 commit comments