Skip to content

Commit

Permalink
trifid: add default values
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Jul 17, 2024
1 parent 9055247 commit d1dffdf
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 19 deletions.
2 changes: 1 addition & 1 deletion zazuko/trifid/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
84 changes: 66 additions & 18 deletions zazuko/trifid/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@
},
"imagePullSecrets": {
"type": "array",
"items": {}
"items": {},
"default": []
},
"nameOverride": {
"type": "string"
"type": "string",
"default": ""
},
"fullnameOverride": {
"type": "string"
"type": "string",
"default": ""
},
"serviceAccount": {
"$ref": "#/definitions/ServiceAccount"
Expand Down Expand Up @@ -134,12 +137,14 @@
"Annotations": {
"type": "object",
"additionalProperties": true,
"title": "Annotations"
"title": "Annotations",
"default": {}
},
"Labels": {
"type": "object",
"additionalProperties": true,
"title": "Labels"
"title": "Labels",
"default": {}
},
"PodSecurityContext": {
"type": "object",
Expand All @@ -158,7 +163,8 @@
"type": "integer"
}
},
"title": "PodSecurityContext"
"title": "PodSecurityContext",
"default": {}
},
"SecurityContext": {
"type": "object",
Expand Down Expand Up @@ -188,17 +194,20 @@
"additionalProperties": true
}
},
"title": "SecurityContext"
"title": "SecurityContext",
"default": {}
},
"Affinity": {
"type": "object",
"additionalProperties": true,
"title": "Affinity"
"title": "Affinity",
"default": {}
},
"NodeSelector": {
"type": "object",
"additionalProperties": true,
"title": "NodeSelector"
"title": "NodeSelector",
"default": {}
},
"Autoscaling": {
"type": "object",
Expand All @@ -220,7 +229,14 @@
"type": "integer"
}
},
"title": "Autoscaling"
"title": "Autoscaling",
"default": {
"enabled": false,
"minReplicas": 1,
"maxReplicas": 100,
"targetCPUUtilizationPercentage": 80,
"targetMemoryUtilizationPercentage": 80
}
},
"Image": {
"type": "object",
Expand All @@ -236,7 +252,12 @@
"type": "string"
}
},
"title": "Image"
"title": "Image",
"default": {
"repository": "ghcr.io/zazuko/trifid",
"pullPolicy": "IfNotPresent",
"tag": ""
}
},
"ExtraEnv": {
"type": "array",
Expand All @@ -255,7 +276,8 @@
"name"
]
},
"title": "ExtraEnv"
"title": "ExtraEnv",
"default": []
},
"Ingress": {
"type": "object",
Expand All @@ -281,7 +303,14 @@
"items": {}
}
},
"title": "Ingress"
"title": "Ingress",
"default": {
"enabled": false,
"className": "",
"annotations": {},
"hosts": [],
"tls": []
}
},
"Host": {
"type": "object",
Expand Down Expand Up @@ -315,7 +344,11 @@
]
}
},
"title": "Path"
"title": "Path",
"default": {
"path": "/",
"pathType": "ImplementationSpecific"
}
},
"Probe": {
"type": "object",
Expand Down Expand Up @@ -356,7 +389,8 @@
}
}
},
"title": "Resources"
"title": "Resources",
"default": {}
},
"HTTPGet": {
"type": "object",
Expand All @@ -370,7 +404,11 @@
}
},
"title": "HTTPGet",
"description": "HTTPGet describes an HTTP Get request used to perform readiness or liveness checks."
"description": "HTTPGet describes an HTTP Get request used to perform readiness or liveness checks.",
"default": {
"path": "/healthz",
"port": "http"
}
},
"Service": {
"type": "object",
Expand All @@ -384,7 +422,11 @@
}
},
"title": "Service",
"description": "Service configuration"
"description": "Service configuration",
"default": {
"type": "ClusterIP",
"port": 8080
}
},
"ServiceAccount": {
"type": "object",
Expand All @@ -404,7 +446,13 @@
}
},
"title": "ServiceAccount",
"description": "ServiceAccount configuration"
"description": "ServiceAccount configuration",
"default": {
"create": false,
"automount": true,
"annotations": {},
"name": ""
}
},
"ReplicaCount": {
"type": "integer",
Expand Down

0 comments on commit d1dffdf

Please sign in to comment.