Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Add admission webhooks or something else for arrays in application spec #1

Description

@korotindev
soxat@soxat operator-sdk-testing % kubectl create -f deploy/crds/app.korotin.dev_applications_crd.yaml
The CustomResourceDefinition "applications.app.korotin.dev" is invalid:
* spec.validation.openAPIV3Schema.properties[spec].properties[containers].uniqueItems: Forbidden: uniqueItems cannot be set to true since the runtime complexity becomes quadratic
* spec.validation.openAPIV3Schema.properties[spec].properties[containers].items.properties[ports].uniqueItems: Forbidden: uniqueItems cannot be set to true since the runtime complexity becomes quadratic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions