Konfigurationstyp "Versioned" - 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

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

Versionierte Konfigurationen ermöglichen vordefinierte Konfigurationen mit einem beliebigen Inhaltstyp (z. B. Textdateien, binäre Dateien usw.).

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

$ iectl publisher standalone-app app-config add \
    --appname "my cool app" \
    --configname "my_version_config1" \
    --configdescription "displayed to the end-user during deployment" \
    --hostpath "./cfg-data/" \                                          # volume name or relative host path with bind
    --subpath "" \
    --secure \                                                              # Enabling the secure flag only stores the configuration encrypted on the Industrial Edge Management, but not on the Industrial Edge Device
    --versioned \
    --versionname "displayed to the end-user as selection option" \
    --versiondescription "displayed to the end-user as selection option" \
    --filepath /path/to/configuration/file                                  # filepath: File that shall finally be used as input

BEMERKEN

Das Verhalten von Host- und Unterpfad ist das gleiche wie bei der unversionierten Konfiguration, aber der Dateiname wird aus der Quelldatei übernommen, die unter filepathangegeben ist. Für die obige Beispielkonfiguration wäre der resultierende Dateispeicherort innerhalb des Containers dann /cfg-data/file (unter der Annahme der Standardbindung von "./cfg-data/:/cfg-data/").