aks-engine/parts/k8s/kubeconfig.json

30 строки
1.0 KiB
JSON

{
"apiVersion": "v1",
"clusters": [
{
"cluster": {
"certificate-authority-data": "{{WrapAsVerbatim "parameters('caCertificate')"}}",
"server": "https://{{WrapAsVerbatim "reference(concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))).dnsSettings.fqdn"}}"
},
"name": "{{WrapAsVariable "resourceGroup"}}"
}
],
"contexts": [
{
"context": {
"cluster": "{{WrapAsVariable "resourceGroup"}}",
"user": "{{WrapAsVariable "resourceGroup"}}-admin"
},
"name": "{{WrapAsVariable "resourceGroup"}}"
}
],
"current-context": "{{WrapAsVariable "resourceGroup"}}",
"kind": "Config",
"users": [
{
"name": "{{WrapAsVariable "resourceGroup"}}-admin",
"user": {{authInfo}}
}
]
}