Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Update podinfo to v6.1.3
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed May 31, 2022
1 parent b0c544c commit 2fd4aa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ the multi-doc YAML and add it to your repository.
## Update microservices

To trigger a rolling deployment of all microservices, add the following patch to your `msdemo` Kustomization,
and set the [podinfo](https://github.com/stefanprodan/podinfo/releases) version to value greater than `6.1.0`:
and set the [podinfo](https://github.com/stefanprodan/podinfo/releases) version to value greater than `6.1.3`:

```yaml
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
Expand All @@ -117,7 +117,7 @@ spec:
patch: |
- op: add
path: /spec/postBuild/substitute/app_version
value: 6.1.4
value: 6.1.5
```

To update specific microservices, add their names to the patch target:
Expand All @@ -130,7 +130,7 @@ To update specific microservices, add their names to the patch target:
patch: |
- op: add
path: /spec/postBuild/substitute/app_version
value: 6.1.5
value: 6.1.6
```

To test rollout failures use a non existing version such as `99.0.0`.
Expand Down
2 changes: 1 addition & 1 deletion microservice/app-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
spec:
containers:
- name: "${app_name:=demo}"
image: "ghcr.io/stefanprodan/podinfo:${app_version:=6.1.0}"
image: "ghcr.io/stefanprodan/podinfo:${app_version:=6.1.3}"
imagePullPolicy: IfNotPresent
ports:
- name: http
Expand Down

0 comments on commit 2fd4aa9

Please sign in to comment.