Skip to content

Commit 6f62b7d

Browse files
Merge pull request openshift#6975 from jhixson74/master_azure_ocpbugs_8449
OCPBUGS-8449: pkg/asset/installconfig: set subscriptionID
2 parents 28229c2 + 504c5fd commit 6f62b7d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

data/data/install.openshift.io_installconfigs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ spec:
258258
required:
259259
- name
260260
- resourceGroup
261+
- subscriptionId
261262
type: object
262263
diskSizeGB:
263264
description: DiskSizeGB defines the size of disk in
@@ -1164,6 +1165,7 @@ spec:
11641165
required:
11651166
- name
11661167
- resourceGroup
1168+
- subscriptionId
11671169
type: object
11681170
diskSizeGB:
11691171
description: DiskSizeGB defines the size of disk in GB.
@@ -2373,6 +2375,7 @@ spec:
23732375
required:
23742376
- name
23752377
- resourceGroup
2378+
- subscriptionId
23762379
type: object
23772380
diskSizeGB:
23782381
description: DiskSizeGB defines the size of disk in GB.

pkg/types/azure/disk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type OSDisk struct {
3636
type DiskEncryptionSet struct {
3737
// SubscriptionID defines the Azure subscription the disk encryption
3838
// set is in.
39-
SubscriptionID string `json:"subscriptionId,omitempty"`
39+
SubscriptionID string `json:"subscriptionId"`
4040
// ResourceGroup defines the Azure resource group used by the disk
4141
// encryption set.
4242
ResourceGroup string `json:"resourceGroup"`

0 commit comments

Comments
 (0)