{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2003","repository_url":"https://api.github.com/repos/coreos/prometheus-operator","labels_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2003/labels{/name}","comments_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2003/comments","events_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2003/events","html_url":"https://github.com/coreos/prometheus-operator/issues/2003","id":369415166,"node_id":"MDU6SXNzdWUzNjk0MTUxNjY=","number":2003,"title":"Alertmanager Config incompatible with Kustomize","user":{"login":"lswith","id":1018619,"node_id":"MDQ6VXNlcjEwMTg2MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1018619?v=4","gravatar_id":"","url":"https://api.github.com/users/lswith","html_url":"https://github.com/lswith","followers_url":"https://api.github.com/users/lswith/followers","following_url":"https://api.github.com/users/lswith/following{/other_user}","gists_url":"https://api.github.com/users/lswith/gists{/gist_id}","starred_url":"https://api.github.com/users/lswith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lswith/subscriptions","organizations_url":"https://api.github.com/users/lswith/orgs","repos_url":"https://api.github.com/users/lswith/repos","events_url":"https://api.github.com/users/lswith/events{/privacy}","received_events_url":"https://api.github.com/users/lswith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T06:23:37Z","updated_at":"2018-10-12T09:28:26Z","closed_at":null,"author_association":"NONE","body":"Alertmanager is configured by specifying a secret with the name:\r\n\r\n```\r\nalertmanager-<name>\r\n```\r\n\r\nKustomize and Kubernetes are moving towards creating temporary secrets of the form:\r\n```\r\nalertmanager-<hash>\r\n```\r\nand updating these secrets when the md5sum of the file they reference has changed. \r\n\r\nIt would be nice to be able to specify the alertmanager configuration file name in the alertmanager resource. Something like:\r\n\r\n```\r\napiVersion: monitoring.coreos.com/v1\r\nkind: Alertmanager\r\nmetadata:\r\n  name: alertmanager\r\nspec:\r\n   alertmanagerConfig: <config-file-name>\r\n ```\r\n\r\nThis would allow kustomize and other tools to update both the Alertmanager resource and specify new versions of the alertmanager config.\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/prometheus-operator/issues/comments/429264491","html_url":"https://github.com/coreos/prometheus-operator/issues/2003#issuecomment-429264491","issue_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2003","id":429264491,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTI2NDQ5MQ==","user":{"login":"metalmatze","id":872251,"node_id":"MDQ6VXNlcjg3MjI1MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/872251?v=4","gravatar_id":"","url":"https://api.github.com/users/metalmatze","html_url":"https://github.com/metalmatze","followers_url":"https://api.github.com/users/metalmatze/followers","following_url":"https://api.github.com/users/metalmatze/following{/other_user}","gists_url":"https://api.github.com/users/metalmatze/gists{/gist_id}","starred_url":"https://api.github.com/users/metalmatze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalmatze/subscriptions","organizations_url":"https://api.github.com/users/metalmatze/orgs","repos_url":"https://api.github.com/users/metalmatze/repos","events_url":"https://api.github.com/users/metalmatze/events{/privacy}","received_events_url":"https://api.github.com/users/metalmatze/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T09:28:26Z","updated_at":"2018-10-12T09:28:26Z","author_association":"COLLABORATOR","body":"What does a temporary secret in this case mean? \r\nIf it is removed at some point in the life cycle of the Alertmanagers running, I'm not sure we can support this, as we might need to read the secret again."}}
{"actor":{"display_login":"metalmatze"}}