Konfigurationstyp "Unversioned" - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of the Industrial Edge Platform - IEM - Hub - Industrial - Device - IED - Edge - IEH

Industrial Edge Platform Operation - APIs & Referenzen

Product
Industrial Edge
Product Version
v25.04
Edition
04/2025
Language
de-DE

Unversionierte Konfigurationen sind vom Anwender bereitgestellte Eingaben mit einem beliebigen Inhaltstyp (z. B. Textdateien, binäre Dateien usw.).

Unversionierte Konfigurationen können Sie mit dem folgenden Befehl hinzufügen:

$ iectl publisher standalone-app app-config add \
    --appname "my cool app" \
    --configname "Displayed to the end-user during deployment"  \
    --configdescription "displayed to the end-user during deployment"   \
    --hostpath "volumename"  \     # Or relative host volume path, e.g. "./cfg-data"
    --subpath "subdir/"   \         # Will be added behind the volume / bind mount point
    --secure  \                    #  Enabling the secure flag only stores the configuration encrypted on the Industrial Edge Management, but not on the Industrial Edge Device

BEMERKEN

Das hostpath Argument kann entweder der Name eines Volumes sein, das in der Docker-Compose angegeben ist, oder der Hostpfad einer Bindung, also zum Beispiel "./cfg-data" für die Bindung "./cfg-data/:/cfg-data/" in der Docker-Compose-Datei.

Das subpath ist dann ein Verzeichnis oder eine Kette von Unterverzeichnissen, die in diesem Volume oder Bind erstellt werden, so dass zum Beispiel, wenn der Hostpfad auf "./cfg-data" und der Unterpfad auf "custom/config" gesetzt ist, das Verzeichnis "/cfg-data/custom/config" im Container verfügbar ist.

Die hochgeladene Datei wird dann mit ihrem ursprünglichen Dateinamen in den verknüpften Host- und Unterpfad eingefügt. Insgesamt würde der endgültige Dateipfad für eine hochgeladene Datei, z. B. von /home/user/Documents/configuration.json, den Container in /cfg-data/custom/config/configuration.json führen.