Skip to content

Commit

Permalink
capabilitiesV2: product crd custom oneof validations
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Jun 9, 2020
1 parent a61d933 commit 6dd2033
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions deploy/crds/capabilities.3scale.net_products_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,15 @@ spec:
type: object
type: object
type: object
oneOf:
- properties:
userkey:
type: object
required: ["userkey"]
- properties:
appKeyAppID:
type: object
required: ["appKeyAppID"]
type: object
apicastSelfManaged:
description: ApicastSelfManagedSpec defines the desired state of
Expand Down Expand Up @@ -284,6 +293,15 @@ spec:
type: object
type: object
type: object
oneOf:
- properties:
userkey:
type: object
required: ["userkey"]
- properties:
appKeyAppID:
type: object
required: ["appKeyAppID"]
productionPublicBaseURL:
pattern: ^https?:\/\/.*$
type: string
Expand All @@ -292,6 +310,15 @@ spec:
type: string
type: object
type: object
oneOf:
- properties:
apicastHosted:
type: object
required: ["apicastHosted"]
- properties:
apicastSelfManaged:
type: object
required: ["apicastSelfManaged"]
description:
type: string
mappingRules:
Expand Down

0 comments on commit 6dd2033

Please sign in to comment.