Skip to content

Commit

Permalink
Update webhook patch files to be valid for v1 CRDs (#1503)
Browse files Browse the repository at this point in the history
I really should have tried deploying the resulting CRDs, rather than just seeing
that the patches applied cleanly after the update.
  • Loading branch information
babbageclunk authored May 21, 2021
1 parent 6ba28a5 commit 0338b8d
Show file tree
Hide file tree
Showing 43 changed files with 344 additions and 215 deletions.
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_apimgmtapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ metadata:
spec:
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_apimservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_appinsights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_appinsightsapikeys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azureloadbalancers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azurenetworkinterfaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azurepublicipaddresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azuresqlactions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azuresqldatabases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azuresqlfailovergroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azuresqlfirewallrules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azuresqlmanagedusers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azuresqlservers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azuresqlusers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azuresqlvnetrules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azurevirtualmachineextensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azurevirtualmachines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_azurevmscalesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_blobcontainers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_consumergroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_cosmosdbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_eventhubnamespaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
13 changes: 8 additions & 5 deletions config/crd/patches/webhook_in_eventhubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ spec:
preserveUnknownFields: false
conversion:
strategy: Webhook
webhookClientConfig:
service:
namespace: system
name: webhook-service
path: /convert
webhook:
conversionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
Loading

0 comments on commit 0338b8d

Please sign in to comment.