Skip to content

Instantly share code, notes, and snippets.

@mkmik
Last active August 18, 2023 13:54
Show Gist options
  • Save mkmik/52ff8df7675e74d607e5a30dfc5dc8ef to your computer and use it in GitHub Desktop.
Save mkmik/52ff8df7675e74d607e5a30dfc5dc8ef to your computer and use it in GitHub Desktop.
{
"additionalProperties": false,
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"additionalProperties": false,
"properties": {
"imagePullSecrets": {
"items": {
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"package": {
"properties": {
"apiVersion": {
"type": "string"
},
"image": {
"type": "string"
},
"spec": {
"additionalProperties": false,
"properties": {
"admin": {
"type": "object"
},
"catalog": {
"additionalProperties": false,
"properties": {
"dsn": {
"additionalProperties": false,
"properties": {
"value": {
"description": "Value",
"type": [
"string",
"null"
]
},
"valueFrom": {
"additionalProperties": false,
"description": "Allows to source the value from configMaps or secrets",
"properties": {
"configMapKeyRef": {
"additionalProperties": false,
"description": "Selects a key from a ConfigMap.",
"properties": {
"key": {
"description": "The key to select.",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": [
"string",
"null"
]
},
"optional": {
"description": "Specify whether the ConfigMap or it's key must be defined",
"type": [
"boolean",
"null"
]
}
},
"required": [
"key"
],
"type": [
"object",
"null"
]
},
"secretKeyRef": {
"additionalProperties": false,
"description": "SecretKeySelector selects a key of a Secret.",
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": [
"string",
"null"
]
},
"optional": {
"description": "Specify whether the Secret or it's key must be defined",
"type": [
"boolean",
"null"
]
}
},
"required": [
"key"
],
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
]
}
},
"type": "object"
}
},
"type": "object"
},
"featureFlags": {
"description": "An array of feature flag names. Feature flags (aka feature gates) control features that\nhave not yet been releases. They can be experimental to various degree (alpha, beta, rc),\nplease refer to the feature flag documentation.\n",
"type": "array"
},
"images": {
"properties": {
"overrides": {
"item": {
"description": "remaps an image matching naming predicates\n",
"properties": {
"name": {
"description": "naming predicate: the part of the image name that comes after the registry name, e.g.\nIf the image name is \"oci.influxdata.com/foo/bar:1234\", the name field matches \"foo/bar\"\n",
"type": "string"
},
"newFQIN": {
"description": "rewrite expression: when a naming predicate matches this image, rewrite the image reference\nusing this Fully Qualified Image Name. i.e. this replaces the whole registry/imagename:tag@digest\nparts of the input image reference.\n",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"registryOverride": {
"default": "",
"type": "string"
}
},
"type": "object"
},
"ingesterStorage": {
"additionalProperties": false,
"properties": {
"storage": {
"type": "string"
},
"storageClassName": {
"type": "string"
}
},
"required": [
"storageClassName",
"storage"
],
"type": "object"
},
"ingress": {
"additionalProperties": false,
"properties": {
"grpc": {
"additionalProperties": false,
"properties": {
"className": {
"default": "",
"type": "string"
}
},
"type": "object"
},
"host": {
"default": "",
"type": "string"
},
"http": {
"additionalProperties": false,
"properties": {
"className": {
"default": "",
"type": "string"
}
},
"type": "object"
},
"tlsSecretName": {
"default": "",
"type": "string"
}
},
"type": "object"
},
"objectStore": {
"additionalProperties": false,
"properties": {
"accessKey": {
"additionalProperties": false,
"properties": {
"value": {
"description": "Value",
"type": [
"string",
"null"
]
},
"valueFrom": {
"additionalProperties": false,
"description": "Allows to source the value from configMaps or secrets",
"properties": {
"configMapKeyRef": {
"additionalProperties": false,
"description": "Selects a key from a ConfigMap.",
"properties": {
"key": {
"description": "The key to select.",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": [
"string",
"null"
]
},
"optional": {
"description": "Specify whether the ConfigMap or it's key must be defined",
"type": [
"boolean",
"null"
]
}
},
"required": [
"key"
],
"type": [
"object",
"null"
]
},
"secretKeyRef": {
"additionalProperties": false,
"description": "SecretKeySelector selects a key of a Secret.",
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": [
"string",
"null"
]
},
"optional": {
"description": "Specify whether the Secret or it's key must be defined",
"type": [
"boolean",
"null"
]
}
},
"required": [
"key"
],
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
]
}
},
"type": "object"
},
"allowHttp": {
"type": "string"
},
"bucket": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"region": {
"type": "string"
},
"secretKey": {
"additionalProperties": false,
"properties": {
"value": {
"description": "Value",
"type": [
"string",
"null"
]
},
"valueFrom": {
"additionalProperties": false,
"description": "Allows to source the value from configMaps or secrets",
"properties": {
"configMapKeyRef": {
"additionalProperties": false,
"description": "Selects a key from a ConfigMap.",
"properties": {
"key": {
"description": "The key to select.",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": [
"string",
"null"
]
},
"optional": {
"description": "Specify whether the ConfigMap or it's key must be defined",
"type": [
"boolean",
"null"
]
}
},
"required": [
"key"
],
"type": [
"object",
"null"
]
},
"secretKeyRef": {
"additionalProperties": false,
"description": "SecretKeySelector selects a key of a Secret.",
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": [
"string",
"null"
]
},
"optional": {
"description": "Specify whether the Secret or it's key must be defined",
"type": [
"boolean",
"null"
]
}
},
"required": [
"key"
],
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
]
}
},
"type": "object"
}
},
"required": [
"bucket"
],
"type": "object"
},
"resources": {
"additionalProperties": false,
"properties": {
"compactor": {
"additionalProperties": false,
"properties": {
"requests": {
"additionalProperties": false,
"properties": {
"cpu": {
"default": "100m",
"type": "string"
},
"memory": {
"default": "100Mi",
"type": "string"
},
"replicas": {
"default": 1,
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"ingester": {
"additionalProperties": false,
"properties": {
"requests": {
"additionalProperties": false,
"properties": {
"cpu": {
"default": "100m",
"type": "string"
},
"memory": {
"default": "100Mi",
"type": "string"
},
"replicas": {
"default": 3,
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"querier": {
"additionalProperties": false,
"properties": {
"requests": {
"additionalProperties": false,
"properties": {
"cpu": {
"default": "100m",
"type": "string"
},
"memory": {
"default": "100Mi",
"type": "string"
},
"replicas": {
"default": 1,
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"router": {
"additionalProperties": false,
"properties": {
"requests": {
"additionalProperties": false,
"properties": {
"cpu": {
"default": "100m",
"type": "string"
},
"memory": {
"default": "100Mi",
"type": "string"
},
"replicas": {
"default": 1,
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"required": [
"catalog",
"objectStore",
"ingesterStorage"
],
"type": "object"
}
},
"required": [
"image",
"apiVersion"
],
"type": "object"
},
"pause": {
"default": false,
"type": "boolean"
}
},
"type": "object"
},
"status": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment