Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

fix: make httpGet probe port required, fix volume read_only to be camelCase#13

Merged
astromechza merged 2 commits intomainfrom
nitpicks
Feb 22, 2024
Merged

fix: make httpGet probe port required, fix volume read_only to be camelCase#13
astromechza merged 2 commits intomainfrom
nitpicks

Conversation

@astromechza
Copy link
Copy Markdown
Member

This PR fixes some trailing issues in the beta spec and improves the validation a bit further.

  1. Breaking Change, containers.*.volumes.*.read_only -> readOnly to match all the other fields.
  2. Breaking Change, containers.*.(livenessProbe|readinessProbe).httpGet.port is now required. (You can't really default this).
  3. Improve validation on containers.*.variables to disallow = from environment variable names
  4. added additionalProperties: false to containers.*.volumes and containers.*.files
  5. Fixed some description fields on probes

I don't expect this to cause issues in practise. I'm not aware of any examples that show the probes without a port. And we can document the fix to the read only property so that customers can fix it easily when the score implementation flags that the read_only form is not supported.

…elCase

Signed-off-by: Ben Meier <ben.meier@humanitec.com>
…lProperties=false

Signed-off-by: Ben Meier <ben.meier@humanitec.com>
@astromechza astromechza merged commit 515c899 into main Feb 22, 2024
@astromechza astromechza deleted the nitpicks branch February 22, 2024 14:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants