Skip to content

Commit 7647312

Browse files
authored
Adding content from RHEM upstream to chapter 7 (#3340)
* Adding content from RHEM upstream to chapter 7 Add "Specifying Applications Inline" section to Chapter 7 https://issues.redhat.com/browse/AAP-44688 Affects `titles/edge-manager-user-guide` * Adding module to assembly * Peer review edits
1 parent e2f5aa9 commit 7647312

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

downstream/assemblies/platform/assembly-edge-manager-manage-apps.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
1617
For more information, see xref:edge-manager-build-bootc[Building a _bootc_ operating system image for use with the {RedHatEdge}].
1718

1819
include::platform/proc-edge-manager-build-app-packages.adoc[leveloffset=+1]
20+
21+
include::platform/ref-edge-manager-specify-apps-inline.adoc[leveloffset=+1]
22+
1923
include::platform/proc-edge-manager-deploy-apps.adoc[leveloffset=+1]
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
====

0 commit comments

Comments
 (0)