-
Notifications
You must be signed in to change notification settings - Fork 257
feat: gate custom cloud cert pull on RCV 1P opt-in #7958
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
Changes from all commits
fb84663
6e3028a
5d7ad45
fc0c4bf
5a533c4
4f547f8
d79f412
580ec6f
103e28a
2f2318f
b1537ca
8fbc105
0b0dc4c
5d11d85
5b1ed0b
c0721b0
11a298c
4a0f82d
d4ec340
4a4ae08
2042159
5220a08
b6d79af
b5717b9
4fd7a72
2b6a547
1c596d0
fc7494e
7f58679
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,10 +16,8 @@ else | |
| exit ${cloudInitExitCode}; | ||
| fi; | ||
| {{end}} | ||
| {{if IsAKSCustomCloud}} | ||
| REPO_DEPOT_ENDPOINT="{{AKSCustomCloudRepoDepotEndpoint}}" | ||
| {{GetInitAKSCustomCloudFilepath}} >> /var/log/azure/cluster-provision.log 2>&1; | ||
|
Comment on lines
19
to
20
|
||
| {{end}} | ||
| ADMINUSER={{GetParameter "linuxAdminUsername"}} | ||
| MOBY_VERSION={{GetParameter "mobyVersion"}} | ||
| TENANT_ID={{GetVariable "tenantID"}} | ||
|
|
||
This file was deleted.
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.
This template now always emits the custom-cloud RepoDepot endpoint and executes the custom-cloud init script, even when
.CustomCloudConfigis not present /getIsAksCustomCloudis false. That can cause non-custom-cloud nodes to run custom-cloud CA/repo initialization (or to attempt to execute an empty/nonexistent init script). Restore the conditional{{if getIsAksCustomCloud .CustomCloudConfig}} ... {{end}}around these two lines.