{"id": "00000000-0000-0000-0000-000000000000", "name": "mattermost-operator-1.0.4.tgz", "version": "0.0.1", "components": [{"id": "98a96287-d2a0-4eb2-a3ba-1a0b86e86279", "model": {"id": "b3f5bc0d-30f7-607d-6c73-784ddde6cad8", "name": "kubernetes", "model": {"version": "v1.32.0-alpha.3"}, "status": "enabled", "version": "v1.0.0", "category": {"id": "9ca27d0d-66ce-42a9-8c85-6236563f2ddb", "name": "Orchestration & Management"}, "metadata": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg", "svgComplete": "", "isAnnotation": false, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "styleOverrides": ""}, "components": null, "registrant": {"id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "kind": "github", "name": "Github", "type": "registry", "status": "registered", "user_id": "00000000-0000-0000-0000-000000000000", "sub_type": "", "created_at": "2025-10-08T09:10:27.395320301Z", "deleted_at": "0001-01-01T00:00:00Z", "updated_at": "2025-10-08T09:10:27.395320301Z", "credential_id": "00000000-0000-0000-0000-000000000000", "schemaVersion": ""}, "displayName": "Kubernetes", "subCategory": "Scheduling & Orchestration", "connection_id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "relationships": null, "schemaVersion": "models.meshery.io/v1beta1", "components_count": 0, "relationships_count": 0}, "format": "", "status": "enabled", "styles": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/customresourcedefinition-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/customresourcedefinition-white.svg", "svgComplete": "", "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0"}, "version": "v1.0.0", "metadata": {"genealogy": "", "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3", "isAnnotation": false, "isNamespaced": false, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "CustomResourceDefinition", "schema": "", "version": "apiextensions.k8s.io/v1"}, "description": "", "displayName": "clusterinstallations.mattermost.com", "capabilities": [], "configuration": {"spec": {"group": "mattermost.com", "names": {"kind": "ClusterInstallation", "plural": "clusterinstallations", "listKind": "ClusterInstallationList", "singular": "clusterinstallation"}, "scope": "Namespaced", "versions": [{"name": "v1alpha1", "schema": {"openAPIV3Schema": {"type": "object", "required": ["spec"], "properties": {"kind": {"type": "string", "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"}, "spec": {"type": "object", "required": ["ingressName"], "properties": {"size": {"type": "string", "description": "Size defines the size of the ClusterInstallation. This is typically specified in number of users.\nThis will override replica and resource requests/limits appropriately for the provided number of users.\nThis is a write-only field - its value is erased after setting appropriate values of resources.\nAccepted values are: 100users, 1000users, 5000users, 10000users, 250000users. If replicas and resource\nrequests/limits are not specified, and Size is not provided the configuration for 5000users will be applied.\nSetting 'Replicas', 'Resources', 'Minio.Replicas', 'Minio.Resource', 'Database.Replicas',\nor 'Database.Resources' will override the values set by Size.\nSetting new Size will override previous values regardless if set by Size or manually."}, "image": {"type": "string", "description": "Image defines the ClusterInstallation Docker image."}, "minio": {"type": "object", "properties": {"secret": {"type": "string", "description": "Optionally enter the name of already existing secret.\nSecret should have two values: \"accesskey\" and \"secretkey\".\nRequired when \"ExternalURL\" is set."}, "replicas": {"type": "integer", "format": "int32", "description": "Defines the number of Minio replicas.\nSupply 1 to run Minio in standalone mode with no redundancy.\nSupply 4 or more to run Minio in distributed mode.\nNote that it is not possible to upgrade Minio from standalone to distributed mode.\nSetting this will override the number of replicas set by 'Size'.\nMore info: https://docs.min.io/docs/distributed-minio-quickstart-guide.html"}, "resources": {"type": "object", "properties": {"claims": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."}, "request": {"type": "string", "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request."}}, "description": "ResourceClaim references one entry in PodSpec.ResourceClaims."}, "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "limits": {"type": "object", "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "requests": {"type": "object", "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}}, "description": "Defines the resource requests and limits for the Minio pods."}, "externalURL": {"type": "string", "description": "Set to use an external MinIO deployment or S3. Must also set 'Secret' and 'ExternalBucket'."}, "storageSize": {"type": "string", "pattern": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", "description": "Defines the storage size for Minio. ie 50Gi"}, "externalBucket": {"type": "string", "description": "Set to the bucket name of your external MinIO or S3."}}, "description": "Minio defines the configuration of Minio for a ClusterInstallation."}, "canary": {"type": "object", "properties": {"enable": {"type": "boolean", "description": "Enable defines if a canary build will be deployed."}, "deployment": {"type": "object", "properties": {"name": {"type": "string", "description": "Name defines the name of the deployment"}, "image": {"type": "string", "description": "Image defines the base Docker image that will be used for the deployment.\nRequired when BlueGreen or Canary is enabled."}, "version": {"type": "string", "description": "Version defines the Docker image version that will be used for the deployment.\nRequired when BlueGreen or Canary is enabled."}, "ingressName": {"type": "string", "description": "IngressName defines the ingress name that will be used by the deployment.\nThis option is not used for Canary builds."}, "resourceLabels": {"type": "object", "additionalProperties": {"type": "string"}}}, "description": "Deployment defines the canary deployment."}}, "description": "Canary defines the configuration of Canary deployment for a ClusterInstallation"}, "migrate": {"type": "boolean", "description": "Migrate specifies that the ClusterInstallation CR should be migrated to the Mattermost CR.\nCAUTION: Some features like BlueGreen or Canary are not supported with a new Custom Resource\ntherefore migration should be performed with extra caution."}, "version": {"type": "string", "description": "Version defines the ClusterInstallation Docker image version."}, "affinity": {"type": "object", "properties": {"podAffinity": {"type": "object", "properties": {"requiredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["topologyKey"], "properties": {"namespaces": {"type": "array", "items": {"type": "string"}, "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", "x-kubernetes-list-type": "atomic"}, "topologyKey": {"type": "string", "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed."}, "labelSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", "x-kubernetes-map-type": "atomic"}, "matchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "mismatchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "namespaceSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", "x-kubernetes-map-type": "atomic"}}, "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key <topologyKey> matches that of any node on which\na pod of the set of pods is running"}, "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", "x-kubernetes-list-type": "atomic"}, "preferredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["podAffinityTerm", "weight"], "properties": {"weight": {"type": "integer", "format": "int32", "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100."}, "podAffinityTerm": {"type": "object", "required": ["topologyKey"], "properties": {"namespaces": {"type": "array", "items": {"type": "string"}, "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", "x-kubernetes-list-type": "atomic"}, "topologyKey": {"type": "string", "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed."}, "labelSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", "x-kubernetes-map-type": "atomic"}, "matchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "mismatchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "namespaceSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", "x-kubernetes-map-type": "atomic"}}, "description": "Required. A pod affinity term, associated with the corresponding weight."}}, "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)"}, "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", "x-kubernetes-list-type": "atomic"}}, "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."}, "nodeAffinity": {"type": "object", "properties": {"requiredDuringSchedulingIgnoredDuringExecution": {"type": "object", "required": ["nodeSelectorTerms"], "properties": {"nodeSelectorTerms": {"type": "array", "items": {"type": "object", "properties": {"matchFields": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "The label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."}}, "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values."}, "description": "A list of node selector requirements by node's fields.", "x-kubernetes-list-type": "atomic"}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "The label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."}}, "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values."}, "description": "A list of node selector requirements by node's labels.", "x-kubernetes-list-type": "atomic"}}, "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "x-kubernetes-map-type": "atomic"}, "description": "Required. A list of node selector terms. The terms are ORed.", "x-kubernetes-list-type": "atomic"}}, "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", "x-kubernetes-map-type": "atomic"}, "preferredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["preference", "weight"], "properties": {"weight": {"type": "integer", "format": "int32", "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."}, "preference": {"type": "object", "properties": {"matchFields": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "The label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."}}, "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values."}, "description": "A list of node selector requirements by node's fields.", "x-kubernetes-list-type": "atomic"}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "The label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."}}, "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values."}, "description": "A list of node selector requirements by node's labels.", "x-kubernetes-list-type": "atomic"}}, "description": "A node selector term, associated with the corresponding weight.", "x-kubernetes-map-type": "atomic"}}, "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)."}, "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", "x-kubernetes-list-type": "atomic"}}, "description": "Describes node affinity scheduling rules for the pod."}, "podAntiAffinity": {"type": "object", "properties": {"requiredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["topologyKey"], "properties": {"namespaces": {"type": "array", "items": {"type": "string"}, "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", "x-kubernetes-list-type": "atomic"}, "topologyKey": {"type": "string", "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed."}, "labelSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", "x-kubernetes-map-type": "atomic"}, "matchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "mismatchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "namespaceSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", "x-kubernetes-map-type": "atomic"}}, "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key <topologyKey> matches that of any node on which\na pod of the set of pods is running"}, "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", "x-kubernetes-list-type": "atomic"}, "preferredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["podAffinityTerm", "weight"], "properties": {"weight": {"type": "integer", "format": "int32", "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100."}, "podAffinityTerm": {"type": "object", "required": ["topologyKey"], "properties": {"namespaces": {"type": "array", "items": {"type": "string"}, "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", "x-kubernetes-list-type": "atomic"}, "topologyKey": {"type": "string", "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed."}, "labelSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", "x-kubernetes-map-type": "atomic"}, "matchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "mismatchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "namespaceSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", "x-kubernetes-map-type": "atomic"}}, "description": "Required. A pod affinity term, associated with the corresponding weight."}}, "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)"}, "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", "x-kubernetes-list-type": "atomic"}}, "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."}}, "description": "If specified, affinity will define the pod's scheduling constraints"}, "database": {"type": "object", "properties": {"type": {"type": "string", "description": "Defines the type of database to use for an Operator-Managed database. This\nvalue is ignored when using a User-Managed database."}, "secret": {"type": "string", "description": "Optionally enter the name of an already-existing Secret for connecting to\nthe database. This secret should be configured as follows:\n\nUser-Managed Database\n  - Key: DB_CONNECTION_STRING | Value: <FULL_DATABASE_CONNECTION_STRING>\nOperator-Managed Database\n  - Key: ROOT_PASSWORD | Value: <ROOT_DATABASE_PASSWORD>\n  - Key: USER | Value: <USER_NAME>\n  - Key: PASSWORD | Value: <USER_PASSWORD>\n  - Key: DATABASE Value: <DATABASE_NAME>\n\nNotes:\n  If you define all secret values for both User-Managed and\n  Operator-Managed database types, the User-Managed connection string will\n  take precedence and the Operator-Managed values will be ignored. If the\n  secret is left blank, the default behavior is to use an Operator-Managed\n  database with strong randomly-generated database credentials."}, "version": {"type": "string", "description": "Defines the cluster version for the database to use"}, "replicas": {"type": "integer", "format": "int32", "description": "Defines the number of database replicas.\nFor redundancy use at least 2 replicas.\nSetting this will override the number of replicas set by 'Size'."}, "backupURL": {"type": "string", "description": "Defines the object storage url for uploading backups."}, "resources": {"type": "object", "properties": {"claims": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."}, "request": {"type": "string", "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request."}}, "description": "ResourceClaim references one entry in PodSpec.ResourceClaims."}, "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "limits": {"type": "object", "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "requests": {"type": "object", "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}}, "description": "Defines the resource requests and limits for the database pods."}, "storageSize": {"type": "string", "pattern": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", "description": "Defines the storage size for the database. ie 50Gi"}, "initBucketURL": {"type": "string", "description": "Defines the AWS S3 bucket where the Database Backup is stored.\nThe operator will download the file to restore the data."}, "backupSchedule": {"type": "string", "description": "Defines the interval for backups in cron expression format."}, "backupSecretName": {"type": "string", "description": "Defines the secret to be used for uploading/restoring backup."}, "backupRestoreSecretName": {"type": "string", "description": "Defines the secret to be used when performing a database restore."}, "backupRemoteDeletePolicy": {"type": "string", "description": "Defines the backup retention policy."}}, "description": "Database defines the database configuration for a ClusterInstallation."}, "replicas": {"type": "integer", "format": "int32", "description": "Replicas defines the number of replicas to use for the Mattermost app servers.\nSetting this will override the number of replicas set by 'Size'."}, "blueGreen": {"type": "object", "properties": {"blue": {"type": "object", "properties": {"name": {"type": "string", "description": "Name defines the name of the deployment"}, "image": {"type": "string", "description": "Image defines the base Docker image that will be used for the deployment.\nRequired when BlueGreen or Canary is enabled."}, "version": {"type": "string", "description": "Version defines the Docker image version that will be used for the deployment.\nRequired when BlueGreen or Canary is enabled."}, "ingressName": {"type": "string", "description": "IngressName defines the ingress name that will be used by the deployment.\nThis option is not used for Canary builds."}, "resourceLabels": {"type": "object", "additionalProperties": {"type": "string"}}}, "description": "Blue defines the blue deployment."}, "green": {"type": "object", "properties": {"name": {"type": "string", "description": "Name defines the name of the deployment"}, "image": {"type": "string", "description": "Image defines the base Docker image that will be used for the deployment.\nRequired when BlueGreen or Canary is enabled."}, "version": {"type": "string", "description": "Version defines the Docker image version that will be used for the deployment.\nRequired when BlueGreen or Canary is enabled."}, "ingressName": {"type": "string", "description": "IngressName defines the ingress name that will be used by the deployment.\nThis option is not used for Canary builds."}, "resourceLabels": {"type": "object", "additionalProperties": {"type": "string"}}}, "description": "Green defines the green deployment."}, "enable": {"type": "boolean", "description": "Enable defines if BlueGreen deployment will be applied."}, "productionDeployment": {"type": "string", "description": "ProductionDeployment defines if the current production is blue or green."}}, "description": "BlueGreen defines the configuration of BlueGreen deployment for a ClusterInstallation"}, "resources": {"type": "object", "properties": {"claims": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."}, "request": {"type": "string", "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request."}}, "description": "ResourceClaim references one entry in PodSpec.ResourceClaims."}, "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "limits": {"type": "object", "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "requests": {"type": "object", "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}}, "description": "Defines the resource requests and limits for the Mattermost app server pods."}, "ingressName": {"type": "string", "description": "IngressName defines the name to be used when creating the ingress rules"}, "nodeSelector": {"type": "object", "description": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", "additionalProperties": {"type": "string"}}, "elasticSearch": {"type": "object", "properties": {"host": {"type": "string"}, "password": {"type": "string"}, "username": {"type": "string"}}, "description": "ElasticSearch defines the ElasticSearch configuration for a ClusterInstallation."}, "livenessProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "Defines the probe to check if the application is up and running."}, "mattermostEnv": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name of the environment variable. Must be a C_IDENTIFIER."}, "value": {"type": "string", "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\"."}, "valueFrom": {"type": "object", "properties": {"fieldRef": {"type": "object", "required": ["fieldPath"], "properties": {"fieldPath": {"type": "string", "description": "Path of the field to select in the specified API version."}, "apiVersion": {"type": "string", "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."}}, "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", "x-kubernetes-map-type": "atomic"}, "secretKeyRef": {"type": "object", "required": ["key"], "properties": {"key": {"type": "string", "description": "The key of the secret to select from.  Must be a valid secret key."}, "name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the Secret or its key must be defined"}}, "description": "Selects a key of a secret in the pod's namespace", "x-kubernetes-map-type": "atomic"}, "configMapKeyRef": {"type": "object", "required": ["key"], "properties": {"key": {"type": "string", "description": "The key to select."}, "name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the ConfigMap or its key must be defined"}}, "description": "Selects a key of a ConfigMap.", "x-kubernetes-map-type": "atomic"}, "resourceFieldRef": {"type": "object", "required": ["resource"], "properties": {"divisor": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "description": "Specifies the output format of the exposed resources, defaults to \"1\"", "x-kubernetes-int-or-string": true}, "resource": {"type": "string", "description": "Required: resource to select"}, "containerName": {"type": "string", "description": "Container name: required for volumes, optional for env vars"}}, "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", "x-kubernetes-map-type": "atomic"}}, "description": "Source for the environment variable's value. Cannot be used if value is not empty."}}, "description": "EnvVar represents an environment variable present in a Container."}, "description": "Optional environment variables to set in the Mattermost application pods."}, "useIngressTLS": {"type": "boolean"}, "readinessProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "Defines the probe to check if the application is ready to accept traffic."}, "resourceLabels": {"type": "object", "additionalProperties": {"type": "string"}}, "imagePullPolicy": {"type": "string", "description": "Specify deployment pull policy."}, "ingressAnnotations": {"type": "object", "additionalProperties": {"type": "string"}}, "serviceAnnotations": {"type": "object", "additionalProperties": {"type": "string"}}, "useServiceLoadBalancer": {"type": "boolean"}, "mattermostLicenseSecret": {"type": "string", "description": "Secret that contains the mattermost license"}}, "description": "Specification of the desired behavior of the Mattermost cluster. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status"}, "status": {"type": "object", "properties": {"image": {"type": "string", "description": "The image running on the pods in the Mattermost instance"}, "state": {"type": "string", "description": "Represents the running state of the Mattermost instance"}, "version": {"type": "string", "description": "The version currently running in the Mattermost instance"}, "blueName": {"type": "string", "description": "The name of the blue deployment in BlueGreen"}, "endpoint": {"type": "string", "description": "The endpoint to access the Mattermost instance"}, "replicas": {"type": "integer", "format": "int32", "description": "Total number of non-terminated pods targeted by this Mattermost deployment"}, "greenName": {"type": "string", "description": "The name of the green deployment in BlueGreen"}, "migration": {"type": "object", "properties": {"error": {"type": "string"}, "status": {"type": "string"}}, "description": "The status of migration to Mattermost CR."}, "updatedReplicas": {"type": "integer", "format": "int32", "description": "Total number of non-terminated pods targeted by this Mattermost deployment\nthat are running with the desired image."}}, "description": "Most recent observed status of the Mattermost cluster. Read-only. Not\nincluded when requesting from the apiserver, only from the Mattermost\nOperator API itself. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status"}, "metadata": {"type": "object"}, "apiVersion": {"type": "string", "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"}}, "description": "ClusterInstallation is the Schema for the clusterinstallations API"}}, "served": true, "storage": true, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": ".status.state", "description": "State of Mattermost"}, {"name": "Image", "type": "string", "jsonPath": ".status.image", "description": "Image of Mattermost"}, {"name": "Version", "type": "string", "jsonPath": ".status.version", "description": "Version of Mattermost"}, {"name": "Endpoint", "type": "string", "jsonPath": ".status.endpoint", "description": "Endpoint"}]}]}, "metadata": {"name": "clusterinstallations.mattermost.com", "annotations": {"controller-gen.kubebuilder.io/version": "v0.16.5"}}}, "schemaVersion": "components.meshery.io/v1beta1"}, {"id": "64815ea3-f2d4-4784-9fc0-fca6eac298e7", "model": {"id": "b3f5bc0d-30f7-607d-6c73-784ddde6cad8", "name": "kubernetes", "model": {"version": "v1.32.0-alpha.3"}, "status": "enabled", "version": "v1.0.0", "category": {"id": "9ca27d0d-66ce-42a9-8c85-6236563f2ddb", "name": "Orchestration & Management"}, "metadata": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg", "svgComplete": "", "isAnnotation": false, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "styleOverrides": ""}, "components": null, "registrant": {"id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "kind": "github", "name": "Github", "type": "registry", "status": "registered", "user_id": "00000000-0000-0000-0000-000000000000", "sub_type": "", "created_at": "2025-10-08T09:10:27.395320301Z", "deleted_at": "0001-01-01T00:00:00Z", "updated_at": "2025-10-08T09:10:27.395320301Z", "credential_id": "00000000-0000-0000-0000-000000000000", "schemaVersion": ""}, "displayName": "Kubernetes", "subCategory": "Scheduling & Orchestration", "connection_id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "relationships": null, "schemaVersion": "models.meshery.io/v1beta1", "components_count": 0, "relationships_count": 0}, "format": "", "status": "enabled", "styles": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/customresourcedefinition-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/customresourcedefinition-white.svg", "svgComplete": "", "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0"}, "version": "v1.0.0", "metadata": {"genealogy": "", "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3", "isAnnotation": false, "isNamespaced": false, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "CustomResourceDefinition", "schema": "", "version": "apiextensions.k8s.io/v1"}, "description": "", "displayName": "mattermostrestoredbs.mattermost.com", "capabilities": [], "configuration": {"spec": {"group": "mattermost.com", "names": {"kind": "MattermostRestoreDB", "plural": "mattermostrestoredbs", "listKind": "MattermostRestoreDBList", "singular": "mattermostrestoredb"}, "scope": "Namespaced", "versions": [{"name": "v1alpha1", "schema": {"openAPIV3Schema": {"type": "object", "properties": {"kind": {"type": "string", "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"}, "spec": {"type": "object", "properties": {"initBucketURL": {"type": "string", "description": "InitBucketURL defines where the DB backup file is located."}, "restoreSecret": {"type": "string", "description": "RestoreSecret defines the secret that holds the credentials to\nMySQL Operator be able to download the DB backup file"}, "mattermostDBName": {"type": "string", "description": "MattermostDBName defines the database name.\nNeed to set if different from `mattermost`."}, "mattermostDBUser": {"type": "string", "description": "MattermostDBUser defines the user to access the database.\nNeed to set if the user is different from `mmuser`."}, "mattermostDBPassword": {"type": "string", "description": "MattermostDBPassword defines the user password to access the database.\nNeed to set if the user is different from the one created by the operator."}, "mattermostClusterName": {"type": "string", "description": "MattermostClusterName defines the ClusterInstallation name."}}, "description": "MattermostRestoreDBSpec defines the desired state of MattermostRestoreDB"}, "status": {"type": "object", "properties": {"state": {"type": "string", "description": "Represents the state of the Mattermost restore Database."}, "originalDBReplicas": {"type": "integer", "format": "int32", "description": "The original number of database replicas. will be used to restore after applying the db restore process."}}, "description": "MattermostRestoreDBStatus defines the observed state of MattermostRestoreDB"}, "metadata": {"type": "object"}, "apiVersion": {"type": "string", "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"}}, "description": "MattermostRestoreDB is the Schema for the mattermostrestoredbs API"}}, "served": true, "storage": true, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": ".status.state", "description": "State of Mattermost DB Restore"}, {"name": "Original DB Replicas", "type": "string", "jsonPath": ".status.originalDBReplicas", "description": "Original DB Replicas"}]}]}, "metadata": {"name": "mattermostrestoredbs.mattermost.com", "annotations": {"controller-gen.kubebuilder.io/version": "v0.16.5"}}}, "schemaVersion": "components.meshery.io/v1beta1"}, {"id": "2a6ab787-6d67-4844-88a6-b057fb9bb266", "model": {"id": "b3f5bc0d-30f7-607d-6c73-784ddde6cad8", "name": "kubernetes", "model": {"version": "v1.32.0-alpha.3"}, "status": "enabled", "version": "v1.0.0", "category": {"id": "9ca27d0d-66ce-42a9-8c85-6236563f2ddb", "name": "Orchestration & Management"}, "metadata": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg", "svgComplete": "", "isAnnotation": false, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "styleOverrides": ""}, "components": null, "registrant": {"id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "kind": "github", "name": "Github", "type": "registry", "status": "registered", "user_id": "00000000-0000-0000-0000-000000000000", "sub_type": "", "created_at": "2025-10-08T09:10:27.395320301Z", "deleted_at": "0001-01-01T00:00:00Z", "updated_at": "2025-10-08T09:10:27.395320301Z", "credential_id": "00000000-0000-0000-0000-000000000000", "schemaVersion": ""}, "displayName": "Kubernetes", "subCategory": "Scheduling & Orchestration", "connection_id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "relationships": null, "schemaVersion": "models.meshery.io/v1beta1", "components_count": 0, "relationships_count": 0}, "format": "", "status": "enabled", "styles": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/customresourcedefinition-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/customresourcedefinition-white.svg", "svgComplete": "", "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0"}, "version": "v1.0.0", "metadata": {"genealogy": "", "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3", "isAnnotation": false, "isNamespaced": false, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "CustomResourceDefinition", "schema": "", "version": "apiextensions.k8s.io/v1"}, "description": "", "displayName": "mattermosts.installation.mattermost.com", "capabilities": [], "configuration": {"spec": {"group": "installation.mattermost.com", "names": {"kind": "Mattermost", "plural": "mattermosts", "listKind": "MattermostList", "singular": "mattermost", "shortNames": ["mm"]}, "scope": "Namespaced", "versions": [{"name": "v1beta1", "schema": {"openAPIV3Schema": {"type": "object", "properties": {"kind": {"type": "string", "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"}, "spec": {"type": "object", "properties": {"size": {"type": "string", "description": "Size defines the size of the Mattermost. This is typically specified in\nnumber of users. This will override replica and resource requests/limits\nappropriately for the provided number of users. This is a write-only\nfield - its value is erased after setting appropriate values of resources.\nAccepted values are: 100users, 1000users, 5000users, 10000users,\nand 250000users. If replicas and resource requests/limits are not\nspecified, and Size is not provided the configuration for 5000users will\nbe applied. Setting 'Replicas', 'Scheduling.Resources', 'FileStore.Replicas',\n'FileStore.Resource', 'Database.Replicas', or 'Database.Resources' will\noverride the values set by Size. Setting new Size will override previous\nvalues regardless if set by Size or manually."}, "image": {"type": "string", "description": "Image defines the Mattermost Docker image."}, "probes": {"type": "object", "properties": {"livenessProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "Defines the probe to check if the application is up and running."}, "readinessProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "Defines the probe to check if the application is ready to accept traffic."}}, "description": "Probes defines configuration of liveness and readiness probe for Mattermost pods.\nThese settings generally don't need to be changed."}, "ingress": {"type": "object", "required": ["enabled"], "properties": {"host": {"type": "string", "description": "Host defines the Ingress host to be used when creating the ingress rules."}, "hosts": {"type": "array", "items": {"type": "object", "properties": {"hostName": {"type": "string"}}, "description": "IngressHost specifies additional hosts configuration."}, "description": "Hosts allows specifying additional domain names for Mattermost to use."}, "enabled": {"type": "boolean", "description": "Enabled determines whether the Operator should create Ingress resource or not.\nDisabling ingress on existing installation will cause Operator to remove it."}, "tlsSecret": {"type": "string", "description": "TLSSecret specifies secret used for configuring TLS for Ingress.\nIf empty TLS will not be configured."}, "annotations": {"type": "object", "description": "Annotations defines annotations passed to the Ingress associated with Mattermost.", "additionalProperties": {"type": "string"}}, "ingressClass": {"type": "string", "description": "IngressClass will be set on Ingress resource to associate it with specified IngressClass resource."}}, "description": "Ingress defines configuration for Ingress resource created by the Operator."}, "version": {"type": "string", "description": "Version defines the Mattermost Docker image version."}, "volumes": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"fc": {"type": "object", "properties": {"lun": {"type": "integer", "format": "int32", "description": "lun is Optional: FC target lun number"}, "wwids": {"type": "array", "items": {"type": "string"}, "description": "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", "x-kubernetes-list-type": "atomic"}, "fsType": {"type": "string", "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."}, "readOnly": {"type": "boolean", "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts."}, "targetWWNs": {"type": "array", "items": {"type": "string"}, "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", "x-kubernetes-list-type": "atomic"}}, "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."}, "csi": {"type": "object", "required": ["driver"], "properties": {"driver": {"type": "string", "description": "driver is the name of the CSI driver that handles this volume.\nConsult with your admin for the correct name as registered in the cluster."}, "fsType": {"type": "string", "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\".\nIf not provided, the empty value is passed to the associated CSI driver\nwhich will determine the default filesystem to apply."}, "readOnly": {"type": "boolean", "description": "readOnly specifies a read-only configuration for the volume.\nDefaults to false (read/write)."}, "volumeAttributes": {"type": "object", "description": "volumeAttributes stores driver-specific properties that are passed to the CSI\ndriver. Consult your driver's documentation for supported values.", "additionalProperties": {"type": "string"}}, "nodePublishSecretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}, "description": "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and  may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed.", "x-kubernetes-map-type": "atomic"}}, "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers."}, "nfs": {"type": "object", "required": ["path", "server"], "properties": {"path": {"type": "string", "description": "path that is exported by the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}, "server": {"type": "string", "description": "server is the hostname or IP address of the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}, "readOnly": {"type": "boolean", "description": "readOnly here will force the NFS export to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}}, "description": "nfs represents an NFS mount on the host that shares a pod's lifetime\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"}, "rbd": {"type": "object", "required": ["image", "monitors"], "properties": {"pool": {"type": "string", "default": "rbd", "description": "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}, "user": {"type": "string", "default": "admin", "description": "user is the rados user name.\nDefault is admin.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}, "image": {"type": "string", "description": "image is the rados image name.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}, "fsType": {"type": "string", "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#rbd"}, "keyring": {"type": "string", "default": "/etc/ceph/keyring", "description": "keyring is the path to key ring for RBDUser.\nDefault is /etc/ceph/keyring.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}, "monitors": {"type": "array", "items": {"type": "string"}, "description": "monitors is a collection of Ceph monitors.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "x-kubernetes-list-type": "atomic"}, "readOnly": {"type": "boolean", "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"}, "secretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}, "description": "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "x-kubernetes-map-type": "atomic"}}, "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.\nDeprecated: RBD is deprecated and the in-tree rbd type is no longer supported.\nMore info: https://examples.k8s.io/volumes/rbd/README.md"}, "name": {"type": "string", "description": "name of the volume.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "image": {"type": "object", "properties": {"reference": {"type": "string", "description": "Required: Image or artifact reference to be used.\nBehaves in the same way as pod.spec.containers[*].image.\nPull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets."}, "pullPolicy": {"type": "string", "description": "Policy for pulling OCI objects. Possible values are:\nAlways: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\nNever: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\nIfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise."}}, "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.\nThe volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\n- Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\n- IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.\nA failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.\nThe types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.\nThe OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.\nThe volume will be mounted read-only (ro) and non-executable files (noexec).\nSub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.\nThe field spec.securityContext.fsGroupChangePolicy has no effect on this volume type."}, "iscsi": {"type": "object", "required": ["iqn", "lun", "targetPortal"], "properties": {"iqn": {"type": "string", "description": "iqn is the target iSCSI Qualified Name."}, "lun": {"type": "integer", "format": "int32", "description": "lun represents iSCSI Target Lun number."}, "fsType": {"type": "string", "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi"}, "portals": {"type": "array", "items": {"type": "string"}, "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", "x-kubernetes-list-type": "atomic"}, "readOnly": {"type": "boolean", "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false."}, "secretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}, "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication", "x-kubernetes-map-type": "atomic"}, "targetPortal": {"type": "string", "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260)."}, "initiatorName": {"type": "string", "description": "initiatorName is the custom iSCSI Initiator Name.\nIf initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface\n<target portal>:<volume name> will be created for the connection."}, "iscsiInterface": {"type": "string", "default": "default", "description": "iscsiInterface is the interface Name that uses an iSCSI transport.\nDefaults to 'default' (tcp)."}, "chapAuthSession": {"type": "boolean", "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication"}, "chapAuthDiscovery": {"type": "boolean", "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication"}}, "description": "iscsi represents an ISCSI Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://examples.k8s.io/volumes/iscsi/README.md"}, "cephfs": {"type": "object", "required": ["monitors"], "properties": {"path": {"type": "string", "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /"}, "user": {"type": "string", "description": "user is optional: User is the rados user name, default is admin\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}, "monitors": {"type": "array", "items": {"type": "string"}, "description": "monitors is Required: Monitors is a collection of Ceph monitors\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "x-kubernetes-list-type": "atomic"}, "readOnly": {"type": "boolean", "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}, "secretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}, "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", "x-kubernetes-map-type": "atomic"}, "secretFile": {"type": "string", "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"}}, "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.\nDeprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported."}, "cinder": {"type": "object", "required": ["volumeID"], "properties": {"fsType": {"type": "string", "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md"}, "readOnly": {"type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md"}, "volumeID": {"type": "string", "description": "volumeID used to identify the volume in cinder.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md"}, "secretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}, "description": "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack.", "x-kubernetes-map-type": "atomic"}}, "description": "cinder represents a cinder volume attached and mounted on kubelets host machine.\nDeprecated: Cinder is deprecated. All operations for the in-tree cinder type\nare redirected to the cinder.csi.openstack.org CSI driver.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md"}, "secret": {"type": "object", "properties": {"items": {"type": "array", "items": {"type": "object", "required": ["key", "path"], "properties": {"key": {"type": "string", "description": "key is the key to project."}, "mode": {"type": "integer", "format": "int32", "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}, "path": {"type": "string", "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'."}}, "description": "Maps a string key to a path within a volume."}, "description": "items If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", "x-kubernetes-list-type": "atomic"}, "optional": {"type": "boolean", "description": "optional field specify whether the Secret or its keys must be defined"}, "secretName": {"type": "string", "description": "secretName is the name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret"}, "defaultMode": {"type": "integer", "format": "int32", "description": "defaultMode is Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}}, "description": "secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret"}, "flocker": {"type": "object", "properties": {"datasetName": {"type": "string", "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker\nshould be considered as deprecated"}, "datasetUUID": {"type": "string", "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset"}}, "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running.\nDeprecated: Flocker is deprecated and the in-tree flocker type is no longer supported."}, "gitRepo": {"type": "object", "required": ["repository"], "properties": {"revision": {"type": "string", "description": "revision is the commit hash for the specified revision."}, "directory": {"type": "string", "description": "directory is the target directory name.\nMust not contain or start with '..'.  If '.' is supplied, the volume directory will be the\ngit repository.  Otherwise, if specified, the volume will contain the git repository in\nthe subdirectory with the given name."}, "repository": {"type": "string", "description": "repository is the URL"}}, "description": "gitRepo represents a git repository at a particular revision.\nDeprecated: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container."}, "quobyte": {"type": "object", "required": ["registry", "volume"], "properties": {"user": {"type": "string", "description": "user to map volume access to\nDefaults to serivceaccount user"}, "group": {"type": "string", "description": "group to map volume access to\nDefault is no group"}, "tenant": {"type": "string", "description": "tenant owning the given Quobyte volume in the Backend\nUsed with dynamically provisioned Quobyte volumes, value is set by the plugin"}, "volume": {"type": "string", "description": "volume is a string that references an already created Quobyte volume by name."}, "readOnly": {"type": "boolean", "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions.\nDefaults to false."}, "registry": {"type": "string", "description": "registry represents a single or multiple Quobyte Registry services\nspecified as a string as host:port pair (multiple entries are separated with commas)\nwhich acts as the central registry for volumes"}}, "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime.\nDeprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported."}, "scaleIO": {"type": "object", "required": ["gateway", "secretRef", "system"], "properties": {"fsType": {"type": "string", "default": "xfs", "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\".\nDefault is \"xfs\"."}, "system": {"type": "string", "description": "system is the name of the storage system as configured in ScaleIO."}, "gateway": {"type": "string", "description": "gateway is the host address of the ScaleIO API Gateway."}, "readOnly": {"type": "boolean", "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts."}, "secretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}, "description": "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail.", "x-kubernetes-map-type": "atomic"}, "sslEnabled": {"type": "boolean", "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false"}, "volumeName": {"type": "string", "description": "volumeName is the name of a volume already created in the ScaleIO system\nthat is associated with this volume source."}, "storageMode": {"type": "string", "default": "ThinProvisioned", "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.\nDefault is ThinProvisioned."}, "storagePool": {"type": "string", "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain."}, "protectionDomain": {"type": "string", "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage."}}, "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\nDeprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported."}, "emptyDir": {"type": "object", "properties": {"medium": {"type": "string", "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"}, "sizeLimit": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", "x-kubernetes-int-or-string": true}}, "description": "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"}, "hostPath": {"type": "object", "required": ["path"], "properties": {"path": {"type": "string", "description": "path of the directory on the host.\nIf the path is a symlink, it will follow the link to the real path.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}, "type": {"type": "string", "description": "type for HostPath Volume\nDefaults to \"\"\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}}, "description": "hostPath represents a pre-existing file or directory on the host\nmachine that is directly exposed to the container. This is generally\nused for system agents or other privileged things that are allowed\nto see the host machine. Most containers will NOT need this.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"}, "azureDisk": {"type": "object", "required": ["diskName", "diskURI"], "properties": {"kind": {"type": "string", "description": "kind expected values are Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set). defaults to shared"}, "fsType": {"type": "string", "default": "ext4", "description": "fsType is Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."}, "diskURI": {"type": "string", "description": "diskURI is the URI of data disk in the blob storage"}, "diskName": {"type": "string", "description": "diskName is the Name of the data disk in the blob storage"}, "readOnly": {"type": "boolean", "default": false, "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts."}, "cachingMode": {"type": "string", "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write."}}, "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\nDeprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type\nare redirected to the disk.csi.azure.com CSI driver."}, "azureFile": {"type": "object", "required": ["secretName", "shareName"], "properties": {"readOnly": {"type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts."}, "shareName": {"type": "string", "description": "shareName is the azure share Name"}, "secretName": {"type": "string", "description": "secretName is the  name of secret that contains Azure Storage Account Name and Key"}}, "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod.\nDeprecated: AzureFile is deprecated. All operations for the in-tree azureFile type\nare redirected to the file.csi.azure.com CSI driver."}, "configMap": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "items": {"type": "array", "items": {"type": "object", "required": ["key", "path"], "properties": {"key": {"type": "string", "description": "key is the key to project."}, "mode": {"type": "integer", "format": "int32", "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}, "path": {"type": "string", "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'."}}, "description": "Maps a string key to a path within a volume."}, "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", "x-kubernetes-list-type": "atomic"}, "optional": {"type": "boolean", "description": "optional specify whether the ConfigMap or its keys must be defined"}, "defaultMode": {"type": "integer", "format": "int32", "description": "defaultMode is optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}}, "description": "configMap represents a configMap that should populate this volume", "x-kubernetes-map-type": "atomic"}, "ephemeral": {"type": "object", "properties": {"volumeClaimTemplate": {"type": "object", "required": ["spec"], "properties": {"spec": {"type": "object", "properties": {"selector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "selector is a label query over volumes to consider for binding.", "x-kubernetes-map-type": "atomic"}, "resources": {"type": "object", "properties": {"limits": {"type": "object", "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "requests": {"type": "object", "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}}, "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"}, "dataSource": {"type": "object", "required": ["kind", "name"], "properties": {"kind": {"type": "string", "description": "Kind is the type of resource being referenced"}, "name": {"type": "string", "description": "Name is the name of resource being referenced"}, "apiGroup": {"type": "string", "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required."}}, "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", "x-kubernetes-map-type": "atomic"}, "volumeMode": {"type": "string", "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec."}, "volumeName": {"type": "string", "description": "volumeName is the binding reference to the PersistentVolume backing this claim."}, "accessModes": {"type": "array", "items": {"type": "string"}, "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", "x-kubernetes-list-type": "atomic"}, "dataSourceRef": {"type": "object", "required": ["kind", "name"], "properties": {"kind": {"type": "string", "description": "Kind is the type of resource being referenced"}, "name": {"type": "string", "description": "Name is the name of resource being referenced"}, "apiGroup": {"type": "string", "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required."}, "namespace": {"type": "string", "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled."}}, "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n  allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n  preserves all values, and generates an error if a disallowed value is\n  specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n  in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled."}, "storageClassName": {"type": "string", "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1"}, "volumeAttributesClassName": {"type": "string", "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default)."}}, "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here."}, "metadata": {"type": "object", "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation."}}, "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod.  The name of the PVC will be `<pod name>-<volume name>` where\n`<volume name>` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil."}}, "description": "ephemeral represents a volume that is handled by a cluster storage driver.\nThe volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,\nand deleted when the pod is removed.\n\nUse this if:\na) the volume is only needed while the pod runs,\nb) features of normal volumes like restoring from snapshot or capacity\n   tracking are needed,\nc) the storage driver is specified through a storage class, and\nd) the storage driver supports dynamic volume provisioning through\n   a PersistentVolumeClaim (see EphemeralVolumeSource for more\n   information on the connection between this volume type\n   and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific\nAPIs for volumes that persist for longer than the lifecycle\nof an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to\nbe used that way - see the documentation of the driver for\nmore information.\n\nA pod can use both types of ephemeral volumes and\npersistent volumes at the same time."}, "glusterfs": {"type": "object", "required": ["endpoints", "path"], "properties": {"path": {"type": "string", "description": "path is the Glusterfs volume path.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}, "readOnly": {"type": "boolean", "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}, "endpoints": {"type": "string", "description": "endpoints is the endpoint name that details Glusterfs topology.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod"}}, "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.\nDeprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md"}, "projected": {"type": "object", "properties": {"sources": {"type": "array", "items": {"type": "object", "properties": {"secret": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "items": {"type": "array", "items": {"type": "object", "required": ["key", "path"], "properties": {"key": {"type": "string", "description": "key is the key to project."}, "mode": {"type": "integer", "format": "int32", "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}, "path": {"type": "string", "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'."}}, "description": "Maps a string key to a path within a volume."}, "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", "x-kubernetes-list-type": "atomic"}, "optional": {"type": "boolean", "description": "optional field specify whether the Secret or its key must be defined"}}, "description": "secret information about the secret data to project", "x-kubernetes-map-type": "atomic"}, "configMap": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "items": {"type": "array", "items": {"type": "object", "required": ["key", "path"], "properties": {"key": {"type": "string", "description": "key is the key to project."}, "mode": {"type": "integer", "format": "int32", "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}, "path": {"type": "string", "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'."}}, "description": "Maps a string key to a path within a volume."}, "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", "x-kubernetes-list-type": "atomic"}, "optional": {"type": "boolean", "description": "optional specify whether the ConfigMap or its keys must be defined"}}, "description": "configMap information about the configMap data to project", "x-kubernetes-map-type": "atomic"}, "downwardAPI": {"type": "object", "properties": {"items": {"type": "array", "items": {"type": "object", "required": ["path"], "properties": {"mode": {"type": "integer", "format": "int32", "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}, "path": {"type": "string", "description": "Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"}, "fieldRef": {"type": "object", "required": ["fieldPath"], "properties": {"fieldPath": {"type": "string", "description": "Path of the field to select in the specified API version."}, "apiVersion": {"type": "string", "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."}}, "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", "x-kubernetes-map-type": "atomic"}, "resourceFieldRef": {"type": "object", "required": ["resource"], "properties": {"divisor": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "description": "Specifies the output format of the exposed resources, defaults to \"1\"", "x-kubernetes-int-or-string": true}, "resource": {"type": "string", "description": "Required: resource to select"}, "containerName": {"type": "string", "description": "Container name: required for volumes, optional for env vars"}}, "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", "x-kubernetes-map-type": "atomic"}}, "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field"}, "description": "Items is a list of DownwardAPIVolume file", "x-kubernetes-list-type": "atomic"}}, "description": "downwardAPI information about the downwardAPI data to project"}, "clusterTrustBundle": {"type": "object", "required": ["path"], "properties": {"name": {"type": "string", "description": "Select a single ClusterTrustBundle by object name.  Mutually-exclusive\nwith signerName and labelSelector."}, "path": {"type": "string", "description": "Relative path from the volume root to write the bundle."}, "optional": {"type": "boolean", "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s)\naren't available.  If using name, then the named ClusterTrustBundle is\nallowed not to exist.  If using signerName, then the combination of\nsignerName and labelSelector is allowed to match zero\nClusterTrustBundles."}, "signerName": {"type": "string", "description": "Select all ClusterTrustBundles that match this signer name.\nMutually-exclusive with name.  The contents of all selected\nClusterTrustBundles will be unified and deduplicated."}, "labelSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "Select all ClusterTrustBundles that match this label selector.  Only has\neffect if signerName is set.  Mutually-exclusive with name.  If unset,\ninterpreted as \"match nothing\".  If set but empty, interpreted as \"match\neverything\".", "x-kubernetes-map-type": "atomic"}}, "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field\nof ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the\ncombination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written\ninto the pod filesystem.  Esoteric PEM features such as inter-block\ncomments and block headers are stripped.  Certificates are deduplicated.\nThe ordering of certificates within the file is arbitrary, and Kubelet\nmay change the order over time."}, "serviceAccountToken": {"type": "object", "required": ["path"], "properties": {"path": {"type": "string", "description": "path is the path relative to the mount point of the file to project the\ntoken into."}, "audience": {"type": "string", "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver."}, "expirationSeconds": {"type": "integer", "format": "int64", "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes."}}, "description": "serviceAccountToken is information about the serviceAccountToken data to project"}}, "description": "Projection that may be projected along with other supported volume types.\nExactly one of these fields must be set."}, "description": "sources is the list of volume projections. Each entry in this list\nhandles one source.", "x-kubernetes-list-type": "atomic"}, "defaultMode": {"type": "integer", "format": "int32", "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}}, "description": "projected items for all in one resources secrets, configmaps, and downward API"}, "storageos": {"type": "object", "properties": {"fsType": {"type": "string", "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."}, "readOnly": {"type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts."}, "secretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}, "description": "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials.  If not specified, default values will be attempted.", "x-kubernetes-map-type": "atomic"}, "volumeName": {"type": "string", "description": "volumeName is the human-readable name of the StorageOS volume.  Volume\nnames are only unique within a namespace."}, "volumeNamespace": {"type": "string", "description": "volumeNamespace specifies the scope of the volume within StorageOS.  If no\nnamespace is specified then the Pod's namespace will be used.  This allows the\nKubernetes name scoping to be mirrored within StorageOS for tighter integration.\nSet VolumeName to any name to override the default behaviour.\nSet to \"default\" if you are not using namespaces within StorageOS.\nNamespaces that do not pre-exist within StorageOS will be created."}}, "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.\nDeprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported."}, "flexVolume": {"type": "object", "required": ["driver"], "properties": {"driver": {"type": "string", "description": "driver is the name of the driver to use for this volume."}, "fsType": {"type": "string", "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script."}, "options": {"type": "object", "description": "options is Optional: this field holds extra command options if any.", "additionalProperties": {"type": "string"}}, "readOnly": {"type": "boolean", "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts."}, "secretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}, "description": "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts.", "x-kubernetes-map-type": "atomic"}}, "description": "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin.\nDeprecated: FlexVolume is deprecated. Consider using a CSIDriver instead."}, "downwardAPI": {"type": "object", "properties": {"items": {"type": "array", "items": {"type": "object", "required": ["path"], "properties": {"mode": {"type": "integer", "format": "int32", "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}, "path": {"type": "string", "description": "Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'"}, "fieldRef": {"type": "object", "required": ["fieldPath"], "properties": {"fieldPath": {"type": "string", "description": "Path of the field to select in the specified API version."}, "apiVersion": {"type": "string", "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."}}, "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", "x-kubernetes-map-type": "atomic"}, "resourceFieldRef": {"type": "object", "required": ["resource"], "properties": {"divisor": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "description": "Specifies the output format of the exposed resources, defaults to \"1\"", "x-kubernetes-int-or-string": true}, "resource": {"type": "string", "description": "Required: resource to select"}, "containerName": {"type": "string", "description": "Container name: required for volumes, optional for env vars"}}, "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", "x-kubernetes-map-type": "atomic"}}, "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field"}, "description": "Items is a list of downward API volume file", "x-kubernetes-list-type": "atomic"}, "defaultMode": {"type": "integer", "format": "int32", "description": "Optional: mode bits to use on created files by default. Must be a\nOptional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set."}}, "description": "downwardAPI represents downward API about the pod that should populate this volume"}, "vsphereVolume": {"type": "object", "required": ["volumePath"], "properties": {"fsType": {"type": "string", "description": "fsType is filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."}, "volumePath": {"type": "string", "description": "volumePath is the path that identifies vSphere volume vmdk"}, "storagePolicyID": {"type": "string", "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName."}, "storagePolicyName": {"type": "string", "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name."}}, "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.\nDeprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type\nare redirected to the csi.vsphere.vmware.com CSI driver."}, "portworxVolume": {"type": "object", "required": ["volumeID"], "properties": {"fsType": {"type": "string", "description": "fSType represents the filesystem type to mount\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified."}, "readOnly": {"type": "boolean", "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts."}, "volumeID": {"type": "string", "description": "volumeID uniquely identifies a Portworx volume"}}, "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine.\nDeprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type\nare redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate\nis on."}, "gcePersistentDisk": {"type": "object", "required": ["pdName"], "properties": {"fsType": {"type": "string", "description": "fsType is filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}, "pdName": {"type": "string", "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}, "readOnly": {"type": "boolean", "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}, "partition": {"type": "integer", "format": "int32", "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}}, "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: GCEPersistentDisk is deprecated. All operations for the in-tree\ngcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"}, "awsElasticBlockStore": {"type": "object", "required": ["volumeID"], "properties": {"fsType": {"type": "string", "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}, "readOnly": {"type": "boolean", "description": "readOnly value true will force the readOnly setting in VolumeMounts.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}, "volumeID": {"type": "string", "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}, "partition": {"type": "integer", "format": "int32", "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty)."}}, "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree\nawsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"}, "photonPersistentDisk": {"type": "object", "required": ["pdID"], "properties": {"pdID": {"type": "string", "description": "pdID is the ID that identifies Photon Controller persistent disk"}, "fsType": {"type": "string", "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."}}, "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.\nDeprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported."}, "persistentVolumeClaim": {"type": "object", "required": ["claimName"], "properties": {"readOnly": {"type": "boolean", "description": "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false."}, "claimName": {"type": "string", "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"}}, "description": "persistentVolumeClaimVolumeSource represents a reference to a\nPersistentVolumeClaim in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"}}, "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod."}, "description": "Volumes allows for mounting volumes from various sources into the\nMattermost application pods."}, "database": {"type": "object", "properties": {"external": {"type": "object", "properties": {"secret": {"type": "string", "description": "Secret contains data necessary to connect to the external database.\nThe Kubernetes Secret should contain:\n  - Key: DB_CONNECTION_STRING | Value: Full database connection string.\nIt can also contain optional fields, such as:\n  - Key: MM_SQLSETTINGS_DATASOURCEREPLICAS | Value: Connection string to read replicas of the database.\n  - Key: DB_CONNECTION_CHECK_URL | Value: The URL used for checking that the database is accessible.\n    Omitting this value in the secret will cause Operator to skip adding init container for database check."}}, "description": "Defines the configuration of and external database."}, "operatorManaged": {"type": "object", "properties": {"type": {"type": "string", "description": "Defines the type of database to use for an Operator-Managed database."}, "version": {"type": "string", "description": "Defines the cluster version for the database to use"}, "replicas": {"type": "integer", "format": "int32", "description": "Defines the number of database replicas.\nFor redundancy use at least 2 replicas.\nSetting this will override the number of replicas set by 'Size'."}, "backupURL": {"type": "string", "description": "Defines the object storage url for uploading backups."}, "resources": {"type": "object", "properties": {"claims": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."}, "request": {"type": "string", "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request."}}, "description": "ResourceClaim references one entry in PodSpec.ResourceClaims."}, "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "limits": {"type": "object", "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "requests": {"type": "object", "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}}, "description": "Defines the resource requests and limits for the database pods."}, "storageSize": {"type": "string", "pattern": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", "description": "Defines the storage size for the database. ie 50Gi"}, "initBucketURL": {"type": "string", "description": "Defines the AWS S3 bucket where the Database Backup is stored.\nThe operator will download the file to restore the data."}, "backupSchedule": {"type": "string", "description": "Defines the interval for backups in cron expression format."}, "backupSecretName": {"type": "string", "description": "Defines the secret to be used for uploading/restoring backup."}, "backupRestoreSecretName": {"type": "string", "description": "Defines the secret to be used when performing a database restore."}, "backupRemoteDeletePolicy": {"type": "string", "description": "Defines the backup retention policy."}}, "description": "Defines the configuration of database managed by Kubernetes operator."}, "disableReadinessCheck": {"type": "boolean", "description": "DisableReadinessCheck instructs Operator to not add init container responsible for checking DB access.\nCan be used to define custom init containers specified in `spec.PodExtensions.InitContainers`."}}, "description": "External Services"}, "replicas": {"type": "integer", "format": "int32", "description": "Replicas defines the number of replicas to use for the Mattermost app\nservers."}, "dnsConfig": {"type": "object", "properties": {"options": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string", "description": "Name is this DNS resolver option's name.\nRequired."}, "value": {"type": "string", "description": "Value is this DNS resolver option's value."}}, "description": "PodDNSConfigOption defines DNS resolver options of a pod."}, "description": "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy.", "x-kubernetes-list-type": "atomic"}, "searches": {"type": "array", "items": {"type": "string"}, "description": "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed.", "x-kubernetes-list-type": "atomic"}, "nameservers": {"type": "array", "items": {"type": "string"}, "description": "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.\nDuplicated nameservers will be removed.", "x-kubernetes-list-type": "atomic"}}, "description": "Custom DNS configuration to use for the Mattermost Installation pods."}, "dnsPolicy": {"type": "string", "description": "Custom DNS policy to use for the Mattermost Installation pods."}, "fileStore": {"type": "object", "properties": {"local": {"type": "object", "required": ["enabled"], "properties": {"enabled": {"type": "boolean", "description": "Set to use local (PVC) storage, require explicit enabled to prevent accidental misconfiguration."}, "storageSize": {"type": "string", "pattern": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", "description": "Defines the storage size for the PVC. (default 50Gi)"}}, "description": "Defines the configuration of PVC backed storage (local). This is NOT recommended for production environments."}, "external": {"type": "object", "properties": {"url": {"type": "string", "description": "Set to use an external MinIO deployment or S3."}, "bucket": {"type": "string", "description": "Set to the bucket name of your external MinIO or S3."}, "secret": {"type": "string", "description": "Optionally enter the name of already existing secret.\nSecret should have two values: \"accesskey\" and \"secretkey\"."}, "useServiceAccount": {"type": "boolean", "description": "Optionally use service account with IAM role to access AWS services, like S3."}}, "description": "Defines the configuration of an external file store."}, "externalVolume": {"type": "object", "properties": {"volumeClaimName": {"type": "string", "description": "The name of the matching volume claim for the externally managed volume."}}, "description": "Defines the configuration of externally managed PVC backed storage."}, "operatorManaged": {"type": "object", "properties": {"replicas": {"type": "integer", "format": "int32", "description": "Defines the number of Minio replicas.\nSupply 1 to run Minio in standalone mode with no redundancy.\nSupply 4 or more to run Minio in distributed mode.\nNote that it is not possible to upgrade Minio from standalone to distributed mode.\nSetting this will override the number of replicas set by 'Size'.\nMore info: https://docs.min.io/docs/distributed-minio-quickstart-guide.html"}, "resources": {"type": "object", "properties": {"claims": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."}, "request": {"type": "string", "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request."}}, "description": "ResourceClaim references one entry in PodSpec.ResourceClaims."}, "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "limits": {"type": "object", "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "requests": {"type": "object", "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}}, "description": "Defines the resource requests and limits for the Minio pods."}, "storageSize": {"type": "string", "pattern": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", "description": "Defines the storage size for Minio. ie 50Gi"}}, "description": "Defines the configuration of file store managed by Kubernetes operator."}}, "description": "FileStore defines the file store configuration for Mattermost."}, "jobServer": {"type": "object", "properties": {"dedicatedJobServer": {"type": "boolean", "description": "Determines whether to create a dedicated Mattermost server deployment\nwhich is configured to run scheduled jobs. This deployment will recieve\nno user traffic and the primary Mattermost deployment will no longer be\nconfigured to run jobs."}}, "description": "JobServer defines configuration for the Mattermost job server."}, "updateJob": {"type": "object", "properties": {"disabled": {"type": "boolean", "description": "Determines whether to disable the Operator's creation of the update job."}, "extraLabels": {"type": "object", "description": "Defines labels to add to the update job pod.\nOverrides what is set in ResourceLabels, does not override default label (app label).", "additionalProperties": {"type": "string"}}, "extraAnnotations": {"type": "object", "description": "Defines annotations to add to the update job pod.", "additionalProperties": {"type": "string"}}}, "description": "UpdateJob defines configuration for the template for the update job."}, "scheduling": {"type": "object", "properties": {"affinity": {"type": "object", "properties": {"podAffinity": {"type": "object", "properties": {"requiredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["topologyKey"], "properties": {"namespaces": {"type": "array", "items": {"type": "string"}, "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", "x-kubernetes-list-type": "atomic"}, "topologyKey": {"type": "string", "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed."}, "labelSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", "x-kubernetes-map-type": "atomic"}, "matchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "mismatchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "namespaceSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", "x-kubernetes-map-type": "atomic"}}, "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key <topologyKey> matches that of any node on which\na pod of the set of pods is running"}, "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", "x-kubernetes-list-type": "atomic"}, "preferredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["podAffinityTerm", "weight"], "properties": {"weight": {"type": "integer", "format": "int32", "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100."}, "podAffinityTerm": {"type": "object", "required": ["topologyKey"], "properties": {"namespaces": {"type": "array", "items": {"type": "string"}, "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", "x-kubernetes-list-type": "atomic"}, "topologyKey": {"type": "string", "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed."}, "labelSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", "x-kubernetes-map-type": "atomic"}, "matchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "mismatchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "namespaceSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", "x-kubernetes-map-type": "atomic"}}, "description": "Required. A pod affinity term, associated with the corresponding weight."}}, "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)"}, "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", "x-kubernetes-list-type": "atomic"}}, "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."}, "nodeAffinity": {"type": "object", "properties": {"requiredDuringSchedulingIgnoredDuringExecution": {"type": "object", "required": ["nodeSelectorTerms"], "properties": {"nodeSelectorTerms": {"type": "array", "items": {"type": "object", "properties": {"matchFields": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "The label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."}}, "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values."}, "description": "A list of node selector requirements by node's fields.", "x-kubernetes-list-type": "atomic"}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "The label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."}}, "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values."}, "description": "A list of node selector requirements by node's labels.", "x-kubernetes-list-type": "atomic"}}, "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "x-kubernetes-map-type": "atomic"}, "description": "Required. A list of node selector terms. The terms are ORed.", "x-kubernetes-list-type": "atomic"}}, "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", "x-kubernetes-map-type": "atomic"}, "preferredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["preference", "weight"], "properties": {"weight": {"type": "integer", "format": "int32", "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100."}, "preference": {"type": "object", "properties": {"matchFields": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "The label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."}}, "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values."}, "description": "A list of node selector requirements by node's fields.", "x-kubernetes-list-type": "atomic"}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "The label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt."}}, "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values."}, "description": "A list of node selector requirements by node's labels.", "x-kubernetes-list-type": "atomic"}}, "description": "A node selector term, associated with the corresponding weight.", "x-kubernetes-map-type": "atomic"}}, "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)."}, "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", "x-kubernetes-list-type": "atomic"}}, "description": "Describes node affinity scheduling rules for the pod."}, "podAntiAffinity": {"type": "object", "properties": {"requiredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["topologyKey"], "properties": {"namespaces": {"type": "array", "items": {"type": "string"}, "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", "x-kubernetes-list-type": "atomic"}, "topologyKey": {"type": "string", "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed."}, "labelSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", "x-kubernetes-map-type": "atomic"}, "matchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "mismatchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "namespaceSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", "x-kubernetes-map-type": "atomic"}}, "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key <topologyKey> matches that of any node on which\na pod of the set of pods is running"}, "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", "x-kubernetes-list-type": "atomic"}, "preferredDuringSchedulingIgnoredDuringExecution": {"type": "array", "items": {"type": "object", "required": ["podAffinityTerm", "weight"], "properties": {"weight": {"type": "integer", "format": "int32", "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100."}, "podAffinityTerm": {"type": "object", "required": ["topologyKey"], "properties": {"namespaces": {"type": "array", "items": {"type": "string"}, "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", "x-kubernetes-list-type": "atomic"}, "topologyKey": {"type": "string", "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed."}, "labelSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", "x-kubernetes-map-type": "atomic"}, "matchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "mismatchLabelKeys": {"type": "array", "items": {"type": "string"}, "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", "x-kubernetes-list-type": "atomic"}, "namespaceSelector": {"type": "object", "properties": {"matchLabels": {"type": "object", "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", "additionalProperties": {"type": "string"}}, "matchExpressions": {"type": "array", "items": {"type": "object", "required": ["key", "operator"], "properties": {"key": {"type": "string", "description": "key is the label key that the selector applies to."}, "values": {"type": "array", "items": {"type": "string"}, "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", "x-kubernetes-list-type": "atomic"}, "operator": {"type": "string", "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist."}}, "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."}, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", "x-kubernetes-list-type": "atomic"}}, "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", "x-kubernetes-map-type": "atomic"}}, "description": "Required. A pod affinity term, associated with the corresponding weight."}}, "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)"}, "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", "x-kubernetes-list-type": "atomic"}}, "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."}}, "description": "If specified, affinity will define the pod's scheduling constraints"}, "resources": {"type": "object", "properties": {"claims": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."}, "request": {"type": "string", "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request."}}, "description": "ResourceClaim references one entry in PodSpec.ResourceClaims."}, "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "limits": {"type": "object", "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "requests": {"type": "object", "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}}, "description": "Defines the resource requests and limits for the Mattermost app server pods."}, "tolerations": {"type": "array", "items": {"type": "object", "properties": {"key": {"type": "string", "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys."}, "value": {"type": "string", "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string."}, "effect": {"type": "string", "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute."}, "operator": {"type": "string", "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category."}, "tolerationSeconds": {"type": "integer", "format": "int64", "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system."}}, "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple <key,value,effect> using the matching operator <operator>."}, "description": "Defines tolerations for the Mattermost app server pods\nMore info: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/"}, "nodeSelector": {"type": "object", "description": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", "additionalProperties": {"type": "string"}}}, "description": "Scheduling defines the configuration related to scheduling of the Mattermost pods\nas well as resource constraints. These settings generally don't need to be changed."}, "ingressName": {"type": "string", "description": "IngressName defines the host to be used when creating the ingress rules.\nDeprecated: Use Spec.Ingress.Host instead."}, "podTemplate": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Defines a command override for Mattermost app server pods.\nThe default command is \"mattermost\"."}, "extraLabels": {"type": "object", "description": "Defines labels to add to the Mattermost app server pods.\nOverrides what is set in ResourceLabels, does not override default labels (app and cluster labels).", "additionalProperties": {"type": "string"}}, "securityContext": {"type": "object", "properties": {"fsGroup": {"type": "integer", "format": "int64", "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows."}, "sysctls": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "Name of a property to set"}, "value": {"type": "string", "description": "Value of a property to set"}}, "description": "Sysctl defines a kernel parameter to be set"}, "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", "x-kubernetes-list-type": "atomic"}, "runAsUser": {"type": "integer", "format": "int64", "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsGroup": {"type": "integer", "format": "int64", "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsNonRoot": {"type": "boolean", "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence."}, "seLinuxOptions": {"type": "object", "properties": {"role": {"type": "string", "description": "Role is a SELinux role label that applies to the container."}, "type": {"type": "string", "description": "Type is a SELinux type label that applies to the container."}, "user": {"type": "string", "description": "User is a SELinux user label that applies to the container."}, "level": {"type": "string", "description": "Level is SELinux level label that applies to the container."}}, "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer.  May also be set in SecurityContext.  If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows."}, "seccompProfile": {"type": "object", "required": ["type"], "properties": {"type": {"type": "string", "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied."}, "localhostProfile": {"type": "string", "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type."}}, "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows."}, "windowsOptions": {"type": "object", "properties": {"hostProcess": {"type": "boolean", "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true."}, "runAsUserName": {"type": "string", "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence."}, "gmsaCredentialSpec": {"type": "string", "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field."}, "gmsaCredentialSpecName": {"type": "string", "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use."}}, "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux."}, "appArmorProfile": {"type": "object", "required": ["type"], "properties": {"type": {"type": "string", "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement."}, "localhostProfile": {"type": "string", "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"."}}, "description": "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows."}, "supplementalGroups": {"type": "array", "items": {"type": "integer", "format": "int64"}, "description": "A list of groups applied to the first process run in each container, in\naddition to the container's primary GID and fsGroup (if specified).  If\nthe SupplementalGroupsPolicy feature is enabled, the\nsupplementalGroupsPolicy field determines whether these are in addition\nto or instead of any group memberships defined in the container image.\nIf unspecified, no additional groups are added, though group memberships\ndefined in the container image may still be used, depending on the\nsupplementalGroupsPolicy field.\nNote that this field cannot be set when spec.os.name is windows.", "x-kubernetes-list-type": "atomic"}, "fsGroupChangePolicy": {"type": "string", "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows."}, "seLinuxChangePolicy": {"type": "string", "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod.\nIt has no effect on nodes that do not support SELinux or to volumes does not support SELinux.\nValid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime.\nThis may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option.\nThis requires all Pods that share the same volume to use the same SELinux label.\nIt is not possible to share the same volume among privileged and unprivileged Pods.\nEligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes\nwhose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their\nCSIDriver instance. Other volumes are always re-labelled recursively.\n\"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used.\nIf not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes\nand \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state.\nNote that this field cannot be set when spec.os.name is windows."}, "supplementalGroupsPolicy": {"type": "string", "description": "Defines how supplemental groups of the first container processes are calculated.\nValid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used.\n(Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled\nand the container runtime must implement support for this feature.\nNote that this field cannot be set when spec.os.name is windows."}}, "description": "Defines the security context for the Mattermost app server pods."}, "extraAnnotations": {"type": "object", "description": "Defines annotations to add to the Mattermost app server pods.\nOverrides of default prometheus annotations are ignored.", "additionalProperties": {"type": "string"}}, "containerSecurityContext": {"type": "object", "properties": {"procMount": {"type": "string", "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsUser": {"type": "integer", "format": "int64", "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows."}, "privileged": {"type": "boolean", "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsGroup": {"type": "integer", "format": "int64", "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows."}, "capabilities": {"type": "object", "properties": {"add": {"type": "array", "items": {"type": "string", "description": "Capability represent POSIX capabilities type"}, "description": "Added capabilities", "x-kubernetes-list-type": "atomic"}, "drop": {"type": "array", "items": {"type": "string", "description": "Capability represent POSIX capabilities type"}, "description": "Removed capabilities", "x-kubernetes-list-type": "atomic"}}, "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsNonRoot": {"type": "boolean", "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence."}, "seLinuxOptions": {"type": "object", "properties": {"role": {"type": "string", "description": "Role is a SELinux role label that applies to the container."}, "type": {"type": "string", "description": "Type is a SELinux type label that applies to the container."}, "user": {"type": "string", "description": "User is a SELinux user label that applies to the container."}, "level": {"type": "string", "description": "Level is SELinux level label that applies to the container."}}, "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer.  May also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows."}, "seccompProfile": {"type": "object", "required": ["type"], "properties": {"type": {"type": "string", "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied."}, "localhostProfile": {"type": "string", "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type."}}, "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows."}, "windowsOptions": {"type": "object", "properties": {"hostProcess": {"type": "boolean", "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true."}, "runAsUserName": {"type": "string", "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence."}, "gmsaCredentialSpec": {"type": "string", "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field."}, "gmsaCredentialSpecName": {"type": "string", "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use."}}, "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux."}, "appArmorProfile": {"type": "object", "required": ["type"], "properties": {"type": {"type": "string", "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement."}, "localhostProfile": {"type": "string", "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"."}}, "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows."}, "readOnlyRootFilesystem": {"type": "boolean", "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows."}, "allowPrivilegeEscalation": {"type": "boolean", "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows."}}, "description": "Defines the security context for the Mattermost app server container."}}, "description": "PodTemplate defines configuration for the template for Mattermost pods."}, "volumeMounts": {"type": "array", "items": {"type": "object", "required": ["mountPath", "name"], "properties": {"name": {"type": "string", "description": "This must match the Name of a Volume."}, "subPath": {"type": "string", "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)."}, "readOnly": {"type": "boolean", "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false."}, "mountPath": {"type": "string", "description": "Path within the container at which the volume should be mounted.  Must\nnot contain ':'."}, "subPathExpr": {"type": "string", "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive."}, "mountPropagation": {"type": "string", "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)."}, "recursiveReadOnly": {"type": "string", "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only.  If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime.  If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled."}}, "description": "VolumeMount describes a mounting of a Volume within a container."}, "description": "Defines additional volumeMounts to add to Mattermost application pods."}, "elasticSearch": {"type": "object", "properties": {"host": {"type": "string"}, "password": {"type": "string"}, "username": {"type": "string"}}, "description": "ElasticSearch defines the ElasticSearch configuration for Mattermost."}, "licenseSecret": {"type": "string", "description": "LicenseSecret is the name of the secret containing a Mattermost license."}, "mattermostEnv": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name of the environment variable. Must be a C_IDENTIFIER."}, "value": {"type": "string", "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\"."}, "valueFrom": {"type": "object", "properties": {"fieldRef": {"type": "object", "required": ["fieldPath"], "properties": {"fieldPath": {"type": "string", "description": "Path of the field to select in the specified API version."}, "apiVersion": {"type": "string", "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."}}, "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", "x-kubernetes-map-type": "atomic"}, "secretKeyRef": {"type": "object", "required": ["key"], "properties": {"key": {"type": "string", "description": "The key of the secret to select from.  Must be a valid secret key."}, "name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the Secret or its key must be defined"}}, "description": "Selects a key of a secret in the pod's namespace", "x-kubernetes-map-type": "atomic"}, "configMapKeyRef": {"type": "object", "required": ["key"], "properties": {"key": {"type": "string", "description": "The key to select."}, "name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the ConfigMap or its key must be defined"}}, "description": "Selects a key of a ConfigMap.", "x-kubernetes-map-type": "atomic"}, "resourceFieldRef": {"type": "object", "required": ["resource"], "properties": {"divisor": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "description": "Specifies the output format of the exposed resources, defaults to \"1\"", "x-kubernetes-int-or-string": true}, "resource": {"type": "string", "description": "Required: resource to select"}, "containerName": {"type": "string", "description": "Container name: required for volumes, optional for env vars"}}, "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", "x-kubernetes-map-type": "atomic"}}, "description": "Source for the environment variable's value. Cannot be used if value is not empty."}}, "description": "EnvVar represents an environment variable present in a Container."}, "description": "Optional environment variables to set in the Mattermost application pods."}, "podExtensions": {"type": "object", "properties": {"containerPorts": {"type": "array", "items": {"type": "object", "required": ["containerPort"], "properties": {"name": {"type": "string", "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services."}, "hostIP": {"type": "string", "description": "What host IP to bind the external port to."}, "hostPort": {"type": "integer", "format": "int32", "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this."}, "protocol": {"type": "string", "default": "TCP", "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\"."}, "containerPort": {"type": "integer", "format": "int32", "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536."}}, "description": "ContainerPort represents a network port in a single container."}, "description": "Additional Container Ports injected into pod's main container.\nThe setting does not override ContainerPorts defined by the Operator."}, "initContainers": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"env": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name of the environment variable. Must be a C_IDENTIFIER."}, "value": {"type": "string", "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\"."}, "valueFrom": {"type": "object", "properties": {"fieldRef": {"type": "object", "required": ["fieldPath"], "properties": {"fieldPath": {"type": "string", "description": "Path of the field to select in the specified API version."}, "apiVersion": {"type": "string", "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."}}, "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", "x-kubernetes-map-type": "atomic"}, "secretKeyRef": {"type": "object", "required": ["key"], "properties": {"key": {"type": "string", "description": "The key of the secret to select from.  Must be a valid secret key."}, "name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the Secret or its key must be defined"}}, "description": "Selects a key of a secret in the pod's namespace", "x-kubernetes-map-type": "atomic"}, "configMapKeyRef": {"type": "object", "required": ["key"], "properties": {"key": {"type": "string", "description": "The key to select."}, "name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the ConfigMap or its key must be defined"}}, "description": "Selects a key of a ConfigMap.", "x-kubernetes-map-type": "atomic"}, "resourceFieldRef": {"type": "object", "required": ["resource"], "properties": {"divisor": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "description": "Specifies the output format of the exposed resources, defaults to \"1\"", "x-kubernetes-int-or-string": true}, "resource": {"type": "string", "description": "Required: resource to select"}, "containerName": {"type": "string", "description": "Container name: required for volumes, optional for env vars"}}, "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", "x-kubernetes-map-type": "atomic"}}, "description": "Source for the environment variable's value. Cannot be used if value is not empty."}}, "description": "EnvVar represents an environment variable present in a Container."}, "description": "List of environment variables to set in the container.\nCannot be updated.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "tty": {"type": "boolean", "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false."}, "args": {"type": "array", "items": {"type": "string"}, "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "x-kubernetes-list-type": "atomic"}, "name": {"type": "string", "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated."}, "image": {"type": "string", "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets."}, "ports": {"type": "array", "items": {"type": "object", "required": ["containerPort"], "properties": {"name": {"type": "string", "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services."}, "hostIP": {"type": "string", "description": "What host IP to bind the external port to."}, "hostPort": {"type": "integer", "format": "int32", "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this."}, "protocol": {"type": "string", "default": "TCP", "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\"."}, "containerPort": {"type": "integer", "format": "int32", "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536."}}, "description": "ContainerPort represents a network port in a single container."}, "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["containerPort", "protocol"]}, "stdin": {"type": "boolean", "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false."}, "command": {"type": "array", "items": {"type": "string"}, "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "x-kubernetes-list-type": "atomic"}, "envFrom": {"type": "array", "items": {"type": "object", "properties": {"prefix": {"type": "string", "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER."}, "secretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the Secret must be defined"}}, "description": "The Secret to select from", "x-kubernetes-map-type": "atomic"}, "configMapRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the ConfigMap must be defined"}}, "description": "The ConfigMap to select from", "x-kubernetes-map-type": "atomic"}}, "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets"}, "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", "x-kubernetes-list-type": "atomic"}, "lifecycle": {"type": "object", "properties": {"preStop": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "sleep": {"type": "object", "required": ["seconds"], "properties": {"seconds": {"type": "integer", "format": "int64", "description": "Seconds is the number of seconds to sleep."}}, "description": "Sleep represents a duration that the container should sleep."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified."}}, "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"}, "postStart": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "sleep": {"type": "object", "required": ["seconds"], "properties": {"seconds": {"type": "integer", "format": "int64", "description": "Seconds is the number of seconds to sleep."}}, "description": "Sleep represents a duration that the container should sleep."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified."}}, "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"}, "stopSignal": {"type": "string", "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name"}}, "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated."}, "resources": {"type": "object", "properties": {"claims": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."}, "request": {"type": "string", "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request."}}, "description": "ResourceClaim references one entry in PodSpec.ResourceClaims."}, "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "limits": {"type": "object", "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "requests": {"type": "object", "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}}, "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"}, "stdinOnce": {"type": "boolean", "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false"}, "workingDir": {"type": "string", "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated."}, "resizePolicy": {"type": "array", "items": {"type": "object", "required": ["resourceName", "restartPolicy"], "properties": {"resourceName": {"type": "string", "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory."}, "restartPolicy": {"type": "string", "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired."}}, "description": "ContainerResizePolicy represents resource resize policy for the container."}, "description": "Resources resize policy for the container.", "x-kubernetes-list-type": "atomic"}, "startupProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "volumeMounts": {"type": "array", "items": {"type": "object", "required": ["mountPath", "name"], "properties": {"name": {"type": "string", "description": "This must match the Name of a Volume."}, "subPath": {"type": "string", "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)."}, "readOnly": {"type": "boolean", "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false."}, "mountPath": {"type": "string", "description": "Path within the container at which the volume should be mounted.  Must\nnot contain ':'."}, "subPathExpr": {"type": "string", "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive."}, "mountPropagation": {"type": "string", "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)."}, "recursiveReadOnly": {"type": "string", "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only.  If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime.  If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled."}}, "description": "VolumeMount describes a mounting of a Volume within a container."}, "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["mountPath"]}, "livenessProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "restartPolicy": {"type": "string", "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted."}, "volumeDevices": {"type": "array", "items": {"type": "object", "required": ["devicePath", "name"], "properties": {"name": {"type": "string", "description": "name must match the name of a persistentVolumeClaim in the pod"}, "devicePath": {"type": "string", "description": "devicePath is the path inside of the container that the device will be mapped to."}}, "description": "volumeDevice describes a mapping of a raw block device within a container."}, "description": "volumeDevices is the list of block devices to be used by the container.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["devicePath"]}, "readinessProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "imagePullPolicy": {"type": "string", "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images"}, "securityContext": {"type": "object", "properties": {"procMount": {"type": "string", "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsUser": {"type": "integer", "format": "int64", "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows."}, "privileged": {"type": "boolean", "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsGroup": {"type": "integer", "format": "int64", "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows."}, "capabilities": {"type": "object", "properties": {"add": {"type": "array", "items": {"type": "string", "description": "Capability represent POSIX capabilities type"}, "description": "Added capabilities", "x-kubernetes-list-type": "atomic"}, "drop": {"type": "array", "items": {"type": "string", "description": "Capability represent POSIX capabilities type"}, "description": "Removed capabilities", "x-kubernetes-list-type": "atomic"}}, "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsNonRoot": {"type": "boolean", "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence."}, "seLinuxOptions": {"type": "object", "properties": {"role": {"type": "string", "description": "Role is a SELinux role label that applies to the container."}, "type": {"type": "string", "description": "Type is a SELinux type label that applies to the container."}, "user": {"type": "string", "description": "User is a SELinux user label that applies to the container."}, "level": {"type": "string", "description": "Level is SELinux level label that applies to the container."}}, "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer.  May also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows."}, "seccompProfile": {"type": "object", "required": ["type"], "properties": {"type": {"type": "string", "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied."}, "localhostProfile": {"type": "string", "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type."}}, "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows."}, "windowsOptions": {"type": "object", "properties": {"hostProcess": {"type": "boolean", "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true."}, "runAsUserName": {"type": "string", "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence."}, "gmsaCredentialSpec": {"type": "string", "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field."}, "gmsaCredentialSpecName": {"type": "string", "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use."}}, "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux."}, "appArmorProfile": {"type": "object", "required": ["type"], "properties": {"type": {"type": "string", "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement."}, "localhostProfile": {"type": "string", "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"."}}, "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows."}, "readOnlyRootFilesystem": {"type": "boolean", "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows."}, "allowPrivilegeEscalation": {"type": "boolean", "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows."}}, "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"}, "terminationMessagePath": {"type": "string", "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated."}, "terminationMessagePolicy": {"type": "string", "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated."}}, "description": "A single application container that you want to run within a pod."}, "description": "Additional InitContainers injected into pods.\nThe setting does not override InitContainers defined by the Operator."}, "sidecarContainers": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"env": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name of the environment variable. Must be a C_IDENTIFIER."}, "value": {"type": "string", "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\"."}, "valueFrom": {"type": "object", "properties": {"fieldRef": {"type": "object", "required": ["fieldPath"], "properties": {"fieldPath": {"type": "string", "description": "Path of the field to select in the specified API version."}, "apiVersion": {"type": "string", "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\"."}}, "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", "x-kubernetes-map-type": "atomic"}, "secretKeyRef": {"type": "object", "required": ["key"], "properties": {"key": {"type": "string", "description": "The key of the secret to select from.  Must be a valid secret key."}, "name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the Secret or its key must be defined"}}, "description": "Selects a key of a secret in the pod's namespace", "x-kubernetes-map-type": "atomic"}, "configMapKeyRef": {"type": "object", "required": ["key"], "properties": {"key": {"type": "string", "description": "The key to select."}, "name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the ConfigMap or its key must be defined"}}, "description": "Selects a key of a ConfigMap.", "x-kubernetes-map-type": "atomic"}, "resourceFieldRef": {"type": "object", "required": ["resource"], "properties": {"divisor": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "description": "Specifies the output format of the exposed resources, defaults to \"1\"", "x-kubernetes-int-or-string": true}, "resource": {"type": "string", "description": "Required: resource to select"}, "containerName": {"type": "string", "description": "Container name: required for volumes, optional for env vars"}}, "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", "x-kubernetes-map-type": "atomic"}}, "description": "Source for the environment variable's value. Cannot be used if value is not empty."}}, "description": "EnvVar represents an environment variable present in a Container."}, "description": "List of environment variables to set in the container.\nCannot be updated.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "tty": {"type": "boolean", "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false."}, "args": {"type": "array", "items": {"type": "string"}, "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "x-kubernetes-list-type": "atomic"}, "name": {"type": "string", "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated."}, "image": {"type": "string", "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets."}, "ports": {"type": "array", "items": {"type": "object", "required": ["containerPort"], "properties": {"name": {"type": "string", "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services."}, "hostIP": {"type": "string", "description": "What host IP to bind the external port to."}, "hostPort": {"type": "integer", "format": "int32", "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this."}, "protocol": {"type": "string", "default": "TCP", "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\"."}, "containerPort": {"type": "integer", "format": "int32", "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536."}}, "description": "ContainerPort represents a network port in a single container."}, "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["containerPort", "protocol"]}, "stdin": {"type": "boolean", "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false."}, "command": {"type": "array", "items": {"type": "string"}, "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "x-kubernetes-list-type": "atomic"}, "envFrom": {"type": "array", "items": {"type": "object", "properties": {"prefix": {"type": "string", "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER."}, "secretRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the Secret must be defined"}}, "description": "The Secret to select from", "x-kubernetes-map-type": "atomic"}, "configMapRef": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}, "optional": {"type": "boolean", "description": "Specify whether the ConfigMap must be defined"}}, "description": "The ConfigMap to select from", "x-kubernetes-map-type": "atomic"}}, "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets"}, "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", "x-kubernetes-list-type": "atomic"}, "lifecycle": {"type": "object", "properties": {"preStop": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "sleep": {"type": "object", "required": ["seconds"], "properties": {"seconds": {"type": "integer", "format": "int64", "description": "Seconds is the number of seconds to sleep."}}, "description": "Sleep represents a duration that the container should sleep."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified."}}, "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"}, "postStart": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "sleep": {"type": "object", "required": ["seconds"], "properties": {"seconds": {"type": "integer", "format": "int64", "description": "Seconds is the number of seconds to sleep."}}, "description": "Sleep represents a duration that the container should sleep."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified."}}, "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"}, "stopSignal": {"type": "string", "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name"}}, "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated."}, "resources": {"type": "object", "properties": {"claims": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container."}, "request": {"type": "string", "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request."}}, "description": "ResourceClaim references one entry in PodSpec.ResourceClaims."}, "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["name"]}, "limits": {"type": "object", "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "requests": {"type": "object", "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", "additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}}, "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"}, "stdinOnce": {"type": "boolean", "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false"}, "workingDir": {"type": "string", "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated."}, "resizePolicy": {"type": "array", "items": {"type": "object", "required": ["resourceName", "restartPolicy"], "properties": {"resourceName": {"type": "string", "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory."}, "restartPolicy": {"type": "string", "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired."}}, "description": "ContainerResizePolicy represents resource resize policy for the container."}, "description": "Resources resize policy for the container.", "x-kubernetes-list-type": "atomic"}, "startupProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "volumeMounts": {"type": "array", "items": {"type": "object", "required": ["mountPath", "name"], "properties": {"name": {"type": "string", "description": "This must match the Name of a Volume."}, "subPath": {"type": "string", "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root)."}, "readOnly": {"type": "boolean", "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false."}, "mountPath": {"type": "string", "description": "Path within the container at which the volume should be mounted.  Must\nnot contain ':'."}, "subPathExpr": {"type": "string", "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive."}, "mountPropagation": {"type": "string", "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None)."}, "recursiveReadOnly": {"type": "string", "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only.  If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime.  If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled."}}, "description": "VolumeMount describes a mounting of a Volume within a container."}, "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["mountPath"]}, "livenessProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "restartPolicy": {"type": "string", "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted."}, "volumeDevices": {"type": "array", "items": {"type": "object", "required": ["devicePath", "name"], "properties": {"name": {"type": "string", "description": "name must match the name of a persistentVolumeClaim in the pod"}, "devicePath": {"type": "string", "description": "devicePath is the path inside of the container that the device will be mapped to."}}, "description": "volumeDevice describes a mapping of a raw block device within a container."}, "description": "volumeDevices is the list of block devices to be used by the container.", "x-kubernetes-list-type": "map", "x-kubernetes-list-map-keys": ["devicePath"]}, "readinessProbe": {"type": "object", "properties": {"exec": {"type": "object", "properties": {"command": {"type": "array", "items": {"type": "string"}, "description": "Command is the command line to execute inside the container, the working directory for the\ncommand  is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", "x-kubernetes-list-type": "atomic"}}, "description": "Exec specifies a command to execute in the container."}, "grpc": {"type": "object", "required": ["port"], "properties": {"port": {"type": "integer", "format": "int32", "description": "Port number of the gRPC service. Number must be in the range 1 to 65535."}, "service": {"type": "string", "default": "", "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."}}, "description": "GRPC specifies a GRPC HealthCheckRequest."}, "httpGet": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead."}, "path": {"type": "string", "description": "Path to access on the HTTP server."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}, "scheme": {"type": "string", "description": "Scheme to use for connecting to the host.\nDefaults to HTTP."}, "httpHeaders": {"type": "array", "items": {"type": "object", "required": ["name", "value"], "properties": {"name": {"type": "string", "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header."}, "value": {"type": "string", "description": "The header field value"}}, "description": "HTTPHeader describes a custom header to be used in HTTP probes"}, "description": "Custom headers to set in the request. HTTP allows repeated headers.", "x-kubernetes-list-type": "atomic"}}, "description": "HTTPGet specifies an HTTP GET request to perform."}, "tcpSocket": {"type": "object", "required": ["port"], "properties": {"host": {"type": "string", "description": "Optional: Host name to connect to, defaults to the pod IP."}, "port": {"anyOf": [{"type": "integer"}, {"type": "string"}], "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", "x-kubernetes-int-or-string": true}}, "description": "TCPSocket specifies a connection to a TCP port."}, "periodSeconds": {"type": "integer", "format": "int32", "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1."}, "timeoutSeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "failureThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1."}, "successThreshold": {"type": "integer", "format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1."}, "initialDelaySeconds": {"type": "integer", "format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "terminationGracePeriodSeconds": {"type": "integer", "format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset."}}, "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"}, "imagePullPolicy": {"type": "string", "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images"}, "securityContext": {"type": "object", "properties": {"procMount": {"type": "string", "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsUser": {"type": "integer", "format": "int64", "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows."}, "privileged": {"type": "boolean", "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsGroup": {"type": "integer", "format": "int64", "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows."}, "capabilities": {"type": "object", "properties": {"add": {"type": "array", "items": {"type": "string", "description": "Capability represent POSIX capabilities type"}, "description": "Added capabilities", "x-kubernetes-list-type": "atomic"}, "drop": {"type": "array", "items": {"type": "string", "description": "Capability represent POSIX capabilities type"}, "description": "Removed capabilities", "x-kubernetes-list-type": "atomic"}}, "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows."}, "runAsNonRoot": {"type": "boolean", "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence."}, "seLinuxOptions": {"type": "object", "properties": {"role": {"type": "string", "description": "Role is a SELinux role label that applies to the container."}, "type": {"type": "string", "description": "Type is a SELinux type label that applies to the container."}, "user": {"type": "string", "description": "User is a SELinux user label that applies to the container."}, "level": {"type": "string", "description": "Level is SELinux level label that applies to the container."}}, "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer.  May also be set in PodSecurityContext.  If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows."}, "seccompProfile": {"type": "object", "required": ["type"], "properties": {"type": {"type": "string", "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied."}, "localhostProfile": {"type": "string", "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type."}}, "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows."}, "windowsOptions": {"type": "object", "properties": {"hostProcess": {"type": "boolean", "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true."}, "runAsUserName": {"type": "string", "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence."}, "gmsaCredentialSpec": {"type": "string", "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field."}, "gmsaCredentialSpecName": {"type": "string", "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use."}}, "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux."}, "appArmorProfile": {"type": "object", "required": ["type"], "properties": {"type": {"type": "string", "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n  Localhost - a profile pre-loaded on the node.\n  RuntimeDefault - the container runtime's default profile.\n  Unconfined - no AppArmor enforcement."}, "localhostProfile": {"type": "string", "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\"."}}, "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows."}, "readOnlyRootFilesystem": {"type": "boolean", "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows."}, "allowPrivilegeEscalation": {"type": "boolean", "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows."}}, "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"}, "terminationMessagePath": {"type": "string", "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated."}, "terminationMessagePolicy": {"type": "string", "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated."}}, "description": "A single application container that you want to run within a pod."}, "description": "Additional sidecar containers injected into pods.\nThe setting does not override any sidecar containers defined by the Operator.\nNote that sidecars are injected as standard pod containers alongside the\nMattermost application server. In the future, this may be migrated to\nuse the currently-feature-gated init container method introduced in k8s v1.28:\nhttps://kubernetes.io/blog/2023/08/25/native-sidecar-containers/"}}, "description": "PodExtensions specify custom extensions for Mattermost pods.\nThis can be used for custom readiness checks etc.\nThese settings generally don't need to be changed."}, "resourcePatch": {"type": "object", "properties": {"service": {"type": "object", "properties": {"patch": {"type": "string"}, "disable": {"type": "boolean"}}}, "deployment": {"type": "object", "properties": {"patch": {"type": "string"}, "disable": {"type": "boolean"}}}}, "description": "ResourcePatch specifies JSON patches that can be applied to resources created by Mattermost Operator.\n\nWARNING: ResourcePatch is highly experimental and subject to change.\nSome patches may be impossible to perform or may impact the stability of Mattermost server.\n\nUse at your own risk when no other options are available."}, "useIngressTLS": {"type": "boolean", "description": "UseIngressTLS specifies whether TLS secret should be configured for Ingress.\nDeprecated: Use Spec.Ingress.TLSSecret."}, "resourceLabels": {"type": "object", "additionalProperties": {"type": "string"}}, "imagePullPolicy": {"type": "string", "description": "Specify Mattermost deployment pull policy."}, "imagePullSecrets": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string", "default": "", "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"}}, "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", "x-kubernetes-map-type": "atomic"}, "description": "Specify Mattermost image pull secrets."}, "deploymentTemplate": {"type": "object", "properties": {"revisionHistoryLimit": {"type": "integer", "format": "int32", "description": "Defines the revision history limit for the mattermost deployment."}, "deploymentStrategyType": {"type": "string", "description": "Defines the deployment strategy type for the mattermost deployment.\nAccepted values are: \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate."}}, "description": "DeploymentTemplate defines configuration for the template for Mattermost deployment."}, "ingressAnnotations": {"type": "object", "description": "IngressAnnotations defines annotations passed to the Ingress associated with Mattermost.\nDeprecated: Use Spec.Ingress.Annotations.", "additionalProperties": {"type": "string"}}, "serviceAnnotations": {"type": "object", "additionalProperties": {"type": "string"}}, "useServiceLoadBalancer": {"type": "boolean"}, "awsLoadBalancerController": {"type": "object", "properties": {"hosts": {"type": "array", "items": {"type": "object", "properties": {"hostName": {"type": "string"}}, "description": "IngressHost specifies additional hosts configuration."}, "description": "Hosts allows specifying additional domain names for Mattermost to use."}, "enabled": {"type": "boolean", "description": "An AWS ALB Ingress will be created instead of nginx"}, "annotations": {"type": "object", "description": "Annotations defines annotations passed to the Ingress associated with Mattermost.", "additionalProperties": {"type": "string"}}, "certificateARN": {"type": "string", "description": "Certificate arn for the ALB, required if SSL enabled"}, "internetFacing": {"type": "boolean", "description": "Whether the Ingress will be internetfacing, default is false"}, "ingressClassName": {"type": "string", "description": "IngressClassName for your ingress"}}}}, "description": "MattermostSpec defines the desired state of Mattermost"}, "status": {"type": "object", "properties": {"error": {"type": "string", "description": "The last observed error in the deployment of this Mattermost instance"}, "image": {"type": "string", "description": "The image running on the pods in the Mattermost instance"}, "state": {"type": "string", "description": "Represents the running state of the Mattermost instance"}, "version": {"type": "string", "description": "The version currently running in the Mattermost instance"}, "endpoint": {"type": "string", "description": "The endpoint to access the Mattermost instance"}, "replicas": {"type": "integer", "format": "int32", "description": "Total number of non-terminated pods targeted by this Mattermost deployment"}, "resourcePatch": {"type": "object", "properties": {"servicePatch": {"type": "object", "properties": {"error": {"type": "string"}, "applied": {"type": "boolean"}}, "description": "PatchStatus represents status of particular patch."}, "deploymentPatch": {"type": "object", "properties": {"error": {"type": "string"}, "applied": {"type": "boolean"}}, "description": "PatchStatus represents status of particular patch."}}, "description": "Status of specified resource patches."}, "updatedReplicas": {"type": "integer", "format": "int32", "description": "Total number of non-terminated pods targeted by this Mattermost deployment\nthat are running with the desired image."}, "observedGeneration": {"type": "integer", "format": "int64", "description": "The last observed Generation of the Mattermost resource that was acted on."}}, "description": "MattermostStatus defines the observed state of Mattermost"}, "metadata": {"type": "object"}, "apiVersion": {"type": "string", "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"}}, "description": "Mattermost is the Schema for the mattermosts API"}}, "served": true, "storage": true, "subresources": {"status": {}}, "additionalPrinterColumns": [{"name": "State", "type": "string", "jsonPath": ".status.state", "description": "State of Mattermost"}, {"name": "Image", "type": "string", "jsonPath": ".status.image", "description": "Image of Mattermost"}, {"name": "Version", "type": "string", "jsonPath": ".status.version", "description": "Version of Mattermost"}, {"name": "Endpoint", "type": "string", "jsonPath": ".status.endpoint", "description": "Endpoint"}]}]}, "metadata": {"name": "mattermosts.installation.mattermost.com", "annotations": {"controller-gen.kubebuilder.io/version": "v0.16.5"}}}, "schemaVersion": "components.meshery.io/v1beta1"}, {"id": "dd13a555-f9d6-4cad-9f2b-9e38212da52c", "model": {"id": "b3f5bc0d-30f7-607d-6c73-784ddde6cad8", "name": "kubernetes", "model": {"version": "v1.32.0-alpha.3"}, "status": "enabled", "version": "v1.0.0", "category": {"id": "9ca27d0d-66ce-42a9-8c85-6236563f2ddb", "name": "Orchestration & Management"}, "metadata": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg", "svgComplete": "", "isAnnotation": false, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "styleOverrides": ""}, "components": null, "registrant": {"id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "kind": "github", "name": "Github", "type": "registry", "status": "registered", "user_id": "00000000-0000-0000-0000-000000000000", "sub_type": "", "created_at": "2025-10-08T09:10:27.395320301Z", "deleted_at": "0001-01-01T00:00:00Z", "updated_at": "2025-10-08T09:10:27.395320301Z", "credential_id": "00000000-0000-0000-0000-000000000000", "schemaVersion": ""}, "displayName": "Kubernetes", "subCategory": "Scheduling & Orchestration", "connection_id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "relationships": null, "schemaVersion": "models.meshery.io/v1beta1", "components_count": 0, "relationships_count": 0}, "format": "", "status": "enabled", "styles": {"shape": "bottom-round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/serviceaccount-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/serviceaccount-white.svg", "svgComplete": "", "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0"}, "version": "v1.0.0", "metadata": {"genealogy": "", "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3", "isAnnotation": false, "isNamespaced": true, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "ServiceAccount", "schema": "", "version": "v1"}, "description": "", "displayName": "mattermost-operator", "capabilities": [], "configuration": {"metadata": {"name": "mattermost-operator", "labels": {"helm.sh/chart": "mattermost-operator-1.0.4", "app.kubernetes.io/name": "mattermost-operator", "app.kubernetes.io/instance": "mattermost-operator", "app.kubernetes.io/managed-by": "Helm"}}}, "schemaVersion": "components.meshery.io/v1beta1"}, {"id": "df0bf75a-7f58-49a9-8a32-a4e6a3f137b1", "model": {"id": "b3f5bc0d-30f7-607d-6c73-784ddde6cad8", "name": "kubernetes", "model": {"version": "v1.32.0-alpha.3"}, "status": "enabled", "version": "v1.0.0", "category": {"id": "9ca27d0d-66ce-42a9-8c85-6236563f2ddb", "name": "Orchestration & Management"}, "metadata": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg", "svgComplete": "", "isAnnotation": false, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "styleOverrides": ""}, "components": null, "registrant": {"id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "kind": "github", "name": "Github", "type": "registry", "status": "registered", "user_id": "00000000-0000-0000-0000-000000000000", "sub_type": "", "created_at": "2025-10-08T09:10:27.395320301Z", "deleted_at": "0001-01-01T00:00:00Z", "updated_at": "2025-10-08T09:10:27.395320301Z", "credential_id": "00000000-0000-0000-0000-000000000000", "schemaVersion": ""}, "displayName": "Kubernetes", "subCategory": "Scheduling & Orchestration", "connection_id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "relationships": null, "schemaVersion": "models.meshery.io/v1beta1", "components_count": 0, "relationships_count": 0}, "format": "", "status": "enabled", "styles": {"x": 8.5, "y": 7.5, "shape": "round-rectangle", "width": 22, "height": 22, "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/clusterrole-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/clusterrole-white.svg", "svgComplete": "", "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0"}, "version": "v1.0.0", "metadata": {"genealogy": "", "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3", "isAnnotation": false, "isNamespaced": false, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "ClusterRole", "schema": "", "version": "rbac.authorization.k8s.io/v1"}, "description": "", "displayName": "mattermost-operator", "capabilities": [], "configuration": {"rules": [{"verbs": ["get", "list", "patch", "update", "watch"], "apiGroups": [""], "resources": ["pods"]}, {"verbs": ["*"], "apiGroups": [""], "resources": ["pods", "services", "endpoints", "persistentvolumeclaims", "events", "configmaps", "secrets", "serviceaccounts"]}, {"verbs": ["*"], "apiGroups": ["coordination.k8s.io"], "resources": ["leases"]}, {"verbs": ["get"], "apiGroups": [""], "resources": ["namespaces"]}, {"verbs": ["*"], "apiGroups": ["apps"], "resources": ["deployments", "daemonsets", "replicasets", "statefulsets"]}, {"verbs": ["*"], "apiGroups": ["networking.k8s.io"], "resources": ["ingresses", "ingressclasses"]}, {"verbs": ["get", "create", "list", "delete", "watch", "update"], "apiGroups": ["rbac.authorization.k8s.io"], "resources": ["rolebindings", "roles"]}, {"verbs": ["get", "create"], "apiGroups": ["monitoring.coreos.com"], "resources": ["servicemonitors"]}, {"verbs": ["update"], "apiGroups": ["apps"], "resources": ["deployments/finalizers"], "resourceNames": ["mattermost-operator"]}, {"verbs": ["*"], "apiGroups": ["mattermost.com"], "resources": ["*", "clusterinstallations", "mattermostrestoredbs"]}, {"verbs": ["*"], "apiGroups": ["installation.mattermost.com"], "resources": ["*"]}, {"verbs": ["get", "list", "watch", "create", "update", "patch", "delete"], "apiGroups": ["mysql.presslabs.org"], "resources": ["mysqlbackups"]}, {"verbs": ["get", "list", "watch", "create", "update", "patch", "delete"], "apiGroups": ["mysql.presslabs.org"], "resources": ["mysqlclusters", "mysqlclusters/status"]}, {"verbs": ["*"], "apiGroups": ["miniocontroller.min.io"], "resources": ["*"]}, {"verbs": ["*"], "apiGroups": ["minio.io"], "resources": ["*"]}, {"verbs": ["get", "create", "list", "delete", "watch", "update"], "apiGroups": ["batch"], "resources": ["jobs"]}, {"verbs": ["update", "create", "get"], "apiGroups": ["certificates.k8s.io"], "resources": ["certificatesigningrequests", "certificatesigningrequests/approval", "certificatesigningrequests/status"]}], "metadata": {"name": "mattermost-operator", "labels": {"helm.sh/chart": "mattermost-operator-1.0.4", "app.kubernetes.io/name": "mattermost-operator", "app.kubernetes.io/instance": "mattermost-operator", "app.kubernetes.io/managed-by": "Helm"}, "creationTimestamp": null}}, "schemaVersion": "components.meshery.io/v1beta1"}, {"id": "69326474-cb2e-4715-aca4-dae01ff875bf", "model": {"id": "b3f5bc0d-30f7-607d-6c73-784ddde6cad8", "name": "kubernetes", "model": {"version": "v1.32.0-alpha.3"}, "status": "enabled", "version": "v1.0.0", "category": {"id": "9ca27d0d-66ce-42a9-8c85-6236563f2ddb", "name": "Orchestration & Management"}, "metadata": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg", "svgComplete": "", "isAnnotation": false, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "styleOverrides": ""}, "components": null, "registrant": {"id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "kind": "github", "name": "Github", "type": "registry", "status": "registered", "user_id": "00000000-0000-0000-0000-000000000000", "sub_type": "", "created_at": "2025-10-08T09:10:27.395320301Z", "deleted_at": "0001-01-01T00:00:00Z", "updated_at": "2025-10-08T09:10:27.395320301Z", "credential_id": "00000000-0000-0000-0000-000000000000", "schemaVersion": ""}, "displayName": "Kubernetes", "subCategory": "Scheduling & Orchestration", "connection_id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "relationships": null, "schemaVersion": "models.meshery.io/v1beta1", "components_count": 0, "relationships_count": 0}, "format": "", "status": "enabled", "styles": {"x": 7, "y": 7, "shape": "round-rectangle", "width": 25, "height": 25, "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/clusterrolebinding-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/clusterrolebinding-white.svg", "svgComplete": "", "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0"}, "version": "v1.0.0", "metadata": {"genealogy": "", "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3", "isAnnotation": false, "isNamespaced": false, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "ClusterRoleBinding", "schema": "", "version": "rbac.authorization.k8s.io/v1"}, "description": "", "displayName": "mattermost-operator", "capabilities": [], "configuration": {"roleRef": {"kind": "ClusterRole", "name": "mattermost-operator", "apiGroup": "rbac.authorization.k8s.io"}, "metadata": {"name": "mattermost-operator", "labels": {"helm.sh/chart": "mattermost-operator-1.0.4", "app.kubernetes.io/name": "mattermost-operator", "app.kubernetes.io/instance": "mattermost-operator", "app.kubernetes.io/managed-by": "Helm"}}, "subjects": [{"kind": "ServiceAccount", "name": "mattermost-operator", "namespace": "default"}]}, "schemaVersion": "components.meshery.io/v1beta1"}, {"id": "812163a6-a7bd-468a-ad97-b88ef84a414b", "model": {"id": "b3f5bc0d-30f7-607d-6c73-784ddde6cad8", "name": "kubernetes", "model": {"version": "v1.32.0-alpha.3"}, "status": "enabled", "version": "v1.0.0", "category": {"id": "9ca27d0d-66ce-42a9-8c85-6236563f2ddb", "name": "Orchestration & Management"}, "metadata": {"shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg", "svgComplete": "", "isAnnotation": false, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "styleOverrides": ""}, "components": null, "registrant": {"id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "kind": "github", "name": "Github", "type": "registry", "status": "registered", "user_id": "00000000-0000-0000-0000-000000000000", "sub_type": "", "created_at": "2025-10-08T09:10:27.395320301Z", "deleted_at": "0001-01-01T00:00:00Z", "updated_at": "2025-10-08T09:10:27.395320301Z", "credential_id": "00000000-0000-0000-0000-000000000000", "schemaVersion": ""}, "displayName": "Kubernetes", "subCategory": "Scheduling & Orchestration", "connection_id": "5bc80e3c-5d43-9eb4-d16c-78a2769247a6", "relationships": null, "schemaVersion": "models.meshery.io/v1beta1", "components_count": 0, "relationships_count": 0}, "format": "", "status": "enabled", "styles": {"shape": "round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/deployment-color.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/deployment-white.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/deployment-complete.svg", "border-width": 2, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "background-image": "none", "background-opacity": 0.5}, "version": "v1.0.0", "metadata": {"genealogy": "parent", "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3", "isAnnotation": false, "isNamespaced": true, "instanceDetails": null, "configurationUISchema": ""}, "component": {"kind": "Deployment", "schema": "", "version": "apps/v1"}, "description": "", "displayName": "mattermost-operator", "capabilities": [], "configuration": {"spec": {"replicas": 1, "selector": {"matchLabels": {"name": "mattermost-operator", "app.kubernetes.io/name": "mattermost-operator", "app.kubernetes.io/instance": "mattermost-operator", "app.kubernetes.io/managed-by": "Helm"}}, "template": {"spec": {"containers": [{"env": [{"name": "MAX_RECONCILING_INSTALLATIONS", "value": "20"}, {"name": "MAX_RECONCILE_CONCURRENCY", "value": "10"}, {"name": "REQUEUE_ON_LIMIT_DELAY", "value": "20s"}], "args": ["--enable-leader-election", "--metrics-addr=0.0.0.0:8383"], "name": "mattermost-operator", "image": "mattermost/mattermost-operator:v1.24.0", "ports": [{"name": "metrics", "containerPort": 8383}], "command": ["/mattermost-operator"], "imagePullPolicy": "IfNotPresent", "securityContext": null}], "securityContext": null, "serviceAccountName": "mattermost-operator"}, "metadata": {"labels": {"name": "mattermost-operator", "helm.sh/chart": "mattermost-operator-1.0.4", "app.kubernetes.io/name": "mattermost-operator", "app.kubernetes.io/instance": "mattermost-operator", "app.kubernetes.io/managed-by": "Helm"}}}}, "metadata": {"name": "mattermost-operator", "labels": {"helm.sh/chart": "mattermost-operator-1.0.4", "app.kubernetes.io/name": "mattermost-operator", "app.kubernetes.io/instance": "mattermost-operator", "app.kubernetes.io/managed-by": "Helm"}, "namespace": "default"}}, "schemaVersion": "components.meshery.io/v1beta1"}], "relationships": null, "schemaVersion": "designs.meshery.io/v1beta1"}