Adjust validation to pass through complex readiness probes
We need to pass complex (dict-based) readiness probes through to entrypoint to handle. Keep backward compatibility with old oneline readiness probes for now. Change-Id: I2e8aaeeabcb0c2ddfcf605008763a7a938a578b4
This commit is contained in:
parent
a20501eb20
commit
af2ee6477b
|
@ -214,7 +214,10 @@ SERVICE_SCHEMA = {
|
|||
"additionalProperties": False,
|
||||
|
||||
"properties": {
|
||||
"readiness": NOT_EMPTY_STRING_SCHEMA,
|
||||
"readiness": {"oneOf": [
|
||||
NOT_EMPTY_STRING_SCHEMA,
|
||||
PROBE_SCHEMA,
|
||||
]},
|
||||
"liveness": PROBE_SCHEMA
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue