Skip to content

Commit

Permalink
Update nbc contract: identityconfig, vmtype, nodepoolprofile (#4208)
Browse files Browse the repository at this point in the history
Co-authored-by: Lily Pan <[email protected]>
  • Loading branch information
lilypan26 and Lily Pan authored Mar 29, 2024
1 parent 2f81e74 commit d9ad8ea
Show file tree
Hide file tree
Showing 17 changed files with 1,186 additions and 1,326 deletions.
1 change: 0 additions & 1 deletion pkg/parser/utilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ func getBaseTemplate() *nbcontractv1.Configuration {
return &nbcontractv1.Configuration{
ProvisionOutput: "/var/log/azure/cluster-provision-cse-output.log",
LinuxAdminUsername: "azureuser",
TenantId: "",
KubernetesVersion: "1.26.0",
KubeBinaryConfig: &nbcontractv1.KubeBinaryConfig{
KubeBinaryUrl: "",
Expand Down
223 changes: 223 additions & 0 deletions pkg/proto/nbcontract/v1/authconfig.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions pkg/proto/nbcontract/v1/authconfig.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
syntax = "proto3";
package nbcontract.v1;

// Auth Config fields stored in azure.json used by cloud-provider-azure
message AuthConfig {
string target_cloud = 1; // set to cloud, default to AzurePublicCloud
string tenant_id = 2;
string subscription_id = 3;
string service_principal_id = 4; // set to aadClientId
string service_principal_secret = 5; // set to aadClientSecret
string assigned_identity_id = 6; //could be user or system assigned, depending on the type
bool use_managed_identity_extension = 7; // default to false
}
Loading

0 comments on commit d9ad8ea

Please sign in to comment.