Skip to content

Commit

Permalink
azure/config: default to private gallery
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
  • Loading branch information
katexochen committed Dec 4, 2024
1 parent 069376c commit f831cbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var defaultConfig = Config{
},
Azure: AzureConfig{
AttestationVariant: "azure-sev-snp",
SharingProfile: "community",
SharingProfile: "private",
ImageDefinitionName: "{{.Name}}",
DiskName: "{{.Name}}-{{.Version}}",
Offer: "Linux",
Expand Down
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func TestConfigSetDefaults(t *testing.T) {
assert.Empty(config.Name)
assert.True(config.AWS.Publish.IsSome())
assert.False(config.AWS.Publish.Val)
assert.Equal("community", config.Azure.SharingProfile)
assert.Equal("private", config.Azure.SharingProfile)
}

func TestConfigMerge(t *testing.T) {
Expand Down

0 comments on commit f831cbe

Please sign in to comment.