Update semver flag in image update guide
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
@@ -170,7 +170,7 @@ Create an `ImagePolicy` to tell Flux which semver range to use when filtering ta
|
|||||||
```sh
|
```sh
|
||||||
flux create image policy podinfo \
|
flux create image policy podinfo \
|
||||||
--image-ref=podinfo \
|
--image-ref=podinfo \
|
||||||
--semver=5.0.x \
|
--select-semver=5.0.x \
|
||||||
--export > ./clusters/my-cluster/podinfo-policy.yaml
|
--export > ./clusters/my-cluster/podinfo-policy.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -471,7 +471,7 @@ Assuming you've configured Flux to update an app to its latest stable version:
|
|||||||
```sh
|
```sh
|
||||||
flux create image policy podinfo \
|
flux create image policy podinfo \
|
||||||
--image-ref=podinfo \
|
--image-ref=podinfo \
|
||||||
--semver=">=5.0.0"
|
--select-semver=">=5.0.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
If the latest version e.g. `5.0.1` causes an incident in production, you can tell Flux to
|
If the latest version e.g. `5.0.1` causes an incident in production, you can tell Flux to
|
||||||
@@ -480,7 +480,7 @@ revert the image tag to a previous version e.g. `5.0.0` with:
|
|||||||
```sh
|
```sh
|
||||||
flux create image policy podinfo \
|
flux create image policy podinfo \
|
||||||
--image-ref=podinfo \
|
--image-ref=podinfo \
|
||||||
--semver=5.0.0
|
--select-semver=5.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Or by changing the semver range in Git:
|
Or by changing the semver range in Git:
|
||||||
@@ -505,7 +505,7 @@ and tell Flux to consider only versions greater than `5.0.1`:
|
|||||||
```sh
|
```sh
|
||||||
flux create image policy podinfo \
|
flux create image policy podinfo \
|
||||||
--image-ref=podinfo \
|
--image-ref=podinfo \
|
||||||
--semver=">5.0.1"
|
--select-semver=">5.0.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
## ImageRepository cloud providers authentication
|
## ImageRepository cloud providers authentication
|
||||||
|
|||||||
Reference in New Issue
Block a user