{"action":"created","issue":{"url":"https://api.github.com/repos/jtaleric/benchmark-operator/issues/13","repository_url":"https://api.github.com/repos/jtaleric/benchmark-operator","labels_url":"https://api.github.com/repos/jtaleric/benchmark-operator/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/jtaleric/benchmark-operator/issues/13/comments","events_url":"https://api.github.com/repos/jtaleric/benchmark-operator/issues/13/events","html_url":"https://github.com/jtaleric/benchmark-operator/issues/13","id":422102213,"node_id":"MDU6SXNzdWU0MjIxMDIyMTM=","number":13,"title":"Changes in main.yaml under fio-bench/tasks not reflected","user":{"login":"shekharberry","id":13884805,"node_id":"MDQ6VXNlcjEzODg0ODA1","avatar_url":"https://avatars3.githubusercontent.com/u/13884805?v=4","gravatar_id":"","url":"https://api.github.com/users/shekharberry","html_url":"https://github.com/shekharberry","followers_url":"https://api.github.com/users/shekharberry/followers","following_url":"https://api.github.com/users/shekharberry/following{/other_user}","gists_url":"https://api.github.com/users/shekharberry/gists{/gist_id}","starred_url":"https://api.github.com/users/shekharberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shekharberry/subscriptions","organizations_url":"https://api.github.com/users/shekharberry/orgs","repos_url":"https://api.github.com/users/shekharberry/repos","events_url":"https://api.github.com/users/shekharberry/events{/privacy}","received_events_url":"https://api.github.com/users/shekharberry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-18T08:58:44Z","updated_at":"2019-03-18T20:28:50Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI was trying to tweak main.yaml to understand how Fio-bench works but any change done to main.yaml is not reflected once I deploy the CR.\r\nSay for eg:\r\nEven If i just change the name of Configmap to fio-test_shekhar and redeploy the CR the configmap is still created with name fio-test.\r\n\r\nname: Generate fio test\r\n  k8s:\r\n    definition:\r\n      apiVersion: v1\r\n      kind: ConfigMap\r\n      metadata:\r\n        name: fio-test_shekhar\r\n        namespace: '{{ meta.namespace }}'\r\n      data:\r\n        fiojob: \"{{ lookup('template', 'job.fio.seq_write') }}\"\r\n  when: fio.clients > 0\r\n\r\noc get configmap\r\nNAME                      DATA      AGE\r\nbenchmark-operator-lock   0         3h\r\nfio-test                  1         1h\r\n\r\nAm I missing something??\r\n"},"comment":{"url":"https://api.github.com/repos/jtaleric/benchmark-operator/issues/comments/474087944","html_url":"https://github.com/jtaleric/benchmark-operator/issues/13#issuecomment-474087944","issue_url":"https://api.github.com/repos/jtaleric/benchmark-operator/issues/13","id":474087944,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NDA4Nzk0NA==","user":{"login":"dustinblack","id":10656942,"node_id":"MDQ6VXNlcjEwNjU2OTQy","avatar_url":"https://avatars1.githubusercontent.com/u/10656942?v=4","gravatar_id":"","url":"https://api.github.com/users/dustinblack","html_url":"https://github.com/dustinblack","followers_url":"https://api.github.com/users/dustinblack/followers","following_url":"https://api.github.com/users/dustinblack/following{/other_user}","gists_url":"https://api.github.com/users/dustinblack/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinblack/subscriptions","organizations_url":"https://api.github.com/users/dustinblack/orgs","repos_url":"https://api.github.com/users/dustinblack/repos","events_url":"https://api.github.com/users/dustinblack/events{/privacy}","received_events_url":"https://api.github.com/users/dustinblack/received_events","type":"User","site_admin":false},"created_at":"2019-03-18T20:28:50Z","updated_at":"2019-03-18T20:28:50Z","author_association":"NONE","body":"I think you already had a chat with @jtaleric about this, but the gist of it is that any changes to the roles mean that the operator image has to be rebuilt. You'll need the operator-sdk to complete this, and following our current test build process you will need an account on quay.io to upload your operator:testing images to.\r\n\r\n```\r\n# operator-sdk build quay.io/<username>/benchmark-operator:testing\r\n# docker push quay.io/<username>/benchmark-operator:testing\r\n```\r\n\r\nYou will also need to edit deploy/operator.yaml to point to your quay.io image URL.\r\n\r\n```\r\n...\r\nspec:\r\n...\r\n  template:\r\n...\r\n    spec:\r\n...\r\n      containers:\r\n        - name: benchmark-operator\r\n          image: quay.io/jtaleric/benchmark-operator:latest\r\n...\r\n```"}}
{"actor":{"display_login":"dustinblack"}}