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
Custom validation checks should process using jinja2 to validate check conditions:
spec:
validation:
customValidation:
- name: destroy schedule must be no more than 14 days from creation
check: spec.actionSchedule.destroy < timestamp(resource_claim.metadata.creationTimestamp).add('14d')
- name: stop schedule must be no more than 8 hours from now
check: spec.actionSchedule.stop < timestamp.utcnow.add('8h')
The text was updated successfully, but these errors were encountered:
jkupferer
changed the title
Implement custom validation checks:
Implement custom validation checks
Aug 13, 2019
Custom validation checks should process using jinja2 to validate check conditions:
The text was updated successfully, but these errors were encountered: