Skip to content

Commit

Permalink
fix: snake_case for k8s fields
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-s committed Dec 10, 2024
1 parent 63018c5 commit ae97821
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ public class K8sFunctionTaskBaseSpec extends FunctionTaskBaseSpec {

private List<CoreToleration> tolerations;

@JsonProperty("runtime_class")
private String runtimeClass;

@JsonProperty("priority_class")
private String priorityClass;

private String profile;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ public class K8sWorkflowTaskBaseSpec extends WorkflowTaskBaseSpec {

private List<CoreToleration> tolerations;

@JsonProperty("runtime_class")
private String runtimeClass;

@JsonProperty("priority_class")
private String priorityClass;

private String profile;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class ContainerJobTaskSpec extends K8sFunctionTaskBaseSpec {
@Pattern(regexp = Keys.CRONTAB_PATTERN)
private String schedule;

@JsonProperty("fs_group")
@Min(1)
private Integer fsGroup;

Expand Down

0 comments on commit ae97821

Please sign in to comment.