Skip to content

Commit

Permalink
update schema-config
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Aug 13, 2024
1 parent 79dd728 commit 25bf3cb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hack/schemapatch-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,20 @@ k8s.io/api/core/v1.PodSpec:
description: 'EnableServiceLinks indicates whether information about services should be injected into pod''s environment variables, matching the syntax of Docker links. Optional: Knative defaults this to false.'
HostAliases:
description: "This is accessible behind a feature flag - kubernetes.podspec-hostaliases"
additionalMarkers:
- kubebuilder:validation:DropListMapMarkers
itemOverride:
description: "This is accessible behind a feature flag - kubernetes.podspec-hostaliases"
additionalMarkers:
# # Part of a feature flag - so we want to omit the schema and preserve unknown fields
- kubebuilder:validation:DropProperties
- kubebuilder:pruning:PreserveUnknownFields
Containers:
additionalMarkers:
- kubebuilder:validation:DropListMapMarkers
InitContainers:
additionalMarkers:
- kubebuilder:validation:DropListMapMarkers
itemOverride:
description: "This is accessible behind a feature flag - kubernetes.podspec-init-containers"
additionalMarkers:
Expand Down

0 comments on commit 25bf3cb

Please sign in to comment.