diff --git a/pkl/crossplane.contrib/CompositionResponse.pkl b/pkl/crossplane.contrib/CompositionResponse.pkl index 6649f9a..b47f21c 100644 --- a/pkl/crossplane.contrib/CompositionResponse.pkl +++ b/pkl/crossplane.contrib/CompositionResponse.pkl @@ -41,7 +41,7 @@ class ResponseMeta { /// A Result of running a Function. class Result { /// Severity of this result. - severity: Severity + severity: Severity = SEVERITY_UNSPECIFIED /// Human-readable details about the result. message: String diff --git a/pkl/crossplane.contrib/Resource.pkl b/pkl/crossplane.contrib/Resource.pkl index c339cae..b0fdb43 100644 --- a/pkl/crossplane.contrib/Resource.pkl +++ b/pkl/crossplane.contrib/Resource.pkl @@ -34,7 +34,7 @@ typealias Ready = Int(isBetween(0,2)) /// /// - A Function should not set this field in a RunFunctionResponse to indicate /// that the desired composite resource is ready. This will be ignored. -ready: Ready? +ready: Ready? = READY_UNSPECIFIED /// The resource's connection details. ///