Skip to content

Commit

Permalink
chore: add additonal properties for sub charts
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Jan 10, 2025
1 parent d792417 commit 5dba615
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
12 changes: 4 additions & 8 deletions chart/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"type": "object"
},
"apm-hub": {
"additionalProperties": false,
"additionalProperties": true,
"properties": {
"db": {
"additionalProperties": false,
Expand Down Expand Up @@ -115,7 +115,7 @@
"type": "string"
},
"canary-checker": {
"additionalProperties": false,
"additionalProperties": true,
"properties": {
"db": {
"additionalProperties": false,
Expand Down Expand Up @@ -739,7 +739,6 @@
},
"required": [
"create",
"conf",
"secretKeyRef",
"jwtSecretKeyRef",
"storageClass",
Expand Down Expand Up @@ -817,7 +816,7 @@
"type": "object"
},
"flanksource-ui": {
"additionalProperties": false,
"additionalProperties": true,
"properties": {
"backendURL": {
"default": "http://mission-control:8080",
Expand Down Expand Up @@ -1132,6 +1131,7 @@
"logLevel",
"imageRegistry",
"imagePrefix",
"labels",
"serviceMonitor",
"ui",
"api",
Expand Down Expand Up @@ -3174,12 +3174,8 @@
"db",
"smtp",
"adminPassword",
"canary-checker",
"config-db",
"apm-hub",
"ingress",
"flanksource-ui",
"kratos",
"resources"
],
"type": "object"
Expand Down
23 changes: 23 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ logLevel: "{{.Values.global.logLevel}}"
jsonLogs: true
db:
create: true
# @schema
# type: object
# @schema
conf:
max_connections: 200
shared_buffers: 1GB
Expand Down Expand Up @@ -177,6 +180,11 @@ adminPassword:
create: true
name: mission-control-admin-password
key: password

# @schema
# type: object
# additionalProperties: true
# @schema
canary-checker:
image:
type: full
Expand Down Expand Up @@ -211,6 +219,12 @@ config-db:
secretKeyRef:
name: incident-commander-postgres
key: DB_URL


# @schema
# type: object
# additionalProperties: true
# @schema
apm-hub:
enabled: false
db:
Expand All @@ -230,6 +244,11 @@ ingress:
- hosts:
- "{{.Values.global.api.host}}"
secretName: "{{.Values.global.api.tlsSecretName}}"

# @schema
# type: object
# additionalProperties: true
# @schema
flanksource-ui:
enabled: true
nameOverride: "incident-manager-ui"
Expand All @@ -254,6 +273,10 @@ flanksource-ui:
#
# - Disable kratos secret. Again, we explicitly generate secrets.yaml to include
# database URL in it.
# @schema
# type: object
# additionalProperties: true
# @schema
kratos:
enabled: true
image:
Expand Down

0 comments on commit 5dba615

Please sign in to comment.