You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/configuration-v3_2_experimental.md
+14
Original file line number
Diff line number
Diff line change
@@ -121,9 +121,23 @@ The Ignition configuration is a JSON document conforming to the following specif
121
121
***_enabled_** (boolean): whether or not the service shall be enabled. When true, the service is enabled. When false, the service is disabled. When omitted, the service is unmodified. In order for this to have any effect, the unit must have an install section.
122
122
***_mask_** (boolean): whether or not the service shall be masked. When true, the service is masked by symlinking it to `/dev/null`.
123
123
***_contents_** (string): the contents of the unit.
124
+
***_compression_** (string): the type of compression used on the contents (null or gzip). Compression cannot be used with S3.
125
+
***_source_** (string): the URL of the file contents. Supported schemes are `http`, `https`, `tftp`, `s3`, and [`data`][rfc2397]. When using `http`, it is advisable to use the verification option to ensure the contents haven't been modified. If source is omitted and a regular file already exists at the path, Ignition will do nothing. If source is omitted and no file exists, an empty file will be created.
126
+
***_httpHeaders_** (list of objects): a list of HTTP headers to be added to the request. Available for `http` and `https` source schemes only.
127
+
***name** (string): the header name.
128
+
***_value_** (string): the header contents.
129
+
***_verification_** (object): options related to the verification of the file contents.
130
+
***_hash_** (string): the hash of the contents, in the form `<type>-<value>` where type is either `sha512` or `sha256`.
124
131
***_dropins_** (list of objects): the list of drop-ins for the unit. Every drop-in must have a unique `name`.
125
132
***name** (string): the name of the drop-in. This must be suffixed with ".conf".
126
133
***_contents_** (string): the contents of the drop-in.
134
+
***_compression_** (string): the type of compression used on the contents (null or gzip). Compression cannot be used with S3.
135
+
***_source_** (string): the URL of the file contents. Supported schemes are `http`, `https`, `tftp`, `s3`, and [`data`][rfc2397]. When using `http`, it is advisable to use the verification option to ensure the contents haven't been modified. If source is omitted and a regular file already exists at the path, Ignition will do nothing. If source is omitted and no file exists, an empty file will be created.
136
+
***_httpHeaders_** (list of objects): a list of HTTP headers to be added to the request. Available for `http` and `https` source schemes only.
137
+
***name** (string): the header name.
138
+
***_value_** (string): the header contents.
139
+
***_verification_** (object): options related to the verification of the file contents.
140
+
***_hash_** (string): the hash of the contents, in the form `<type>-<value>` where type is either `sha512` or `sha256`.
127
141
***_passwd_** (object): describes the desired additions to the passwd database.
128
142
***_users_** (list of objects): the list of accounts that shall exist. All users must have a unique `name`.
0 commit comments