-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update nbc contract: identityconfig, vmtype, nodepoolprofile #4208
Merged
+1,186
−1,326
Merged
Changes from 14 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
39b32ba
update nbc contract: identityconfig, vmtype, and nodepoolprofile
82559ff
change default vmtype to standard
c6e9fcb
Merge branch 'master' into lily/update-contract-identity-config
lilypan26 8ab66b0
add vmtype unspecified
3fcc491
Merge branch 'lily/update-contract-identity-config' of https://github…
2f59233
add back vm_size as top level field
aa05cb4
replace identityconfig with authconfig
8bf7226
group cluster config fields
96b373c
move vmtype and lbconfig to clusterconfig
eaced64
fix parser
f8006cc
Merge branch 'master' into lily/update-contract-identity-config
lilypan26 59bde8a
add comments
6f79fc8
Merge branch 'lily/update-contract-identity-config' of https://github…
dc587ca
Merge branch 'master' into lily/update-contract-identity-config
lilypan26 ebdec88
remove isSgxNode
2f4a709
Merge branch 'lily/update-contract-identity-config' of https://github…
b724971
Merge branch 'master' into lily/update-contract-identity-config
lilypan26 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least these (and possibly others) can be unspecified. What pattern did we settle on for handling optional strings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we decided that unless we need to change the default value of just an empty string or need to handle the nil case specially, then there is no need to specify optional. In this case, not specifying it should have an empty string value so i excluded the optional.