mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
feat(common): Release common 4.0.0 (#398)
Co-authored-by: lab-assistant[bot] <180935599+lab-assistant[bot]@users.noreply.github.com>
This commit is contained in:
parent
1e210f43e3
commit
a01a89cb13
327 changed files with 11181 additions and 7330 deletions
|
@ -1,41 +1,46 @@
|
|||
{
|
||||
"instance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"includeInChecksum": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
"data": {
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"binaryData": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"includeInChecksum": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"data": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"binaryData": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
{"required": ["data"]},
|
||||
{"required": ["binaryData"]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
{"required": ["data"]},
|
||||
{"required": ["binaryData"]}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,206 +1,136 @@
|
|||
{
|
||||
"instance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"deployment",
|
||||
"statefulset",
|
||||
"daemonset",
|
||||
"cronjob",
|
||||
"job"
|
||||
],
|
||||
"default": "deployment"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
"pod": {
|
||||
"$ref": "pod.json#/options"
|
||||
},
|
||||
"replicas": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"default": 1
|
||||
},
|
||||
"revisionHistoryLimit": {
|
||||
"type": "integer"
|
||||
},
|
||||
"rollingUpdate": {
|
||||
"type": "object"
|
||||
},
|
||||
"strategy": {
|
||||
"type": "string"
|
||||
},
|
||||
"cronjob": {
|
||||
"$ref": "#/cronjob"
|
||||
},
|
||||
"job": {
|
||||
"$ref": "#/job"
|
||||
},
|
||||
"statefulset": {
|
||||
"$ref": "#/statefulset"
|
||||
},
|
||||
"applyDefaultContainerOptionsToInitContainers": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"defaultContainerOptionsStrategy": {
|
||||
"type": "string",
|
||||
"default": "overwrite",
|
||||
"enum": [
|
||||
"overwrite",
|
||||
"merge"
|
||||
]
|
||||
},
|
||||
"defaultContainerOptions": {
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"args": {
|
||||
"$ref": "containers.json#/args"
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"command": {
|
||||
"$ref": "containers.json#/command"
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"deployment",
|
||||
"statefulset",
|
||||
"daemonset",
|
||||
"cronjob",
|
||||
"job"
|
||||
],
|
||||
"default": "deployment"
|
||||
},
|
||||
"env": {
|
||||
"$ref": "containers.json#/env"
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"envFrom": {
|
||||
"$ref": "containers.json#/envFrom"
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"image": {
|
||||
"$ref": "containers.json#/image"
|
||||
"pod": {
|
||||
"$ref": "pod.json#/options"
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "k8s-api.json#/core.v1.ResourceRequirements"
|
||||
"replicas": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"default": 1
|
||||
},
|
||||
"securityContext": {
|
||||
"$ref": "k8s-api.json#/core.v1.ContainerSecurityContext"
|
||||
}
|
||||
}
|
||||
},
|
||||
"initContainers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "containers.json#/container"
|
||||
}
|
||||
},
|
||||
"containers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "containers.json#/container"
|
||||
}
|
||||
},
|
||||
"serviceAccount": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"revisionHistoryLimit": {
|
||||
"type": "integer"
|
||||
},
|
||||
"rollingUpdate": {
|
||||
"type": "object"
|
||||
},
|
||||
"strategy": {
|
||||
"type": "string"
|
||||
},
|
||||
"identifier": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "deployment"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"statefulset"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"cronjob"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"job"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"daemonset"
|
||||
]
|
||||
}
|
||||
"cronjob": {
|
||||
"$ref": "#/cronjob"
|
||||
},
|
||||
"job": {
|
||||
"$ref": "#/job"
|
||||
},
|
||||
"statefulset": {
|
||||
"$ref": "#/statefulset"
|
||||
},
|
||||
"applyDefaultContainerOptionsToInitContainers": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"defaultContainerOptionsStrategy": {
|
||||
"type": "string",
|
||||
"default": "overwrite",
|
||||
"enum": [
|
||||
"overwrite",
|
||||
"merge"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "statefulset"
|
||||
},
|
||||
"defaultContainerOptions": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"args": {
|
||||
"$ref": "containers.json#/args"
|
||||
},
|
||||
"command": {
|
||||
"$ref": "containers.json#/command"
|
||||
},
|
||||
"env": {
|
||||
"$ref": "containers.json#/env"
|
||||
},
|
||||
"envFrom": {
|
||||
"$ref": "containers.json#/envFrom"
|
||||
},
|
||||
"image": {
|
||||
"$ref": "containers.json#/image"
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "k8s-api.json#/core.v1.ResourceRequirements"
|
||||
},
|
||||
"securityContext": {
|
||||
"$ref": "k8s-api.json#/core.v1.ContainerSecurityContext"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"cronjob"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"job"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"daemonset"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "cronjob"
|
||||
"initContainers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "containers.json#/container"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
]
|
||||
"containers": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "containers.json#/container"
|
||||
}
|
||||
},
|
||||
"serviceAccount": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"identifier": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"allOf": [
|
||||
{
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "deployment"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
@ -208,6 +138,11 @@
|
|||
"statefulset"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"cronjob"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"job"
|
||||
|
@ -220,50 +155,121 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"cronjob"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "job"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"statefulset"
|
||||
]
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "statefulset"
|
||||
}
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"cronjob"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"daemonset"
|
||||
"required": [
|
||||
"type"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"cronjob"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"job"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"daemonset"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "cronjob"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"allOf": [
|
||||
{
|
||||
"not": {
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"statefulset"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"job"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"daemonset"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"cronjob"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "job"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"not": {
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"statefulset"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"cronjob"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"daemonset"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"statefulset": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
@ -301,6 +307,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
|
||||
"statefulset.volumeClaimTemplate": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
@ -348,6 +355,7 @@
|
|||
"size"
|
||||
]
|
||||
},
|
||||
|
||||
"cronjob": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
@ -396,6 +404,7 @@
|
|||
"schedule"
|
||||
]
|
||||
},
|
||||
|
||||
"job": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
|
|
@ -1,4 +1,29 @@
|
|||
{
|
||||
"resourceIdentifier": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"forceRename": {
|
||||
"type": "string",
|
||||
"description": "Override the default resource name. This field is mutually exclusive with the prefix and suffix fields."
|
||||
},
|
||||
"prefix": {
|
||||
"type": "string",
|
||||
"description": "Prefix to prepend to the resource name. This field is mutually exclusive with the forceRename field.",
|
||||
"default": ""
|
||||
},
|
||||
"suffix": {
|
||||
"type": "string",
|
||||
"description": "Suffix to append to the resource name. Defaults to the resource identifier if there are multiple items, otherwise it defaults to empty. This field is mutually exclusive with the forceRename field."
|
||||
}
|
||||
},
|
||||
"not" : {
|
||||
"anyOf" : [
|
||||
{"required" : ["forceRename", "suffix"]},
|
||||
{"required" : ["forceRename", "prefix"]}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"annotations": {
|
||||
"type": ["object", "null"],
|
||||
"additionalProperties": {
|
||||
|
|
|
@ -1,48 +1,45 @@
|
|||
{
|
||||
"instance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
|
||||
"className": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
"defaultBackend": {
|
||||
"$ref": "k8s-api.json#/networking.v1.ingressBackend"
|
||||
},
|
||||
|
||||
"hosts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/hostEntry"
|
||||
}
|
||||
},
|
||||
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
"tls": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/tlsEntry"
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"className": {
|
||||
"type": "string"
|
||||
},
|
||||
"defaultBackend": {
|
||||
"$ref": "k8s-api.json#/networking.v1.ingressBackend"
|
||||
},
|
||||
"hosts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/hostEntry"
|
||||
}
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"tls": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/tlsEntry"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"hostEntry": {
|
||||
|
@ -70,7 +67,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"required": ["path", "service"]
|
||||
"required": ["path"]
|
||||
},
|
||||
"title": "paths",
|
||||
"type": "array"
|
||||
|
@ -119,7 +116,6 @@
|
|||
"port": {
|
||||
"type": ["string", "integer"]
|
||||
}
|
||||
},
|
||||
"required": ["identifier"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,52 +1,57 @@
|
|||
{
|
||||
"instance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"controller": {
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
"podSelector": {},
|
||||
"policyTypes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"ingress": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"controller": {
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"podSelector": {},
|
||||
"policyTypes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "k8s-api.json#/networking.v1.NetworkPolicyIngressRule"
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"egress": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "k8s-api.json#/networking.v1.NetworkPolicyEgressRule"
|
||||
"rules": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"ingress": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "k8s-api.json#/networking.v1.NetworkPolicyIngressRule"
|
||||
}
|
||||
},
|
||||
"egress": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "k8s-api.json#/networking.v1.NetworkPolicyEgressRule"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["rules"]
|
||||
}
|
||||
},
|
||||
"required": ["rules"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,51 +13,56 @@
|
|||
},
|
||||
|
||||
"persistentVolumeClaimItem": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "persistentVolumeClaim"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"accessMode": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"dataSource": {
|
||||
"$ref": "#/dataSourceReference"
|
||||
},
|
||||
"dataSourceRef": {
|
||||
"$ref": "#/dataSourceReference"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
"retain": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"size": {
|
||||
"type": "string"
|
||||
},
|
||||
"storageClass": {
|
||||
"type": "string"
|
||||
},
|
||||
"volumeName": {
|
||||
"type": "string"
|
||||
},
|
||||
"advancedMounts": {"$ref": "#/advancedMounts"},
|
||||
"globalMounts": {"$ref": "#/globalMounts"}
|
||||
},
|
||||
"required": ["accessMode", "size"]
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "persistentVolumeClaim"
|
||||
},
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"accessMode": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"dataSource": {
|
||||
"$ref": "#/dataSourceReference"
|
||||
},
|
||||
"dataSourceRef": {
|
||||
"$ref": "#/dataSourceReference"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"retain": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"size": {
|
||||
"type": "string"
|
||||
},
|
||||
"storageClass": {
|
||||
"type": "string"
|
||||
},
|
||||
"volumeName": {
|
||||
"type": "string"
|
||||
},
|
||||
"advancedMounts": {"$ref": "#/advancedMounts"},
|
||||
"globalMounts": {"$ref": "#/globalMounts"}
|
||||
},
|
||||
"required": ["accessMode", "size"]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"persistentVolumeClaimWithExistingClaimItem": {
|
||||
|
@ -330,6 +335,9 @@
|
|||
"subPath": {
|
||||
"type": "string"
|
||||
},
|
||||
"subPathExpr": {
|
||||
"type": "string"
|
||||
},
|
||||
"mountPropagation": {
|
||||
"type": "string"
|
||||
}
|
||||
|
|
|
@ -67,6 +67,9 @@
|
|||
"priorityClassName": {
|
||||
"type": "string"
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "k8s-api.json#/core.v1.ResourceRequirements"
|
||||
},
|
||||
"restartPolicy": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
|
@ -1,32 +1,34 @@
|
|||
{
|
||||
"instance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
"forceRename": {
|
||||
"type": "string"
|
||||
},
|
||||
"spec": {}
|
||||
},
|
||||
"required": ["apiVersion", "kind", "spec"]
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"spec": {}
|
||||
},
|
||||
"required": ["apiVersion", "kind", "spec"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
118
charts/library/common/schemas/rbac.json
Normal file
118
charts/library/common/schemas/rbac.json
Normal file
|
@ -0,0 +1,118 @@
|
|||
{
|
||||
"role": {
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Role",
|
||||
"ClusterRole"
|
||||
],
|
||||
"default": "Role"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"rules": {
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": ["type", "rules"]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"roleBinding": {
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"RoleBinding",
|
||||
"ClusterRoleBinding"
|
||||
],
|
||||
"default": "RoleBinding"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"roleRef": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Role",
|
||||
"ClusterRole"
|
||||
]
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
{"required": ["identifier"]},
|
||||
{"required": ["name", "kind"]}
|
||||
]
|
||||
},
|
||||
"subjects": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
{"required": ["identifier"]},
|
||||
{"required": ["name", "kind", "namespace"]}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["type", "roleRef", "subjects"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,126 +1,140 @@
|
|||
{
|
||||
"instance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"hostnames": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
|
||||
"hostnames": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": ["GRPCRoute", "HTTPRoute", "TCPRoute", "TLSRoute", "UDPRoute"]
|
||||
},
|
||||
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": ["GRPCRoute", "HTTPRoute", "TCPRoute", "TLSRoute", "UDPRoute"]
|
||||
},
|
||||
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
"parentRefs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"group": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"sectionName": {
|
||||
"type": "string"
|
||||
"parentRefs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"group": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"sectionName": {
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": ["name"]
|
||||
}
|
||||
},
|
||||
"required": ["name"]
|
||||
}
|
||||
},
|
||||
|
||||
"rules": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"backendRefs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"group": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"type": ["string", "integer"]
|
||||
},
|
||||
"weight": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"matches": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"path": {
|
||||
"rules": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"backendRefs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"type": {
|
||||
"group": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "A reference to a backend Service name."
|
||||
},
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "A reference to a backend service that is defined within the chart values."
|
||||
},
|
||||
"port": {
|
||||
"type": ["string", "integer"]
|
||||
},
|
||||
"weight": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"matches": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"filters": {
|
||||
"type": "array",
|
||||
"items": {}
|
||||
},
|
||||
"sessionPersistence": {
|
||||
"description": "SessionPersistence defines the desired state of SessionPersistence",
|
||||
"type": "object"
|
||||
},
|
||||
"timeouts": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"filters": {
|
||||
"type": "array",
|
||||
"items": {}
|
||||
},
|
||||
"timeouts": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,35 +1,40 @@
|
|||
{
|
||||
"instance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"includeInChecksum": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"stringData": {
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"includeInChecksum": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"stringData": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["stringData"]
|
||||
}
|
||||
},
|
||||
"required": ["stringData"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,92 +1,97 @@
|
|||
{
|
||||
"instance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"clusterIP": {
|
||||
"type": "string"
|
||||
},
|
||||
"externalName": {
|
||||
"type": "string"
|
||||
},
|
||||
"loadBalancerIP": {
|
||||
"type": "string"
|
||||
},
|
||||
"loadBalancerSourceRanges": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"loadBalancerClass": {
|
||||
"type": "string"
|
||||
},
|
||||
"internalTrafficPolicy": {
|
||||
"type": "string",
|
||||
"enum": ["Cluster", "Local"]
|
||||
},
|
||||
"externalTrafficPolicy": {
|
||||
"type": "string",
|
||||
"enum": ["Cluster", "Local"]
|
||||
},
|
||||
"allocateLoadBalancerNodePorts": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"sessionAffinity": {
|
||||
"type": "string",
|
||||
"enum": ["None", "ClientIP"]
|
||||
},
|
||||
"sessionAffinityConfig": {
|
||||
"type": "object"
|
||||
},
|
||||
"externalIPs": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"publishNotReadyAddresses": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ipFamilyPolicy": {
|
||||
"type": "string",
|
||||
"enum": ["SingleStack", "PreferDualStack", "RequireDualStack"]
|
||||
},
|
||||
"ipFamilies": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": ["IPv4", "IPv6"]
|
||||
}
|
||||
},
|
||||
"ports": {
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/servicePort"
|
||||
}
|
||||
},
|
||||
"primary": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"controller": {
|
||||
"type": "string"
|
||||
},
|
||||
"extraSelectorLabels": {}
|
||||
},
|
||||
"required": ["controller"]
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"clusterIP": {
|
||||
"type": "string"
|
||||
},
|
||||
"externalName": {
|
||||
"type": "string"
|
||||
},
|
||||
"loadBalancerIP": {
|
||||
"type": "string"
|
||||
},
|
||||
"loadBalancerSourceRanges": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"loadBalancerClass": {
|
||||
"type": "string"
|
||||
},
|
||||
"internalTrafficPolicy": {
|
||||
"type": "string",
|
||||
"enum": ["Cluster", "Local"]
|
||||
},
|
||||
"externalTrafficPolicy": {
|
||||
"type": "string",
|
||||
"enum": ["Cluster", "Local"]
|
||||
},
|
||||
"allocateLoadBalancerNodePorts": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"sessionAffinity": {
|
||||
"type": "string",
|
||||
"enum": ["None", "ClientIP"]
|
||||
},
|
||||
"sessionAffinityConfig": {
|
||||
"type": "object"
|
||||
},
|
||||
"externalIPs": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
},
|
||||
"publishNotReadyAddresses": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ipFamilyPolicy": {
|
||||
"type": "string",
|
||||
"enum": ["SingleStack", "PreferDualStack", "RequireDualStack"]
|
||||
},
|
||||
"ipFamilies": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": ["IPv4", "IPv6"]
|
||||
}
|
||||
},
|
||||
"ports": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/servicePort"
|
||||
}
|
||||
},
|
||||
"primary": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"controller": {
|
||||
"type": "string"
|
||||
},
|
||||
"extraSelectorLabels": {}
|
||||
},
|
||||
"required": []
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"servicePort": {
|
||||
|
|
|
@ -1,43 +1,30 @@
|
|||
{
|
||||
"settings": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"create": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"extraServiceAccounts": {
|
||||
"instance": {
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"create": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
}
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"staticToken": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,65 +1,70 @@
|
|||
{
|
||||
"instance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"nameOverride": {
|
||||
"type": "string"
|
||||
},
|
||||
"endpoints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"selector": {
|
||||
"allOf": [
|
||||
{ "$ref": "definitions.json#/resourceIdentifier" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"matchLabels": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
"forceRename": {},
|
||||
"prefix": {},
|
||||
"suffix": {},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"matchExpressions": {
|
||||
"annotations": {
|
||||
"$ref": "definitions.json#/annotations"
|
||||
},
|
||||
"labels": {
|
||||
"$ref": "definitions.json#/labels"
|
||||
},
|
||||
"endpoints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"key": {"type": "string"},
|
||||
"operator": {"type": "string"},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"selector": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"matchLabels": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"matchExpressions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"key": {"type": "string"},
|
||||
"operator": {"type": "string"},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"serviceName": {
|
||||
"type": "string"
|
||||
},
|
||||
"targetLabels": {
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"oneOf": [{"required": ["serviceName"]}, {"required": ["selector"]}],
|
||||
"dependencies": {
|
||||
"selector": {"not": {"required": ["serviceName"]}},
|
||||
"serviceName": {"not": {"required": ["selector"]}}
|
||||
}
|
||||
},
|
||||
"serviceName": {
|
||||
"type": "string"
|
||||
},
|
||||
"targetLabels": {
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"oneOf": [{"required": ["serviceName"]}, {"required": ["selector"]}],
|
||||
"dependencies": {
|
||||
"selector": {"not": {"required": ["serviceName"]}},
|
||||
"serviceName": {"not": {"required": ["selector"]}}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue