-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #816 from mergenci/storage-account-empty-diffs
Filter empty length key diffs in Storage Account resource
- Loading branch information
Showing
2 changed files
with
82 additions
and
1 deletion.
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
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,44 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
# Note that this resource is not _properly_ Uptestable, because Uptest | ||
# cannot generate a random string that conforms to Azure Storage | ||
# Account naming criteria: | ||
# https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview#storage-account-name | ||
# | ||
# Uptest should succeed, as long as the hardcoded `metadata.name` | ||
# below is available. | ||
|
||
apiVersion: storage.azure.upbound.io/v1beta1 | ||
kind: Account | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: storage/v1beta1/account | ||
labels: | ||
testing.upbound.io/example-name: example-storage | ||
name: examplesa539891 | ||
spec: | ||
forProvider: | ||
accountReplicationType: LRS | ||
accountTier: Standard | ||
location: "West Europe" | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example-storage | ||
|
||
--- | ||
|
||
apiVersion: azure.upbound.io/v1beta1 | ||
kind: ResourceGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: storage/v1beta1/account | ||
labels: | ||
testing.upbound.io/example-name: example-storage | ||
name: example-storage-${Rand.RFC1123Subdomain} | ||
spec: | ||
forProvider: | ||
location: "West Europe" | ||
tags: | ||
provisioner: crossplane |