Update podinfo to v2

master
stefanprodan 2019-08-16 18:29:56 +03:00
parent a4ed1ec205
commit 9a14466d47
2 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ here](https://github.com/fluxcd/flux/blob/master/docs/tutorials/get-started-helm
### Workloads
podinfo
[podinfo](https://github.com/stefanprodan/podinfo)
* Kubernetes deployment, ClusterIP service and Horizontal Pod Autoscaler
* init container automated image updates (regular expression filter)
* container automated image updates (semantic versioning filter)

View File

@ -8,8 +8,8 @@ metadata:
app: podinfo
annotations:
flux.weave.works/automated: "true"
flux.weave.works/tag.init: regexp:^3.*
flux.weave.works/tag.podinfod: semver:~1.3
flux.weave.works/tag.init: regex:^3.10.*
flux.weave.works/tag.podinfod: semver:~2.1
spec:
strategy:
rollingUpdate:
@ -27,13 +27,13 @@ spec:
spec:
initContainers:
- name: init
image: alpine:3.5
image: alpine:3.10.1
command:
- sleep
- "1"
containers:
- name: podinfod
image: stefanprodan/podinfo:1.3.2
image: stefanprodan/podinfo:2.1.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898