{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/flux/issues/1504","repository_url":"https://api.github.com/repos/weaveworks/flux","labels_url":"https://api.github.com/repos/weaveworks/flux/issues/1504/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/flux/issues/1504/comments","events_url":"https://api.github.com/repos/weaveworks/flux/issues/1504/events","html_url":"https://github.com/weaveworks/flux/issues/1504","id":379388147,"node_id":"MDU6SXNzdWUzNzkzODgxNDc=","number":1504,"title":"Why is image not updated?","user":{"login":"montyz","id":738286,"node_id":"MDQ6VXNlcjczODI4Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/738286?v=4","gravatar_id":"","url":"https://api.github.com/users/montyz","html_url":"https://github.com/montyz","followers_url":"https://api.github.com/users/montyz/followers","following_url":"https://api.github.com/users/montyz/following{/other_user}","gists_url":"https://api.github.com/users/montyz/gists{/gist_id}","starred_url":"https://api.github.com/users/montyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montyz/subscriptions","organizations_url":"https://api.github.com/users/montyz/orgs","repos_url":"https://api.github.com/users/montyz/repos","events_url":"https://api.github.com/users/montyz/events{/privacy}","received_events_url":"https://api.github.com/users/montyz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-10T04:08:12Z","updated_at":"2018-11-10T13:52:30Z","closed_at":null,"author_association":"NONE","body":"I set up a pod with a deployement yaml file like so:\r\n```\r\n    annotations:\r\n        flux.weave.works/automated: \"true\"\r\n        flux.weave.works/tag.container-name: \"master-*\"\r\n    spec:\r\n      containers:\r\n      - name: k8s-mon\r\n        image: index.docker.io/larktech/k8s-mon:latest\r\n```\r\n\r\nI don't need to do anything more than deploy with the annotations to get it to update when a new docker image appears with a name like `master-*`, right? \r\n \r\nIs it a problem that I'm starting from the `latest` tag? If I put in `master-nonexistent` and push that to the git repo, will it fail at first and then see that it's not the latest and update it appropriately? Or do I have to create a `master-latest` tag for that first installation?"},"comment":{"url":"https://api.github.com/repos/weaveworks/flux/issues/comments/437585313","html_url":"https://github.com/weaveworks/flux/issues/1504#issuecomment-437585313","issue_url":"https://api.github.com/repos/weaveworks/flux/issues/1504","id":437585313,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzU4NTMxMw==","user":{"login":"whereismyjetpack","id":3694886,"node_id":"MDQ6VXNlcjM2OTQ4ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/3694886?v=4","gravatar_id":"","url":"https://api.github.com/users/whereismyjetpack","html_url":"https://github.com/whereismyjetpack","followers_url":"https://api.github.com/users/whereismyjetpack/followers","following_url":"https://api.github.com/users/whereismyjetpack/following{/other_user}","gists_url":"https://api.github.com/users/whereismyjetpack/gists{/gist_id}","starred_url":"https://api.github.com/users/whereismyjetpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whereismyjetpack/subscriptions","organizations_url":"https://api.github.com/users/whereismyjetpack/orgs","repos_url":"https://api.github.com/users/whereismyjetpack/repos","events_url":"https://api.github.com/users/whereismyjetpack/events{/privacy}","received_events_url":"https://api.github.com/users/whereismyjetpack/received_events","type":"User","site_admin":false},"created_at":"2018-11-10T13:52:30Z","updated_at":"2018-11-10T13:52:30Z","author_association":"NONE","body":"Hi! Try this:\r\n\r\n```\r\n      annotations:\r\n        flux.weave.works/automated: \"true\"\r\n        flux.weave.works/tag.k8s-mon: \"glob:master-*\"\r\n    spec:\r\n      containers:\r\n      - name: k8s-mon\r\n        image: index.docker.io/larktech/k8s-mon:latest\r\n```\r\n\r\n"}}
{"actor":{"display_login":"whereismyjetpack"}}