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