You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With #27, the WildFlyServerSpec CRD expects the presence of applicationSource XOR applicationImage field.
I've not been able to find a way to express this mutual exclusion of fields with the k8s OpenAPI validation schema.
We have to install a validation Webhook to verify these additional constraints. Once a webhook is in place, we can add more validation to prevent installation of a WildFlyServerSpec that is not correct:
either applicationSource XOR applicationImage field must be set
verify that the referenced image stream tags for WildFly S2I images are available
etc.
The text was updated successfully, but these errors were encountered:
With #27, the
WildFlyServerSpec
CRD expects the presence ofapplicationSource
XORapplicationImage
field.I've not been able to find a way to express this mutual exclusion of fields with the k8s OpenAPI validation schema.
We have to install a validation Webhook to verify these additional constraints. Once a webhook is in place, we can add more validation to prevent installation of a
WildFlyServerSpec
that is not correct:applicationSource
XORapplicationImage
field must be setThe text was updated successfully, but these errors were encountered: