{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/acs-engine/issues/2383","repository_url":"https://api.github.com/repos/Azure/acs-engine","labels_url":"https://api.github.com/repos/Azure/acs-engine/issues/2383/labels{/name}","comments_url":"https://api.github.com/repos/Azure/acs-engine/issues/2383/comments","events_url":"https://api.github.com/repos/Azure/acs-engine/issues/2383/events","html_url":"https://github.com/Azure/acs-engine/issues/2383","id":301773184,"number":2383,"title":"enablePrivateCluster flag failing","user":{"login":"SilvioPilato","id":23119566,"avatar_url":"https://avatars2.githubusercontent.com/u/23119566?v=4","gravatar_id":"","url":"https://api.github.com/users/SilvioPilato","html_url":"https://github.com/SilvioPilato","followers_url":"https://api.github.com/users/SilvioPilato/followers","following_url":"https://api.github.com/users/SilvioPilato/following{/other_user}","gists_url":"https://api.github.com/users/SilvioPilato/gists{/gist_id}","starred_url":"https://api.github.com/users/SilvioPilato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilvioPilato/subscriptions","organizations_url":"https://api.github.com/users/SilvioPilato/orgs","repos_url":"https://api.github.com/users/SilvioPilato/repos","events_url":"https://api.github.com/users/SilvioPilato/events{/privacy}","received_events_url":"https://api.github.com/users/SilvioPilato/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-02T13:54:35Z","updated_at":"2018-03-02T13:54:35Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for filing an issue! Before hitting the button, please answer these questions. It's helpful to search the existing GitHub issues first. It's likely that another user has already reported the issue you're facing, or it's a known issue that we're already aware of-->\r\n\r\n**Is this a request for help?**:\r\nYes\r\n---\r\n\r\n**Is this an ISSUE or FEATURE REQUEST?** (choose one):\r\nISSUE\r\n---\r\n\r\n**What version of acs-engine?**:\r\n0.13.1\r\n---\r\n\r\n\r\n<!--\r\nIf this is a ISSUE, please:\r\n  - Fill in as much of the template below as you can.  If you leave out\r\n    information, we can't help you as well.\r\n\r\nIf this is a FEATURE REQUEST, please:\r\n  - Describe *in detail* the feature/behavior/change you'd like to see.\r\n\r\nIn both cases, be ready for followup questions, and please respond in a timely\r\nmanner.  If we can't reproduce a bug or think a feature already exists, we\r\nmight close your issue.  If we're wrong, PLEASE feel free to reopen it and\r\nexplain why.\r\n-->\r\n\r\n**Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)**\r\nKubernetes v1.7.7\r\n\r\n**What happened**:\r\nWe tried to deploy the following json template on a custom vnet with acs-engine, but running acs-engine deploy on it returned the following error:\r\n\r\nINFO[0000] Error returned by LoadContainerService: Unknown JSON tag enablePrivateCluster\r\nFATA[0000] error validating generateCmd: error parsing the api model: Unknown JSON tag enablePrivateCluster\r\n\r\n`{\r\n  \"apiVersion\": \"vlabs\",\r\n  \"properties\": {\r\n    \"orchestratorProfile\": {\r\n      \"orchestratorType\": \"Kubernetes\",\r\n      \"orchestratorVersion\": \"1.7.7\",\r\n      \"kubernetesConfig\": {\r\n        \"networkPolicy\": \"calico\",\r\n        \"enablePrivateCluster\": true\r\n      }\r\n    },\r\n    \"masterProfile\": {\r\n      \"count\": 3,\r\n      \"vmSize\": \"Standard_DS3_v2\",\r\n      \"dnsPrefix\":\"xxx\",\r\n      \"vnetSubnetId\":\"xxx\",\r\n      \"firstConsecutiveStaticIp\":\"xxx\",\r\n      \"vnetCidr\": \"10.12.195.16/28\"\r\n    },\r\n    \"agentPoolProfiles\": [\r\n      {\r\n        \"name\": \"agentpool1\",\r\n        \"count\": 3,\r\n        \"vmSize\": \"Standard_DS3_v2\",\r\n        \"availabilityProfile\": \"AvailabilitySet\",\r\n        \"vnetSubnetId\":\"xxx\"\r\n      }\r\n    ],\r\n    \"linuxProfile\": {\r\n      \"adminUsername\": \"xxx\",\r\n      \"ssh\": {\r\n        \"publicKeys\": [\r\n          {\r\n            \"keyData\": \"xxx\"\r\n          }\r\n        ]\r\n      }\r\n    },\r\n    \"servicePrincipalProfile\": {\r\n      \"clientId\": \"xxx\",\r\n      \"secret\": \"xxx\"\r\n    }\r\n  }\r\n}`\r\n\r\n**What you expected to happen**:\r\nTo have a private kubernetes cluster deployed on target vnet\r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\nRun acs-engine deploy on given api-model"}}
{"actor":{"display_login":"SilvioPilato"}}