Bosh Release Property Validation RFC#1049
Conversation
e298c5d to
8434b29
Compare
|
During the TOC meeting on 28.01.2025 we decided to start the FCP with the goal to accept this RFC. |
|
I like the idea of the validation on the director side. It can be frustrating to generate all your certificates in credhub only to find out after hours of debugging that the SAN configuration was wrong. |
|
Hi everyone 👋 I've just been made aware of this PR as we have been wanting to perform some fairly advanced validation logic in one of our BOSH releases. Overall I think this is great and will add a lot of value but there are a couple of specifics that I'm not sure would be covered with JSON scheme:
Maybe it is possible to do these (in which case please let me know!) but if not I thought I'd mention them in case anyone else had similar requirements. |
|
Hi @teddyking , And it looks like uniqueItems does the second bit too. Seems like the ability to do uniqueness on non-primitive types must have been added in a recent draft of the schema because some older info says it isn't possible, but I tried it out and it seemed to work with objects or nested arrays just fine. We are open to adding validations that would be useful to multiple releases. But we probably want to keep the number of custom validations at least somewhat limited. So for more specific things, the recommendation would be to put them in the application logic or a pre-start script of some kind. |
Document BOSH release job property validation see: cloudfoundry/community#1049 see: cloudfoundry/bosh-cli#681 see: cloudfoundry/bosh#2602 Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
Document BOSH release job property validation see: cloudfoundry/community#1049 see: cloudfoundry/bosh-cli#681 see: cloudfoundry/bosh#2602 Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
Document BOSH release job property validation see: cloudfoundry/community#1049 see: cloudfoundry/bosh-cli#681 see: cloudfoundry/bosh#2602 Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
Document BOSH release job property validation see: cloudfoundry/community#1049 see: cloudfoundry/bosh-cli#681 see: cloudfoundry/bosh#2602 Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
Document BOSH release job property validation see: cloudfoundry/community#1049 see: cloudfoundry/bosh-cli#681 see: cloudfoundry/bosh#2602 Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
Markdown View of the RFC