{"action":"created","issue":{"url":"https://api.github.com/repos/UKHomeOffice/kb8or/issues/31","labels_url":"https://api.github.com/repos/UKHomeOffice/kb8or/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/UKHomeOffice/kb8or/issues/31/comments","events_url":"https://api.github.com/repos/UKHomeOffice/kb8or/issues/31/events","html_url":"https://github.com/UKHomeOffice/kb8or/issues/31","id":113412800,"number":31,"title":"Enable base64 encoding of variables","user":{"login":"lewismarshall","id":2500933,"avatar_url":"https://avatars.githubusercontent.com/u/2500933?v=3","gravatar_id":"","url":"https://api.github.com/users/lewismarshall","html_url":"https://github.com/lewismarshall","followers_url":"https://api.github.com/users/lewismarshall/followers","following_url":"https://api.github.com/users/lewismarshall/following{/other_user}","gists_url":"https://api.github.com/users/lewismarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/lewismarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewismarshall/subscriptions","organizations_url":"https://api.github.com/users/lewismarshall/orgs","repos_url":"https://api.github.com/users/lewismarshall/repos","events_url":"https://api.github.com/users/lewismarshall/events{/privacy}","received_events_url":"https://api.github.com/users/lewismarshall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T17:51:17Z","updated_at":"2015-11-30T09:54:50Z","closed_at":"2015-11-30T09:54:50Z","body":"Either add an option to base64 encode file includes OR add a Function to base64 encode any variable.\r\nShould be able to generate secrets from a bunch of files...\r\n\r\nWould require #37 E.g:\r\n\r\n```yaml\r\nmy_var:\r\n  Fn::FileData: /root/.secrets/secret-data-1\r\n\r\nbase64_var:\r\n  Fn::Base64EncVar: my_var\r\n```\r\n\r\nThen in a resource:\r\n```yaml\r\napiVersion: v1\r\nkind: Secret\r\nmetadata:\r\n  name: test-secret\r\ndata:\r\n  data-1: ${ base64_var }\r\n```"},"comment":{"url":"https://api.github.com/repos/UKHomeOffice/kb8or/issues/comments/160580558","html_url":"https://github.com/UKHomeOffice/kb8or/issues/31#issuecomment-160580558","issue_url":"https://api.github.com/repos/UKHomeOffice/kb8or/issues/31","id":160580558,"user":{"login":"lewismarshall","id":2500933,"avatar_url":"https://avatars.githubusercontent.com/u/2500933?v=3","gravatar_id":"","url":"https://api.github.com/users/lewismarshall","html_url":"https://github.com/lewismarshall","followers_url":"https://api.github.com/users/lewismarshall/followers","following_url":"https://api.github.com/users/lewismarshall/following{/other_user}","gists_url":"https://api.github.com/users/lewismarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/lewismarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewismarshall/subscriptions","organizations_url":"https://api.github.com/users/lewismarshall/orgs","repos_url":"https://api.github.com/users/lewismarshall/repos","events_url":"https://api.github.com/users/lewismarshall/events{/privacy}","received_events_url":"https://api.github.com/users/lewismarshall/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T09:54:50Z","updated_at":"2015-11-30T09:54:50Z","body":"Probably not going to add this as already fixed as part of #52 "}}