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
| ServiceName=my-artifact | Set the systemd service name to my-artifact.service |
2130
+
| TLSVerify=false | --tls-verify=false |
2131
+
2132
+
### `Artifact=`
2133
+
2134
+
The artifact to pull from a registry onto the local machine. This is the only required key for artifact units.
2135
+
2136
+
It is required to use a fully qualified artifact name rather than a short name, both for
2137
+
performance and robustness reasons.
2138
+
2139
+
### `AuthFile=`
2140
+
2141
+
Path of the authentication file.
2142
+
2143
+
This is equivalent to the Podman `--authfile` option.
2144
+
2145
+
### `CertDir=`
2146
+
2147
+
Use certificates at path (*.crt, *.cert, *.key) to connect to the registry.
2148
+
2149
+
This is equivalent to the Podman `--cert-dir` option.
2150
+
2151
+
### `ContainersConfModule=`
2152
+
2153
+
Load the specified containers.conf(5) module. Equivalent to the Podman `--module` option.
2154
+
2155
+
This key can be listed multiple times.
2156
+
2157
+
### `Creds=`
2158
+
2159
+
The credentials to use when contacting the registry in the format `[username[:password]]`.
2160
+
2161
+
This is equivalent to the Podman `--creds` option.
2162
+
2163
+
### `DecryptionKey=`
2164
+
2165
+
The `[key[:passphrase]]` to be used for decryption of artifacts.
2166
+
2167
+
This is equivalent to the Podman `--decryption-key` option.
2168
+
2169
+
### `GlobalArgs=`
2170
+
2171
+
This key contains a list of arguments passed directly between `podman` and `artifact`
2172
+
in the generated file. It can be used to access Podman features otherwise unsupported by the generator. Since the generator is unaware
2173
+
of what unexpected interactions can be caused by these arguments, it is not recommended to use
2174
+
this option.
2175
+
2176
+
The format of this is a space separated list of arguments, which can optionally be individually
2177
+
escaped to allow inclusion of whitespace and other control characters.
2178
+
2179
+
This key can be listed multiple times.
2180
+
2181
+
### `PodmanArgs=`
2182
+
2183
+
This key contains a list of arguments passed directly to the end of the `podman artifact pull` command
2184
+
in the generated file (right before the artifact name in the command line). It can be used to
2185
+
access Podman features otherwise unsupported by the generator. Since the generator is unaware
2186
+
of what unexpected interactions can be caused by these arguments, it is not recommended to use
2187
+
this option.
2188
+
2189
+
The format of this is a space separated list of arguments, which can optionally be individually
2190
+
escaped to allow inclusion of whitespace and other control characters.
2191
+
2192
+
This key can be listed multiple times.
2193
+
2194
+
### `Quiet=`
2195
+
2196
+
Suppress output information when pulling artifacts.
2197
+
2198
+
This is equivalent to the Podman `--quiet` option.
2199
+
2200
+
### `Retry=`
2201
+
2202
+
Number of times to retry the artifact pull when a HTTP error occurs. Equivalent to the Podman `--retry` option.
2203
+
2204
+
### `RetryDelay=`
2205
+
2206
+
Delay between retries. Equivalent to the Podman `--retry-delay` option.
2207
+
2208
+
### `ServiceName=`
2209
+
2210
+
The (optional) name of the systemd service. If this is not specified, the default value is the same name as the unit, but with a `-artifact` suffix, i.e. a `$name.artifact` file creates a `$name-artifact.service` systemd service.
2211
+
2212
+
### `TLSVerify=`
2213
+
2214
+
Require HTTPS and verification of certificates when contacting registries.
2215
+
2216
+
This is equivalent to the Podman `--tls-verify` option.
2217
+
2101
2218
## Quadlet section [Quadlet]
2102
2219
Some quadlet specific configuration is shared between different unit types. Those settings
2103
2220
can be configured in the `[Quadlet]` section.
@@ -2202,6 +2319,29 @@ IPRange=172.16.0.0/28
2202
2319
Label=org.test.Key=value
2203
2320
```
2204
2321
2322
+
Example `test.artifact` to only pull the artifact using one auth file:
2323
+
```
2324
+
[Artifact]
2325
+
Artifact=quay.io/example/my-artifact:latest
2326
+
AuthFile=/etc/registry/auth.json
2327
+
TLSVerify=false
2328
+
```
2329
+
2330
+
Example usage where a container depends on an artifact:
0 commit comments