Skip to content

Commit

Permalink
Add support for annotations in helm chart (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnksv authored Sep 12, 2024
1 parent 87e007d commit 1f470be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions onyxia-model/src/main/java/fr/insee/onyxia/model/helm/Chart.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ public class Chart extends Pkg {
@JsonProperty("version")
private String version;

@Schema(description = "")
@JsonProperty("annotations")
private Map<String, String> annotations;

@JsonIgnore private Map<String, Object> additionalProperties = new HashMap<String, Object>();

@Schema(description = "")
Expand Down Expand Up @@ -243,6 +247,16 @@ public void setVersion(String version) {
this.version = version;
}

@JsonProperty("annotations")
public Map<String, String> getAnnotations() {
return annotations;
}

@JsonProperty("annotations")
public void setAnnotations(Map<String, String> annotations) {
this.annotations = annotations;
}

@JsonProperty("defaultValues")
public String getDefaultValues() {
return defaultValues;
Expand Down

0 comments on commit 1f470be

Please sign in to comment.