helm-charts/charts/library/common/values.schema.json
2025-05-16 12:40:44 +02:00

154 lines
4.9 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/bjw-s-labs/helm-charts/common-4.0.1/charts/library/common/values.schema.json",
"type": "object",
"properties": {
"global": {
"description": "Allows for configuring chart-wide settings",
"type": "object",
"properties": {
"nameOverride": {
"description": "Override the chart name",
"type": [
"string",
"null"
]
},
"fullnameOverride": {
"description": "Override the chart fullname definition",
"type": [
"string",
"null"
]
},
"propagateGlobalMetadataToPods": {
"description": "Propagate global metadata to Pod labels",
"type": "boolean",
"default": false
},
"labels": {
"description": "Set additional global labels. Helm templates can be used.",
"type": "object",
"$ref": "schemas/definitions.json#/labels"
},
"annotations": {
"description": "Set additional global annotations. Helm templates can be used.",
"type": "object",
"$ref": "schemas/definitions.json#/annotations"
}
}
},
"defaultPodOptionsStrategy": {
"description": "Set the strategy for the default pod options.\noverwrite: If pod-level options are set, use those instead of the defaults.\nmerge: If pod-level options are set, merge them with the defaults.",
"type": "string",
"default": "overwrite",
"enum": [
"overwrite",
"merge"
]
},
"defaultPodOptions": {
"description": "Define defaults for pod-level configuration options",
"type": "object",
"$ref": "schemas/pod.json#/options"
},
"controllers": {
"description": "Define the Pod controllers to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/controllers.json#/instance"
}
},
"serviceAccount": {
"description": "Kubernetes serviceAccount objects to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/serviceAccount.json#/instance"
}
},
"configMaps": {
"description": "Kubernetes ConfigMaps to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/configmap.json#/instance"
}
},
"secrets": {
"description": "Kubernetes Secrets to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/secret.json#/instance"
}
},
"ingress": {
"description": "Kubernetes Ingress objects to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/ingress.json#/instance"
}
},
"route": {
"description": "Kubernetes Gateway API *Route objects to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/route.json#/instance"
}
},
"service": {
"description": "Kubernetes Service objects to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/service.json#/instance"
}
},
"serviceMonitor": {
"description": "serviceMonitor objects to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/serviceMonitor.json#/instance"
}
},
"networkpolicies": {
"description": "networkPolicy objects to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/networkpolicy.json#/instance"
}
},
"persistence": {
"description": "Options to configure persistent storage and mount options",
"type": "object",
"additionalProperties": {
"$ref": "schemas/persistence.json#/item"
}
},
"rbac": {
"description": "Configure the Roles and Role Bindings for the chart here",
"type": "object",
"properties": {
"roles": {
"description": "(Cluster)Role objects to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/rbac.json#/role"
}
},
"bindings": {
"description": "(Cluster)RoleBinding objects to be generated by the chart",
"type": "object",
"additionalProperties": {
"$ref": "schemas/rbac.json#/roleBinding"
}
}
},
"additionalProperties": false
},
"rawResources": {
"description": "Allows for the inclusion of raw Kubernetes resources that are not supported by the chart otherwise",
"type": "object",
"additionalProperties": {
"$ref": "schemas/rawResource.json#/instance"
}
}
}
}