diff --git a/index.yaml b/index.yaml index 749fc6e4..c0cf4c74 100644 --- a/index.yaml +++ b/index.yaml @@ -515,87 +515,87 @@ kafka.strimzi.io: - kafka_v1beta2: kind: Kafka apiVersion: kafka.strimzi.io/v1beta2 - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/040-Crd-kafka.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/040-Crd-kafka.yaml - kafkabridge_v1beta2: kind: KafkaBridge apiVersion: kafka.strimzi.io/v1beta2 - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/046-Crd-kafkabridge.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/046-Crd-kafkabridge.yaml - kafkaconnect_v1beta2: kind: KafkaConnect apiVersion: kafka.strimzi.io/v1beta2 - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/041-Crd-kafkaconnect.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/041-Crd-kafkaconnect.yaml - kafkaconnector_v1beta2: kind: KafkaConnector apiVersion: kafka.strimzi.io/v1beta2 - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/047-Crd-kafkaconnector.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/047-Crd-kafkaconnector.yaml - kafkamirrormaker_v1beta2: kind: KafkaMirrorMaker apiVersion: kafka.strimzi.io/v1beta2 - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/045-Crd-kafkamirrormaker.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/045-Crd-kafkamirrormaker.yaml - kafkamirrormaker2_v1beta2: kind: kafka.strimzi.io/v1beta2 apiVersion: apiextensions.k8s.io/v1 - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/048-Crd-kafkamirrormaker2.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/048-Crd-kafkamirrormaker2.yaml - kafkarebalance_v1beta2: apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaRebalance - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/049-Crd-kafkarebalance.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/049-Crd-kafkarebalance.yaml - kafkatopic_v1alpha1: apiVersion: kafka.strimzi.io/v1alpha1 kind: KafkaTopic - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/043-Crd-kafkatopic.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/043-Crd-kafkatopic.yaml - kafkatopic_v1beta1: apiVersion: kafka.strimzi.io/v1beta1 kind: KafkaTopic - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/043-Crd-kafkatopic.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/043-Crd-kafkatopic.yaml - kafkatopic_v1beta2: apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaTopic - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/043-Crd-kafkatopic.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/043-Crd-kafkatopic.yaml - kafkauser_v1alpha1: apiVersion: kafka.strimzi.io/v1alpha1 kind: KafkaUser - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/044-Crd-kafkauser.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/044-Crd-kafkauser.yaml - kafkauser_v1beta1: apiVersion: kafka.strimzi.io/v1beta1 kind: KafkaUser - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/044-Crd-kafkauser.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/044-Crd-kafkauser.yaml - kafkauser_v1beta2: apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaUser - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/044-Crd-kafkauser.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/044-Crd-kafkauser.yaml - strimzipodset_v1beta2: apiVersion: kafka.strimzi.io/v1beta2 kind: StrimziPodSet - lastUpdated: "2022-06-16" + lastUpdated: "2023-04-06" repo: strimzi-kafka-operator - permitLink: 860f59c4dc979ea4bfbabb8bc25e48534f8ac56d/helm-charts/helm3/strimzi-kafka-operator/crds/042-Crd-strimzipodset.yaml + permitLink: 0459e7149a837878ced3de5ae1a01198c1e420d5/helm-charts/helm3/strimzi-kafka-operator/crds/042-Crd-strimzipodset.yaml traefik.containo.us: org: traefik githubOrg: traefik diff --git a/kafka.strimzi.io/kafka_v1beta2.json b/kafka.strimzi.io/kafka_v1beta2.json index 78d0b6db..81b09db3 100644 --- a/kafka.strimzi.io/kafka_v1beta2.json +++ b/kafka.strimzi.io/kafka_v1beta2.json @@ -1,1135 +1,465 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the Kafka and ZooKeeper clusters, and Topic Operator.", "properties": { - "kafka": { - "type": "object", + "clientsCa": { + "description": "Configuration of the clients certificate authority.", "properties": { - "version": { - "type": "string", - "description": "The kafka broker version. Defaults to {DefaultKafkaVersion}. Consult the user documentation to understand the process required to upgrade or downgrade the version." + "certificateExpirationPolicy": { + "description": "How should CA certificate expiration be handled when `generateCertificateAuthority=true`. The default is for a new CA certificate to be generated reusing the existing private key.", + "enum": [ + "renew-certificate", + "replace-key" + ], + "type": "string" }, - "replicas": { - "type": "integer", + "generateCertificateAuthority": { + "description": "If true then Certificate Authority certificates will be generated automatically. Otherwise the user will need to provide a Secret with the CA certificate. Default is true.", + "type": "boolean" + }, + "generateSecretOwnerReference": { + "description": "If `true`, the Cluster and Client CA Secrets are configured with the `ownerReference` set to the `Kafka` resource. If the `Kafka` resource is deleted when `true`, the CA Secrets are also deleted. If `false`, the `ownerReference` is disabled. If the `Kafka` resource is deleted when `false`, the CA Secrets are retained and available for reuse. Default is `true`.", + "type": "boolean" + }, + "renewalDays": { + "description": "The number of days in the certificate renewal period. This is the number of days before the a certificate expires during which renewal actions may be performed. When `generateCertificateAuthority` is true, this will cause the generation of a new certificate. When `generateCertificateAuthority` is true, this will cause extra logging at WARN level about the pending certificate expiry. Default is 30.", "minimum": 1, - "description": "The number of pods in the cluster." + "type": "integer" }, - "image": { - "type": "string", - "description": "The docker image for the pods. The default value depends on the configured `Kafka.spec.kafka.version`." + "validityDays": { + "description": "The number of days generated certificates should be valid for. The default is 365.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "clusterCa": { + "description": "Configuration of the cluster certificate authority.", + "properties": { + "certificateExpirationPolicy": { + "description": "How should CA certificate expiration be handled when `generateCertificateAuthority=true`. The default is for a new CA certificate to be generated reusing the existing private key.", + "enum": [ + "renew-certificate", + "replace-key" + ], + "type": "string" }, - "listeners": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "pattern": "^[a-z0-9]{1,11}$", - "description": "Name of the listener. The name will be used to identify the listener and the related Kubernetes objects. The name has to be unique within given a Kafka cluster. The name can consist of lowercase characters and numbers and be up to 11 characters long." - }, - "port": { - "type": "integer", - "minimum": 9092, - "description": "Port number used by the listener inside Kafka. The port number has to be unique within a given Kafka cluster. Allowed port numbers are 9092 and higher with the exception of ports 9404 and 9999, which are already used for Prometheus and JMX. Depending on the listener type, the port number might not be the same as the port number that connects Kafka clients." - }, - "type": { - "type": "string", - "enum": [ - "internal", - "route", - "loadbalancer", - "nodeport", - "ingress" - ], - "description": "Type of the listener. Currently the supported types are `internal`, `route`, `loadbalancer`, `nodeport` and `ingress`. \n\n* `internal` type exposes Kafka internally only within the Kubernetes cluster.\n* `route` type uses OpenShift Routes to expose Kafka.\n* `loadbalancer` type uses LoadBalancer type services to expose Kafka.\n* `nodeport` type uses NodePort type services to expose Kafka.\n* `ingress` type uses Kubernetes Nginx Ingress to expose Kafka.\n" - }, - "tls": { - "type": "boolean", - "description": "Enables TLS encryption on the listener. This is a required property." - }, - "authentication": { - "type": "object", + "generateCertificateAuthority": { + "description": "If true then Certificate Authority certificates will be generated automatically. Otherwise the user will need to provide a Secret with the CA certificate. Default is true.", + "type": "boolean" + }, + "generateSecretOwnerReference": { + "description": "If `true`, the Cluster and Client CA Secrets are configured with the `ownerReference` set to the `Kafka` resource. If the `Kafka` resource is deleted when `true`, the CA Secrets are also deleted. If `false`, the `ownerReference` is disabled. If the `Kafka` resource is deleted when `false`, the CA Secrets are retained and available for reuse. Default is `true`.", + "type": "boolean" + }, + "renewalDays": { + "description": "The number of days in the certificate renewal period. This is the number of days before the a certificate expires during which renewal actions may be performed. When `generateCertificateAuthority` is true, this will cause the generation of a new certificate. When `generateCertificateAuthority` is true, this will cause extra logging at WARN level about the pending certificate expiry. Default is 30.", + "minimum": 1, + "type": "integer" + }, + "validityDays": { + "description": "The number of days generated certificates should be valid for. The default is 365.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "cruiseControl": { + "description": "Configuration for Cruise Control deployment. Deploys a Cruise Control instance when specified.", + "properties": { + "brokerCapacity": { + "description": "The Cruise Control `brokerCapacity` configuration.", + "properties": { + "cpu": { + "description": "Broker capacity for CPU resource in cores or millicores. For example, 1, 1.500, 1500m. For more information on valid CPU resource units see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", + "pattern": "^[0-9]+([.][0-9]{0,3}|[m]?)$", + "type": "string" + }, + "cpuUtilization": { + "description": "Broker capacity for CPU resource utilization as a percentage (0 - 100).", + "maximum": 100, + "minimum": 0, + "type": "integer" + }, + "disk": { + "description": "Broker capacity for disk in bytes. Use a number value with either standard Kubernetes byte units (K, M, G, or T), their bibyte (power of two) equivalents (Ki, Mi, Gi, or Ti), or a byte value with or without E notation. For example, 100000M, 100000Mi, 104857600000, or 1e+11.", + "pattern": "^[0-9]+([.][0-9]*)?([KMGTPE]i?|e[0-9]+)?$", + "type": "string" + }, + "inboundNetwork": { + "description": "Broker capacity for inbound network throughput in bytes per second. Use an integer value with standard Kubernetes byte units (K, M, G) or their bibyte (power of two) equivalents (Ki, Mi, Gi) per second. For example, 10000KiB/s.", + "pattern": "^[0-9]+([KMG]i?)?B/s$", + "type": "string" + }, + "outboundNetwork": { + "description": "Broker capacity for outbound network throughput in bytes per second. Use an integer value with standard Kubernetes byte units (K, M, G) or their bibyte (power of two) equivalents (Ki, Mi, Gi) per second. For example, 10000KiB/s.", + "pattern": "^[0-9]+([KMG]i?)?B/s$", + "type": "string" + }, + "overrides": { + "description": "Overrides for individual brokers. The `overrides` property lets you specify a different capacity configuration for different brokers.", + "items": { "properties": { - "accessTokenIsJwt": { - "type": "boolean", - "description": "Configure whether the access token is treated as JWT. This must be set to `false` if the authorization server returns opaque tokens. Defaults to `true`." - }, - "checkAccessTokenType": { - "type": "boolean", - "description": "Configure whether the access token type check is performed or not. This should be set to `false` if the authorization server does not include 'typ' claim in JWT token. Defaults to `true`." - }, - "checkAudience": { - "type": "boolean", - "description": "Enable or disable audience checking. Audience checks identify the recipients of tokens. If audience checking is enabled, the OAuth Client ID also has to be configured using the `clientId` property. The Kafka broker will reject tokens that do not have its `clientId` in their `aud` (audience) claim.Default value is `false`." - }, - "checkIssuer": { - "type": "boolean", - "description": "Enable or disable issuer checking. By default issuer is checked using the value configured by `validIssuerUri`. Default value is `true`." - }, - "clientAudience": { - "type": "string", - "description": "The audience to use when making requests to the authorization server's token endpoint. Used for inter-broker authentication and for configuring OAuth 2.0 over PLAIN using the `clientId` and `secret` method." - }, - "clientId": { - "type": "string", - "description": "OAuth Client ID which the Kafka broker can use to authenticate against the authorization server and use the introspect endpoint URI." - }, - "clientScope": { - "type": "string", - "description": "The scope to use when making requests to the authorization server's token endpoint. Used for inter-broker authentication and for configuring OAuth 2.0 over PLAIN using the `clientId` and `secret` method." - }, - "clientSecret": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." - }, - "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." - } - }, - "required": [ - "key", - "secretName" - ], - "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka broker can use to authenticate against the authorization server and use the introspect endpoint URI.", - "additionalProperties": false - }, - "connectTimeoutSeconds": { - "type": "integer", - "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds." - }, - "customClaimCheck": { - "type": "string", - "description": "JsonPath filter query to be applied to the JWT token or to the response of the introspection endpoint for additional token validation. Not set by default." - }, - "disableTlsHostnameVerification": { - "type": "boolean", - "description": "Enable or disable TLS hostname verification. Default value is `false`." - }, - "enableECDSA": { - "type": "boolean", - "description": "Enable or disable ECDSA support by installing BouncyCastle crypto provider. ECDSA support is always enabled. The BouncyCastle libraries are no longer packaged with Strimzi. Value is ignored." - }, - "enableOauthBearer": { - "type": "boolean", - "description": "Enable or disable OAuth authentication over SASL_OAUTHBEARER. Default value is `true`." - }, - "enablePlain": { - "type": "boolean", - "description": "Enable or disable OAuth authentication over SASL_PLAIN. There is no re-authentication support when this mechanism is used. Default value is `false`." - }, - "fallbackUserNameClaim": { - "type": "string", - "description": "The fallback username claim to be used for the user id if the claim specified by `userNameClaim` is not present. This is useful when `client_credentials` authentication only results in the client id being provided in another claim. It only takes effect if `userNameClaim` is set." - }, - "fallbackUserNamePrefix": { - "type": "string", - "description": "The prefix to use with the value of `fallbackUserNameClaim` to construct the user id. This only takes effect if `fallbackUserNameClaim` is true, and the value is present for the claim. Mapping usernames and client ids into the same user id space is useful in preventing name collisions." - }, - "groupsClaim": { - "type": "string", - "description": "JsonPath query used to extract groups for the user during authentication. Extracted groups can be used by a custom authorizer. By default no groups are extracted." - }, - "groupsClaimDelimiter": { - "type": "string", - "description": "A delimiter used to parse groups when they are extracted as a single String value rather than a JSON array. Default value is ',' (comma)." - }, - "introspectionEndpointUri": { - "type": "string", - "description": "URI of the token introspection endpoint which can be used to validate opaque non-JWT tokens." - }, - "jwksEndpointUri": { - "type": "string", - "description": "URI of the JWKS certificate endpoint, which can be used for local JWT validation." - }, - "jwksExpirySeconds": { - "type": "integer", - "minimum": 1, - "description": "Configures how often are the JWKS certificates considered valid. The expiry interval has to be at least 60 seconds longer then the refresh interval specified in `jwksRefreshSeconds`. Defaults to 360 seconds." - }, - "jwksMinRefreshPauseSeconds": { - "type": "integer", - "minimum": 0, - "description": "The minimum pause between two consecutive refreshes. When an unknown signing key is encountered the refresh is scheduled immediately, but will always wait for this minimum pause. Defaults to 1 second." - }, - "jwksRefreshSeconds": { - "type": "integer", - "minimum": 1, - "description": "Configures how often are the JWKS certificates refreshed. The refresh interval has to be at least 60 seconds shorter then the expiry interval specified in `jwksExpirySeconds`. Defaults to 300 seconds." - }, - "listenerConfig": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Configuration to be used for a specific listener. All values are prefixed with listener.name.__." - }, - "maxSecondsWithoutReauthentication": { - "type": "integer", - "description": "Maximum number of seconds the authenticated session remains valid without re-authentication. This enables Apache Kafka re-authentication feature, and causes sessions to expire when the access token expires. If the access token expires before max time or if max time is reached, the client has to re-authenticate, otherwise the server will drop the connection. Not set by default - the authenticated session does not expire when the access token expires. This option only applies to SASL_OAUTHBEARER authentication mechanism (when `enableOauthBearer` is `true`)." - }, - "readTimeoutSeconds": { - "type": "integer", - "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds." - }, - "sasl": { - "type": "boolean", - "description": "Enable or disable SASL on this listener." - }, - "secrets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." - }, - "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." - } - }, - "required": [ - "key", - "secretName" - ], - "additionalProperties": false - }, - "description": "Secrets to be mounted to /opt/kafka/custom-authn-secrets/custom-listener-_-_/__." - }, - "tlsTrustedCertificates": { - "type": "array", + "brokers": { + "description": "List of Kafka brokers (broker identifiers).", "items": { - "type": "object", - "properties": { - "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." - }, - "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." - } - }, - "required": [ - "certificate", - "secretName" - ], - "additionalProperties": false + "type": "integer" }, - "description": "Trusted certificates for TLS connection to the OAuth server." - }, - "tokenEndpointUri": { - "type": "string", - "description": "URI of the Token Endpoint to use with SASL_PLAIN mechanism when the client authenticates with `clientId` and a `secret`. If set, the client can authenticate over SASL_PLAIN by either setting `username` to `clientId`, and setting `password` to client `secret`, or by setting `username` to account username, and `password` to access token prefixed with `$accessToken:`. If this option is not set, the `password` is always interpreted as an access token (without a prefix), and `username` as the account username (a so called 'no-client-credentials' mode)." - }, - "type": { - "type": "string", - "enum": [ - "tls", - "scram-sha-512", - "oauth", - "custom" - ], - "description": "Authentication type. `oauth` type uses SASL OAUTHBEARER Authentication. `scram-sha-512` type uses SASL SCRAM-SHA-512 Authentication. `tls` type uses TLS Client Authentication. `tls` type is supported only on TLS listeners.`custom` type allows for any authentication type to be used." - }, - "userInfoEndpointUri": { - "type": "string", - "description": "URI of the User Info Endpoint to use as a fallback to obtaining the user id when the Introspection Endpoint does not return information that can be used for the user id. " + "type": "array" }, - "userNameClaim": { - "type": "string", - "description": "Name of the claim from the JWT authentication token, Introspection Endpoint response or User Info Endpoint response which will be used to extract the user id. Defaults to `sub`." + "cpu": { + "description": "Broker capacity for CPU resource in cores or millicores. For example, 1, 1.500, 1500m. For more information on valid CPU resource units see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", + "pattern": "^[0-9]+([.][0-9]{0,3}|[m]?)$", + "type": "string" }, - "validIssuerUri": { - "type": "string", - "description": "URI of the token issuer used for authentication." + "inboundNetwork": { + "description": "Broker capacity for inbound network throughput in bytes per second. Use an integer value with standard Kubernetes byte units (K, M, G) or their bibyte (power of two) equivalents (Ki, Mi, Gi) per second. For example, 10000KiB/s.", + "pattern": "^[0-9]+([KMG]i?)?B/s$", + "type": "string" }, - "validTokenType": { - "type": "string", - "description": "Valid value for the `token_type` attribute returned by the Introspection Endpoint. No default value, and not checked by default." + "outboundNetwork": { + "description": "Broker capacity for outbound network throughput in bytes per second. Use an integer value with standard Kubernetes byte units (K, M, G) or their bibyte (power of two) equivalents (Ki, Mi, Gi) per second. For example, 10000KiB/s.", + "pattern": "^[0-9]+([KMG]i?)?B/s$", + "type": "string" } }, "required": [ - "type" + "brokers" ], - "description": "Authentication configuration for this listener.", + "type": "object", "additionalProperties": false }, - "configuration": { - "type": "object", + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "config": { + "description": "The Cruise Control configuration. For a full list of configuration options refer to https://github.com/linkedin/cruise-control/wiki/Configurations. Note that properties with the following prefixes cannot be set: bootstrap.servers, client.id, zookeeper., network., security., failed.brokers.zk.path,webserver.http., webserver.api.urlprefix, webserver.session.path, webserver.accesslog., two.step., request.reason.required,metric.reporter.sampler.bootstrap.servers, capacity.config.file, self.healing., ssl., kafka.broker.failure.detection.enable, topic.config.provider.class (with the exception of: ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols, webserver.http.cors.enabled, webserver.http.cors.origin, webserver.http.cors.exposeheaders, webserver.security.enable, webserver.ssl.enable).", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "image": { + "description": "The docker image for the pods.", + "type": "string" + }, + "jvmOptions": { + "description": "JVM Options for the Cruise Control container.", + "properties": { + "-XX": { + "description": "A map of -XX options to the JVM.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "-Xms": { + "description": "-Xms option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "-Xmx": { + "description": "-Xmx option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "gcLoggingEnabled": { + "description": "Specifies whether the Garbage Collection logging is enabled. The default is false.", + "type": "boolean" + }, + "javaSystemProperties": { + "description": "A map of additional system properties which will be passed using the `-D` option to the JVM.", + "items": { "properties": { - "brokerCertChainAndKey": { - "type": "object", - "properties": { - "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." - }, - "key": { - "type": "string", - "description": "The name of the private key in the Secret." - }, - "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." - } - }, - "required": [ - "certificate", - "key", - "secretName" - ], - "description": "Reference to the `Secret` which holds the certificate and private key pair which will be used for this listener. The certificate can optionally contain the whole chain. This field can be used only with listeners with enabled TLS encryption.", - "additionalProperties": false - }, - "externalTrafficPolicy": { - "type": "string", - "enum": [ - "Local", - "Cluster" - ], - "description": "Specifies whether the service routes external traffic to node-local or cluster-wide endpoints. `Cluster` may cause a second hop to another node and obscures the client source IP. `Local` avoids a second hop for LoadBalancer and Nodeport type services and preserves the client source IP (when supported by the infrastructure). If unspecified, Kubernetes will use `Cluster` as the default.This field can be used only with `loadbalancer` or `nodeport` type listener." - }, - "loadBalancerSourceRanges": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of CIDR ranges (for example `10.0.0.0/8` or `130.211.204.1/32`) from which clients can connect to load balancer type listeners. If supported by the platform, traffic through the loadbalancer is restricted to the specified CIDR ranges. This field is applicable only for loadbalancer type services and is ignored if the cloud provider does not support the feature. This field can be used only with `loadbalancer` type listener." - }, - "bootstrap": { - "type": "object", - "properties": { - "alternativeNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Additional alternative names for the bootstrap service. The alternative names will be added to the list of subject alternative names of the TLS certificates." - }, - "host": { - "type": "string", - "description": "The bootstrap host. This field will be used in the Ingress resource or in the Route resource to specify the desired hostname. This field can be used only with `route` (optional) or `ingress` (required) type listeners." - }, - "nodePort": { - "type": "integer", - "description": "Node port for the bootstrap service. This field can be used only with `nodeport` type listener." - }, - "loadBalancerIP": { - "type": "string", - "description": "The loadbalancer is requested with the IP address specified in this field. This feature depends on whether the underlying cloud provider supports specifying the `loadBalancerIP` when a load balancer is created. This field is ignored if the cloud provider does not support the feature.This field can be used only with `loadbalancer` type listener." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations that will be added to the `Ingress`, `Route`, or `Service` resource. You can use this field to configure DNS providers such as External DNS. This field can be used only with `loadbalancer`, `nodeport`, `route`, or `ingress` type listeners." - }, - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels that will be added to the `Ingress`, `Route`, or `Service` resource. This field can be used only with `loadbalancer`, `nodeport`, `route`, or `ingress` type listeners." - } - }, - "description": "Bootstrap configuration.", - "additionalProperties": false - }, - "brokers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "broker": { - "type": "integer", - "description": "ID of the kafka broker (broker identifier). Broker IDs start from 0 and correspond to the number of broker replicas." - }, - "advertisedHost": { - "type": "string", - "description": "The host name which will be used in the brokers' `advertised.brokers`." - }, - "advertisedPort": { - "type": "integer", - "description": "The port number which will be used in the brokers' `advertised.brokers`." - }, - "host": { - "type": "string", - "description": "The broker host. This field will be used in the Ingress resource or in the Route resource to specify the desired hostname. This field can be used only with `route` (optional) or `ingress` (required) type listeners." - }, - "nodePort": { - "type": "integer", - "description": "Node port for the per-broker service. This field can be used only with `nodeport` type listener." - }, - "loadBalancerIP": { - "type": "string", - "description": "The loadbalancer is requested with the IP address specified in this field. This feature depends on whether the underlying cloud provider supports specifying the `loadBalancerIP` when a load balancer is created. This field is ignored if the cloud provider does not support the feature.This field can be used only with `loadbalancer` type listener." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations that will be added to the `Ingress` or `Service` resource. You can use this field to configure DNS providers such as External DNS. This field can be used only with `loadbalancer`, `nodeport`, or `ingress` type listeners." - }, - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels that will be added to the `Ingress`, `Route`, or `Service` resource. This field can be used only with `loadbalancer`, `nodeport`, `route`, or `ingress` type listeners." - } - }, - "required": [ - "broker" - ], - "additionalProperties": false - }, - "description": "Per-broker configurations." - }, - "ipFamilyPolicy": { - "type": "string", - "enum": [ - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer." - }, - "ipFamilies": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - }, - "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer." - }, - "createBootstrapService": { - "type": "boolean", - "description": "Whether to create the bootstrap service or not. The bootstrap service is created by default (if not specified differently). This field can be used with the `loadBalancer` type listener." - }, - "class": { - "type": "string", - "description": "Configures the `Ingress` class that defines which `Ingress` controller will be used. This field can be used only with `ingress` type listener. If not specified, the default Ingress controller will be used." - }, - "finalizers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of finalizers which will be configured for the `LoadBalancer` type Services created for this listener. If supported by the platform, the finalizer `service.kubernetes.io/load-balancer-cleanup` to make sure that the external load balancer is deleted together with the service.For more information, see https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#garbage-collecting-load-balancers. This field can be used only with `loadbalancer` type listeners." - }, - "maxConnectionCreationRate": { - "type": "integer", - "description": "The maximum connection creation rate we allow in this listener at any time. New connections will be throttled if the limit is reached." - }, - "maxConnections": { - "type": "integer", - "description": "The maximum number of connections we allow for this listener in the broker at any time. New connections are blocked if the limit is reached." - }, - "preferredNodePortAddressType": { - "type": "string", - "enum": [ - "ExternalIP", - "ExternalDNS", - "InternalIP", - "InternalDNS", - "Hostname" - ], - "description": "Defines which address type should be used as the node address. Available types are: `ExternalDNS`, `ExternalIP`, `InternalDNS`, `InternalIP` and `Hostname`. By default, the addresses will be used in the following order (the first one found will be used):\n\n* `ExternalDNS`\n* `ExternalIP`\n* `InternalDNS`\n* `InternalIP`\n* `Hostname`\n\nThis field is used to select the preferred address type, which is checked first. If no address is found for this address type, the other types are checked in the default order. This field can only be used with `nodeport` type listener." + "name": { + "description": "The system property name.", + "type": "string" }, - "useServiceDnsDomain": { - "type": "boolean", - "description": "Configures whether the Kubernetes service DNS domain should be used or not. If set to `true`, the generated addresses will contain the service DNS domain suffix (by default `.cluster.local`, can be configured using environment variable `KUBERNETES_SERVICE_DNS_DOMAIN`). Defaults to `false`.This field can be used only with `internal` type listener." + "value": { + "description": "The system property value.", + "type": "string" } }, - "description": "Additional listener configuration.", + "type": "object", "additionalProperties": false }, - "networkPolicyPeers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ipBlock": { - "type": "object", - "properties": { - "cidr": { - "type": "string" - }, - "except": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "namespaceSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "additionalProperties": false - }, - "podSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "additionalProperties": false - } - }, - "additionalProperties": false - }, - "description": "List of peers which should be able to connect to this listener. Peers in this list are combined using a logical OR operation. If this field is empty or missing, all connections will be allowed for this listener. If this field is present and contains at least one item, the listener only allows the traffic which matches at least one item in this list." - } - }, - "required": [ - "name", - "port", - "type", - "tls" - ], - "additionalProperties": false + "type": "array" + } }, - "description": "Configures listeners of Kafka brokers." - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, "type": "object", - "description": "Kafka broker config properties with the following prefixes cannot be set: listeners, advertised., broker., listener., host.name, port, inter.broker.listener.name, sasl., ssl., security., password., log.dir, zookeeper.connect, zookeeper.set.acl, zookeeper.ssl, zookeeper.clientCnxnSocket, authorizer., super.user, cruise.control.metrics.topic, cruise.control.metrics.reporter.bootstrap.servers,node.id, process.roles, controller. (with the exception of: zookeeper.connection.timeout.ms, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols,cruise.control.metrics.topic.num.partitions, cruise.control.metrics.topic.replication.factor, cruise.control.metrics.topic.retention.ms,cruise.control.metrics.topic.auto.create.retries, cruise.control.metrics.topic.auto.create.timeout.ms,cruise.control.metrics.topic.min.insync.replicas,controller.quorum.election.backoff.max.ms, controller.quorum.election.timeout.ms, controller.quorum.fetch.timeout.ms)." + "additionalProperties": false }, - "storage": { - "type": "object", + "livenessProbe": { + "description": "Pod liveness checking for the Cruise Control container.", "properties": { - "class": { - "type": "string", - "description": "The storage class to use for dynamic volume allocation." - }, - "deleteClaim": { - "type": "boolean", - "description": "Specifies if the persistent volume claim has to be deleted when the cluster is un-deployed." + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "id": { - "type": "integer", + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", "minimum": 0, - "description": "Storage identification number. It is mandatory only for storage volumes defined in a storage of type 'jbod'." - }, - "overrides": { - "type": "array", - "items": { - "type": "object", - "properties": { - "class": { - "type": "string", - "description": "The storage class to use for dynamic volume allocation for this broker." - }, - "broker": { - "type": "integer", - "description": "Id of the kafka broker (broker identifier)." - } - }, - "additionalProperties": false - }, - "description": "Overrides for individual brokers. The `overrides` field allows to specify a different configuration for different brokers." + "type": "integer" }, - "selector": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume." + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "size": { - "type": "string", - "description": "When type=persistent-claim, defines the size of the persistent volume claim (i.e 1Gi). Mandatory when type=persistent-claim." + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "sizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "When type=ephemeral, defines the total amount of local storage required for this EmptyDir volume (for example 1Gi)." + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "logging": { + "description": "Logging configuration (Log4j 2) for Cruise Control.", + "properties": { + "loggers": { + "description": "A Map from logger name to logger level.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, "type": { - "type": "string", + "description": "Logging type, must be either 'inline' or 'external'.", "enum": [ - "ephemeral", - "persistent-claim", - "jbod" + "inline", + "external" ], - "description": "Storage type, must be either 'ephemeral', 'persistent-claim', or 'jbod'." + "type": "string" }, - "volumes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "class": { - "type": "string", - "description": "The storage class to use for dynamic volume allocation." - }, - "deleteClaim": { - "type": "boolean", - "description": "Specifies if the persistent volume claim has to be deleted when the cluster is un-deployed." - }, - "id": { - "type": "integer", - "minimum": 0, - "description": "Storage identification number. It is mandatory only for storage volumes defined in a storage of type 'jbod'." - }, - "overrides": { - "type": "array", - "items": { - "type": "object", - "properties": { - "class": { - "type": "string", - "description": "The storage class to use for dynamic volume allocation for this broker." - }, - "broker": { - "type": "integer", - "description": "Id of the kafka broker (broker identifier)." - } - }, - "additionalProperties": false + "valueFrom": { + "description": "`ConfigMap` entry where the logging configuration is stored. ", + "properties": { + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", + "properties": { + "key": { + "type": "string" }, - "description": "Overrides for individual brokers. The `overrides` field allows to specify a different configuration for different brokers." - }, - "selector": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume." - }, - "size": { - "type": "string", - "description": "When type=persistent-claim, defines the size of the persistent volume claim (i.e 1Gi). Mandatory when type=persistent-claim." - }, - "sizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "When type=ephemeral, defines the total amount of local storage required for this EmptyDir volume (for example 1Gi)." + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } }, - "type": { - "type": "string", - "enum": [ - "ephemeral", - "persistent-claim" - ], - "description": "Storage type, must be either 'ephemeral' or 'persistent-claim'." - } - }, - "required": [ - "type" - ], - "additionalProperties": false + "type": "object", + "additionalProperties": false + } }, - "description": "List of volumes as Storage objects representing the JBOD disks array." + "type": "object", + "additionalProperties": false } }, "required": [ "type" ], - "description": "Storage configuration (disk). Cannot be updated.", + "type": "object", "additionalProperties": false }, - "authorization": { - "type": "object", + "metricsConfig": { + "description": "Metrics configuration.", "properties": { - "allowOnError": { - "type": "boolean", - "description": "Defines whether a Kafka client should be allowed or denied by default when the authorizer fails to query the Open Policy Agent, for example, when it is temporarily unavailable). Defaults to `false` - all actions will be denied." - }, - "authorizerClass": { - "type": "string", - "description": "Authorization implementation class, which must be available in classpath." - }, - "clientId": { - "type": "string", - "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI." - }, - "connectTimeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds." - }, - "delegateToKafkaAcls": { - "type": "boolean", - "description": "Whether authorization decision should be delegated to the 'Simple' authorizer if DENIED by Keycloak Authorization Services policies. Default value is `false`." - }, - "disableTlsHostnameVerification": { - "type": "boolean", - "description": "Enable or disable TLS hostname verification. Default value is `false`." - }, - "enableMetrics": { - "type": "boolean", - "description": "Defines whether the Open Policy Agent authorizer plugin should provide metrics. Defaults to `false`." - }, - "expireAfterMs": { - "type": "integer", - "description": "The expiration of the records kept in the local cache to avoid querying the Open Policy Agent for every request. Defines how often the cached authorization decisions are reloaded from the Open Policy Agent server. In milliseconds. Defaults to `3600000`." - }, - "grantsRefreshPeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The time between two consecutive grants refresh runs in seconds. The default value is 60." - }, - "grantsRefreshPoolSize": { - "type": "integer", - "minimum": 1, - "description": "The number of threads to use to refresh grants for active sessions. The more threads, the more parallelism, so the sooner the job completes. However, using more threads places a heavier load on the authorization server. The default value is 5." - }, - "initialCacheCapacity": { - "type": "integer", - "description": "Initial capacity of the local cache used by the authorizer to avoid querying the Open Policy Agent for every request Defaults to `5000`." - }, - "maximumCacheSize": { - "type": "integer", - "description": "Maximum capacity of the local cache used by the authorizer to avoid querying the Open Policy Agent for every request. Defaults to `50000`." - }, - "readTimeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds." - }, - "superUsers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of super users, which are user principals with unlimited access rights." - }, - "supportsAdminApi": { - "type": "boolean", - "description": "Indicates whether the custom authorizer supports the APIs for managing ACLs using the Kafka Admin API. Defaults to `false`." - }, - "tlsTrustedCertificates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." - }, - "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." - } - }, - "required": [ - "certificate", - "secretName" - ], - "additionalProperties": false - }, - "description": "Trusted certificates for TLS connection to the OAuth server." - }, - "tokenEndpointUri": { - "type": "string", - "description": "Authorization server token endpoint URI." - }, "type": { - "type": "string", + "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently.", "enum": [ - "simple", - "opa", - "keycloak", - "custom" + "jmxPrometheusExporter" ], - "description": "Authorization type. Currently, the supported types are `simple`, `keycloak`, `opa` and `custom`. `simple` authorization type uses Kafka's `kafka.security.authorizer.AclAuthorizer` class for authorization. `keycloak` authorization type uses Keycloak Authorization Services for authorization. `opa` authorization type uses Open Policy Agent based authorization.`custom` authorization type uses user-provided implementation for authorization." + "type": "string" }, - "url": { - "type": "string", - "example": "http://opa:8181/v1/data/kafka/authz/allow", - "description": "The URL used to connect to the Open Policy Agent server. The URL has to include the policy which will be queried by the authorizer. This option is required." - } - }, - "required": [ - "type" - ], - "description": "Authorization configuration for Kafka brokers.", - "additionalProperties": false - }, - "rack": { - "type": "object", - "properties": { - "topologyKey": { - "type": "string", - "example": "topology.kubernetes.io/zone", - "description": "A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set the broker's `broker.rack` config and `client.rack` in Kafka Connect." + "valueFrom": { + "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", + "properties": { + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false } }, "required": [ - "topologyKey" + "type", + "valueFrom" ], - "description": "Configuration of the `broker.rack` broker config.", - "additionalProperties": false - }, - "brokerRackInitImage": { - "type": "string", - "description": "The image of the init container used for initializing the `broker.rack`." - }, - "livenessProbe": { "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod liveness checking.", "additionalProperties": false }, "readinessProbe": { - "type": "object", + "description": "Pod readiness checking for the Cruise Control container.", "properties": { "failureThreshold": { - "type": "integer", + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + "type": "integer" }, "initialDelaySeconds": { - "type": "integer", + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." + "type": "integer" }, "periodSeconds": { - "type": "integer", + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + "type": "integer" }, "successThreshold": { - "type": "integer", + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + "type": "integer" }, "timeoutSeconds": { - "type": "integer", + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "type": "integer" } }, - "description": "Pod readiness checking.", + "type": "object", "additionalProperties": false }, - "jvmOptions": { - "type": "object", + "resources": { + "description": "CPU and memory resources to reserve for the Cruise Control container.", "properties": { - "-XX": { - "x-kubernetes-preserve-unknown-fields": true, + "limits": { "type": "object", - "description": "A map of -XX options to the JVM." - }, - "-Xms": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xms option to to the JVM." - }, - "-Xmx": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xmx option to to the JVM." - }, - "gcLoggingEnabled": { - "type": "boolean", - "description": "Specifies whether the Garbage Collection logging is enabled. The default is false." + "x-kubernetes-preserve-unknown-fields": true }, - "javaSystemProperties": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The system property name." - }, - "value": { - "type": "string", - "description": "The system property value." - } - }, - "additionalProperties": false - }, - "description": "A map of additional system properties which will be passed using the `-D` option to the JVM." + "requests": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "JVM Options for pods.", + "type": "object", "additionalProperties": false }, - "jmxOptions": { - "type": "object", + "template": { + "description": "Template to specify how Cruise Control resources, `Deployments` and `Pods`, are generated.", "properties": { - "authentication": { - "type": "object", + "apiService": { + "description": "Template for Cruise Control API `Service`.", "properties": { - "type": { - "type": "string", + "ipFamilies": { + "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer.", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "ipFamilyPolicy": { + "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer.", "enum": [ - "password" + "SingleStack", + "PreferDualStack", + "RequireDualStack" ], - "description": "Authentication type. Currently the only supported types are `password`.`password` type creates a username and protected port with no TLS." + "type": "string" + }, + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false } }, - "required": [ - "type" - ], - "description": "Authentication configuration for connecting to the JMX port.", - "additionalProperties": false - } - }, - "description": "JMX Options for Kafka brokers.", - "additionalProperties": false - }, - "resources": { - "type": "object", - "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "description": "CPU and memory resources to reserve.", - "additionalProperties": false - }, - "metricsConfig": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "jmxPrometheusExporter" - ], - "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently." - }, - "valueFrom": { - "type": "object", - "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to the key in the ConfigMap containing the configuration.", - "additionalProperties": false - } - }, - "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", - "additionalProperties": false - } - }, - "required": [ - "type", - "valueFrom" - ], - "description": "Metrics configuration.", - "additionalProperties": false - }, - "logging": { - "type": "object", - "properties": { - "loggers": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "A Map from logger name to logger level." - }, - "type": { - "type": "string", - "enum": [ - "inline", - "external" - ], - "description": "Logging type, must be either 'inline' or 'external'." - }, - "valueFrom": { - "type": "object", - "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to the key in the ConfigMap containing the configuration.", - "additionalProperties": false - } - }, - "description": "`ConfigMap` entry where the logging configuration is stored. ", - "additionalProperties": false - } - }, - "required": [ - "type" - ], - "description": "Logging configuration for Kafka.", - "additionalProperties": false - }, - "template": { - "type": "object", - "properties": { - "statefulset": { "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "podManagementPolicy": { - "type": "string", - "enum": [ - "OrderedReady", - "Parallel" - ], - "description": "PodManagementPolicy which will be used for this StatefulSet. Valid values are `Parallel` and `OrderedReady`. Defaults to `Parallel`." - } - }, - "description": "Template for Kafka `StatefulSet`.", "additionalProperties": false }, - "pod": { - "type": "object", + "cruiseControlContainer": { + "description": "Template for the Cruise Control container.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "imagePullSecrets": { - "type": "array", + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -1140,7 +470,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -1155,10 +484,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -1167,31 +496,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -1206,35 +514,56 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, - "affinity": { + } + }, + "type": "object", + "additionalProperties": false + }, + "deployment": { + "description": "Template for Cruise Control `Deployment`.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "pod": { + "description": "Template for Cruise Control `Pods`.", + "properties": { + "affinity": { + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1243,19 +572,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1264,37 +593,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1303,19 +632,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1324,43 +653,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1369,29 +697,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1400,53 +728,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1455,29 +784,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1486,56 +815,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1544,29 +872,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1575,53 +903,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1630,29 +959,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1661,496 +990,118 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, - "description": "The pod's affinity rules.", + "type": "object", "additionalProperties": false }, - "tolerations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - }, - "description": "The pod's tolerations." - }, - "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." - }, - "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" }, "hostAliases": { - "type": "array", + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { "hostnames": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "ip": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." - }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." - }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." + "type": "array" }, - "topologySpreadConstraints": { - "type": "array", + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", "items": { - "type": "object", "properties": { - "labelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "additionalProperties": false - }, - "maxSkew": { - "type": "integer" - }, - "topologyKey": { - "type": "string" - }, - "whenUnsatisfiable": { + "name": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's topology spread constraints." - } - }, - "description": "Template for Kafka `Pods`.", - "additionalProperties": false - }, - "bootstrapService": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "ipFamilyPolicy": { - "type": "string", - "enum": [ - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer." + "type": "array" }, - "ipFamilies": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - }, - "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer." - } - }, - "description": "Template for Kafka bootstrap `Service`.", - "additionalProperties": false - }, - "brokersService": { - "type": "object", - "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false }, - "ipFamilyPolicy": { - "type": "string", - "enum": [ - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer." + "priorityClassName": { + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" }, - "ipFamilies": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - }, - "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer." - } - }, - "description": "Template for Kafka broker `Service`.", - "additionalProperties": false - }, - "externalBootstrapService": { - "type": "object", - "properties": { - "metadata": { - "type": "object", + "schedulerName": { + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" + }, + "securityContext": { + "description": "Configures pod-level security attributes and common container settings.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "fsGroup": { + "type": "integer" }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for Kafka external bootstrap `Service`.", - "additionalProperties": false - }, - "perPodService": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for Kafka per-pod `Services` used for access from outside of Kubernetes.", - "additionalProperties": false - }, - "externalBootstrapRoute": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for Kafka external bootstrap `Route`.", - "additionalProperties": false - }, - "perPodRoute": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for Kafka per-pod `Routes` used for access from outside of OpenShift.", - "additionalProperties": false - }, - "externalBootstrapIngress": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for Kafka external bootstrap `Ingress`.", - "additionalProperties": false - }, - "perPodIngress": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for Kafka per-pod `Ingress` used for access from outside of Kubernetes.", - "additionalProperties": false - }, - "persistentVolumeClaim": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for all Kafka `PersistentVolumeClaims`.", - "additionalProperties": false - }, - "podDisruptionBudget": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", - "additionalProperties": false - }, - "maxUnavailable": { - "type": "integer", - "minimum": 0, - "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1." - } - }, - "description": "Template for Kafka `PodDisruptionBudget`.", - "additionalProperties": false - }, - "kafkaContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, - "additionalProperties": false - }, - "description": "Environment variables which should be applied to the container." - }, - "securityContext": { - "type": "object", - "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "privileged": { - "type": "boolean" - }, - "procMount": { + "fsGroupChangePolicy": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, "runAsGroup": { "type": "integer" }, @@ -2161,7 +1112,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -2176,10 +1126,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -2188,10 +1138,31 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -2206,59 +1177,213 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false - } - }, - "description": "Template for the Kafka broker container.", - "additionalProperties": false - }, - "initContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", "items": { - "type": "object", "properties": { - "name": { - "type": "string", - "description": "The environment variable key." + "effect": { + "type": "string" }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, - "additionalProperties": false - }, - "description": "Environment variables which should be applied to the container." - }, - "securityContext": { - "type": "object", + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "topologySpreadConstraints": { + "description": "The pod's topology spread constraints.", + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "maxSkew": { + "type": "integer" + }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "podDisruptionBudget": { + "description": "Template for Cruise Control `PodDisruptionBudget`.", + "properties": { + "maxUnavailable": { + "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1.", + "minimum": 0, + "type": "integer" + }, + "metadata": { + "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "serviceAccount": { + "description": "Template for the Cruise Control service account.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "tlsSidecarContainer": { + "description": "Template for the Cruise Control TLS sidecar container.", + "properties": { + "env": { + "description": "Environment variables which should be applied to the container.", + "items": { + "properties": { + "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "securityContext": { + "description": "Security context for the container.", "properties": { "allowPrivilegeEscalation": { "type": "boolean" }, "capabilities": { - "type": "object", "properties": { "add": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "drop": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "privileged": { @@ -2280,7 +1405,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -2295,10 +1419,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -2307,10 +1431,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -2325,645 +1449,198 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Kafka init container.", + "type": "object", "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "tlsSidecar": { + "description": "TLS sidecar configuration.", + "properties": { + "image": { + "description": "The docker image for the container.", + "type": "string" }, - "clusterCaCert": { - "type": "object", + "livenessProbe": { + "description": "Pod liveness checking.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" } }, - "description": "Template for Secret with Kafka Cluster certificate public key.", + "type": "object", "additionalProperties": false }, - "serviceAccount": { - "type": "object", + "logLevel": { + "description": "The log level for the TLS sidecar. Default value is `notice`.", + "enum": [ + "emerg", + "alert", + "crit", + "err", + "warning", + "notice", + "info", + "debug" + ], + "type": "string" + }, + "readinessProbe": { + "description": "Pod readiness checking.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" } }, - "description": "Template for the Kafka service account.", + "type": "object", "additionalProperties": false }, - "jmxSecret": { - "type": "object", + "resources": { + "description": "CPU and memory resources to reserve.", "properties": { - "metadata": { + "limits": { "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true + }, + "requests": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Template for Secret of the Kafka Cluster JMX authentication.", - "additionalProperties": false - }, - "clusterRoleBinding": { "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "entityOperator": { + "description": "Configuration of the Entity Operator.", + "properties": { + "template": { + "description": "Template for Entity Operator resources. The template allows users to specify how a `Deployment` and `Pod` is generated.", + "properties": { + "deployment": { + "description": "Template for Entity Operator `Deployment`.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Kafka ClusterRoleBinding.", + "type": "object", "additionalProperties": false }, - "podSet": { - "type": "object", + "entityOperatorRole": { + "description": "Template for the Entity Operator Role.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for Kafka `StrimziPodSet` resource.", - "additionalProperties": false - } - }, - "description": "Template for Kafka cluster resources. The template allows users to specify how are the `StatefulSet`, `Pods` and `Services` generated.", - "additionalProperties": false - } - }, - "required": [ - "replicas", - "listeners", - "storage" - ], - "description": "Configuration of the Kafka cluster.", - "additionalProperties": false - }, - "zookeeper": { - "type": "object", - "properties": { - "replicas": { - "type": "integer", - "minimum": 1, - "description": "The number of pods in the cluster." - }, - "image": { - "type": "string", - "description": "The docker image for the pods." - }, - "storage": { - "type": "object", - "properties": { - "class": { - "type": "string", - "description": "The storage class to use for dynamic volume allocation." - }, - "deleteClaim": { - "type": "boolean", - "description": "Specifies if the persistent volume claim has to be deleted when the cluster is un-deployed." - }, - "id": { - "type": "integer", - "minimum": 0, - "description": "Storage identification number. It is mandatory only for storage volumes defined in a storage of type 'jbod'." - }, - "overrides": { - "type": "array", - "items": { - "type": "object", - "properties": { - "class": { - "type": "string", - "description": "The storage class to use for dynamic volume allocation for this broker." - }, - "broker": { - "type": "integer", - "description": "Id of the kafka broker (broker identifier)." - } - }, - "additionalProperties": false - }, - "description": "Overrides for individual brokers. The `overrides` field allows to specify a different configuration for different brokers." - }, - "selector": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume." - }, - "size": { - "type": "string", - "description": "When type=persistent-claim, defines the size of the persistent volume claim (i.e 1Gi). Mandatory when type=persistent-claim." - }, - "sizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "When type=ephemeral, defines the total amount of local storage required for this EmptyDir volume (for example 1Gi)." - }, - "type": { - "type": "string", - "enum": [ - "ephemeral", - "persistent-claim" - ], - "description": "Storage type, must be either 'ephemeral' or 'persistent-claim'." - } - }, - "required": [ - "type" - ], - "description": "Storage configuration (disk). Cannot be updated.", - "additionalProperties": false - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "The ZooKeeper broker config. Properties with the following prefixes cannot be set: server., dataDir, dataLogDir, clientPort, authProvider, quorum.auth, requireClientAuthScheme, snapshot.trust.empty, standaloneEnabled, reconfigEnabled, 4lw.commands.whitelist, secureClientPort, ssl., serverCnxnFactory, sslQuorum (with the exception of: ssl.protocol, ssl.quorum.protocol, ssl.enabledProtocols, ssl.quorum.enabledProtocols, ssl.ciphersuites, ssl.quorum.ciphersuites, ssl.hostnameVerification, ssl.quorum.hostnameVerification)." - }, - "livenessProbe": { - "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod liveness checking.", - "additionalProperties": false - }, - "readinessProbe": { - "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod readiness checking.", - "additionalProperties": false - }, - "jvmOptions": { - "type": "object", - "properties": { - "-XX": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "A map of -XX options to the JVM." - }, - "-Xms": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xms option to to the JVM." - }, - "-Xmx": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xmx option to to the JVM." - }, - "gcLoggingEnabled": { - "type": "boolean", - "description": "Specifies whether the Garbage Collection logging is enabled. The default is false." - }, - "javaSystemProperties": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The system property name." - }, - "value": { - "type": "string", - "description": "The system property value." - } - }, - "additionalProperties": false - }, - "description": "A map of additional system properties which will be passed using the `-D` option to the JVM." - } - }, - "description": "JVM Options for pods.", - "additionalProperties": false - }, - "jmxOptions": { - "type": "object", - "properties": { - "authentication": { "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "password" - ], - "description": "Authentication type. Currently the only supported types are `password`.`password` type creates a username and protected port with no TLS." - } - }, - "required": [ - "type" - ], - "description": "Authentication configuration for connecting to the JMX port.", "additionalProperties": false - } - }, - "description": "JMX Options for Zookeeper nodes.", - "additionalProperties": false - }, - "resources": { - "type": "object", - "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "description": "CPU and memory resources to reserve.", - "additionalProperties": false - }, - "metricsConfig": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "jmxPrometheusExporter" - ], - "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently." }, - "valueFrom": { - "type": "object", + "pod": { + "description": "Template for Entity Operator `Pods`.", "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to the key in the ConfigMap containing the configuration.", - "additionalProperties": false - } - }, - "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", - "additionalProperties": false - } - }, - "required": [ - "type", - "valueFrom" - ], - "description": "Metrics configuration.", - "additionalProperties": false - }, - "logging": { - "type": "object", - "properties": { - "loggers": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "A Map from logger name to logger level." - }, - "type": { - "type": "string", - "enum": [ - "inline", - "external" - ], - "description": "Logging type, must be either 'inline' or 'external'." - }, - "valueFrom": { - "type": "object", - "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to the key in the ConfigMap containing the configuration.", - "additionalProperties": false - } - }, - "description": "`ConfigMap` entry where the logging configuration is stored. ", - "additionalProperties": false - } - }, - "required": [ - "type" - ], - "description": "Logging configuration for ZooKeeper.", - "additionalProperties": false - }, - "template": { - "type": "object", - "properties": { - "statefulset": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "podManagementPolicy": { - "type": "string", - "enum": [ - "OrderedReady", - "Parallel" - ], - "description": "PodManagementPolicy which will be used for this StatefulSet. Valid values are `Parallel` and `OrderedReady`. Defaults to `Parallel`." - } - }, - "description": "Template for ZooKeeper `StatefulSet`.", - "additionalProperties": false - }, - "pod": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "imagePullSecrets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "additionalProperties": false - }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." - }, - "securityContext": { - "type": "object", - "properties": { - "fsGroup": { - "type": "integer" - }, - "fsGroupChangePolicy": { - "type": "string" - }, - "runAsGroup": { - "type": "integer" - }, - "runAsNonRoot": { - "type": "boolean" - }, - "runAsUser": { - "type": "integer" - }, - "seLinuxOptions": { - "type": "object", - "properties": { - "level": { - "type": "string" - }, - "role": { - "type": "string" - }, - "type": { - "type": "string" - }, - "user": { - "type": "string" - } - }, - "additionalProperties": false - }, - "seccompProfile": { - "type": "object", - "properties": { - "localhostProfile": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false - }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "windowsOptions": { - "type": "object", - "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { - "type": "string" - }, - "hostProcess": { - "type": "boolean" - }, - "runAsUserName": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "description": "Configures pod-level security attributes and common container settings.", - "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, - "affinity": { - "type": "object", + "affinity": { + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2972,19 +1649,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2993,37 +1670,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3032,19 +1709,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3053,43 +1730,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3098,29 +1774,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3129,53 +1805,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3184,29 +1861,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3215,56 +1892,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3273,29 +1949,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3304,53 +1980,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3359,29 +2036,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3390,115 +2067,243 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, - "description": "The pod's affinity rules.", + "type": "object", "additionalProperties": false }, - "tolerations": { - "type": "array", + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" + }, + "hostAliases": { + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" }, - "operator": { + "ip": { "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", + "items": { + "properties": { + "name": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's tolerations." + "type": "array" + }, + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false }, "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" }, "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" }, - "hostAliases": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostnames": { - "type": "array", - "items": { + "securityContext": { + "description": "Configures pod-level security attributes and common container settings.", + "properties": { + "fsGroup": { + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { "type": "string" } }, - "ip": { - "type": "string" - } + "type": "object", + "additionalProperties": false }, - "additionalProperties": false + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." + "type": "object", + "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" }, "tmpDirSizeLimit": { - "type": "string", + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." + "type": "string" }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." + "tolerations": { + "description": "The pod's tolerations.", + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" }, "topologySpreadConstraints": { - "type": "array", + "description": "The pod's topology spread constraints.", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -3507,25 +2312,43 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, "maxSkew": { "type": "integer" }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, "topologyKey": { "type": "string" }, @@ -3533,198 +2356,201 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's topology spread constraints." + "type": "array" } }, - "description": "Template for ZooKeeper `Pods`.", + "type": "object", "additionalProperties": false }, - "clientService": { - "type": "object", + "serviceAccount": { + "description": "Template for the Entity Operator service account.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false - }, - "ipFamilyPolicy": { - "type": "string", - "enum": [ - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer." - }, - "ipFamilies": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - }, - "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer." } }, - "description": "Template for ZooKeeper client `Service`.", + "type": "object", "additionalProperties": false }, - "nodesService": { - "type": "object", + "tlsSidecarContainer": { + "description": "Template for the Entity Operator TLS sidecar container.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "env": { + "description": "Environment variables which should be applied to the container.", + "items": { + "properties": { + "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", + "type": "string" + } }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } + "type": "object", + "additionalProperties": false }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "ipFamilyPolicy": { - "type": "string", - "enum": [ - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer." + "type": "array" }, - "ipFamilies": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - }, - "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer." - } - }, - "description": "Template for ZooKeeper nodes `Service`.", - "additionalProperties": false - }, - "persistentVolumeClaim": { - "type": "object", - "properties": { - "metadata": { - "type": "object", + "securityContext": { + "description": "Security context for the container.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "additionalProperties": false }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for all ZooKeeper `PersistentVolumeClaims`.", - "additionalProperties": false - }, - "podDisruptionBudget": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "additionalProperties": false + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "additionalProperties": false }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "additionalProperties": false } }, - "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", + "type": "object", "additionalProperties": false - }, - "maxUnavailable": { - "type": "integer", - "minimum": 0, - "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1." } }, - "description": "Template for ZooKeeper `PodDisruptionBudget`.", + "type": "object", "additionalProperties": false }, - "zookeeperContainer": { - "type": "object", + "topicOperatorContainer": { + "description": "Template for the Entity Topic Operator container.", "properties": { "env": { - "type": "array", + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { - "type": "string", - "description": "The environment variable key." + "description": "The environment variable key.", + "type": "string" }, "value": { - "type": "string", - "description": "The environment variable value." + "description": "The environment variable value.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "Environment variables which should be applied to the container." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { "allowPrivilegeEscalation": { "type": "boolean" }, "capabilities": { - "type": "object", "properties": { "add": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "drop": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "privileged": { @@ -3746,7 +2572,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -3761,10 +2586,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -3773,10 +2598,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -3791,261 +2616,396 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the ZooKeeper container.", + "type": "object", "additionalProperties": false }, - "serviceAccount": { - "type": "object", + "topicOperatorRoleBinding": { + "description": "Template for the Entity Topic Operator RoleBinding.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the ZooKeeper service account.", + "type": "object", "additionalProperties": false }, - "jmxSecret": { - "type": "object", + "userOperatorContainer": { + "description": "Template for the Entity User Operator container.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "env": { + "description": "Environment variables which should be applied to the container.", + "items": { + "properties": { + "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", + "type": "string" + } }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } + "type": "object", + "additionalProperties": false }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for Secret of the Zookeeper Cluster JMX authentication.", - "additionalProperties": false - }, - "podSet": { - "type": "object", - "properties": { - "metadata": { - "type": "object", + "type": "array" + }, + "securityContext": { + "description": "Security context for the container.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "allowPrivilegeEscalation": { + "type": "boolean" }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false } }, - "description": "Template for ZooKeeper `StrimziPodSet` resource.", + "type": "object", + "additionalProperties": false + }, + "userOperatorRoleBinding": { + "description": "Template for the Entity Topic Operator RoleBinding.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", "additionalProperties": false } }, - "description": "Template for ZooKeeper cluster resources. The template allows users to specify how are the `StatefulSet`, `Pods` and `Services` generated.", - "additionalProperties": false - } - }, - "required": [ - "replicas", - "storage" - ], - "description": "Configuration of the ZooKeeper cluster.", - "additionalProperties": false - }, - "entityOperator": { - "type": "object", - "properties": { - "topicOperator": { "type": "object", + "additionalProperties": false + }, + "tlsSidecar": { + "description": "TLS sidecar configuration.", "properties": { - "watchedNamespace": { - "type": "string", - "description": "The namespace the Topic Operator should watch." - }, "image": { - "type": "string", - "description": "The image to use for the Topic Operator." - }, - "reconciliationIntervalSeconds": { - "type": "integer", - "minimum": 0, - "description": "Interval between periodic reconciliations." - }, - "zookeeperSessionTimeoutSeconds": { - "type": "integer", - "minimum": 0, - "description": "Timeout for the ZooKeeper session." + "description": "The docker image for the container.", + "type": "string" }, - "startupProbe": { - "type": "object", + "livenessProbe": { + "description": "Pod liveness checking.", "properties": { "failureThreshold": { - "type": "integer", + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + "type": "integer" }, "initialDelaySeconds": { - "type": "integer", + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." + "type": "integer" }, "periodSeconds": { - "type": "integer", + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + "type": "integer" }, "successThreshold": { - "type": "integer", + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + "type": "integer" }, "timeoutSeconds": { - "type": "integer", + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "type": "integer" } }, - "description": "Pod startup checking.", + "type": "object", "additionalProperties": false }, - "livenessProbe": { - "type": "object", + "logLevel": { + "description": "The log level for the TLS sidecar. Default value is `notice`.", + "enum": [ + "emerg", + "alert", + "crit", + "err", + "warning", + "notice", + "info", + "debug" + ], + "type": "string" + }, + "readinessProbe": { + "description": "Pod readiness checking.", "properties": { "failureThreshold": { - "type": "integer", + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + "type": "integer" }, "initialDelaySeconds": { - "type": "integer", + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." + "type": "integer" }, "periodSeconds": { - "type": "integer", + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + "type": "integer" }, "successThreshold": { - "type": "integer", + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + "type": "integer" }, "timeoutSeconds": { - "type": "integer", + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "type": "integer" } }, - "description": "Pod liveness checking.", + "type": "object", "additionalProperties": false }, - "readinessProbe": { + "resources": { + "description": "CPU and memory resources to reserve.", + "properties": { + "limits": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "requests": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "topicOperator": { + "description": "Configuration of the Topic Operator.", + "properties": { + "image": { + "description": "The image to use for the Topic Operator.", + "type": "string" + }, + "jvmOptions": { + "description": "JVM Options for pods.", + "properties": { + "-XX": { + "description": "A map of -XX options to the JVM.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "-Xms": { + "description": "-Xms option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "-Xmx": { + "description": "-Xmx option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "gcLoggingEnabled": { + "description": "Specifies whether the Garbage Collection logging is enabled. The default is false.", + "type": "boolean" + }, + "javaSystemProperties": { + "description": "A map of additional system properties which will be passed using the `-D` option to the JVM.", + "items": { + "properties": { + "name": { + "description": "The system property name.", + "type": "string" + }, + "value": { + "description": "The system property value.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, "type": "object", + "additionalProperties": false + }, + "livenessProbe": { + "description": "Pod liveness checking.", "properties": { "failureThreshold": { - "type": "integer", + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + "type": "integer" }, "initialDelaySeconds": { - "type": "integer", + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." + "type": "integer" }, "periodSeconds": { - "type": "integer", + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + "type": "integer" }, "successThreshold": { - "type": "integer", + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + "type": "integer" }, "timeoutSeconds": { - "type": "integer", + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "type": "integer" } }, - "description": "Pod readiness checking.", - "additionalProperties": false - }, - "resources": { "type": "object", - "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "description": "CPU and memory resources to reserve.", "additionalProperties": false }, - "topicMetadataMaxAttempts": { - "type": "integer", - "minimum": 0, - "description": "The number of attempts at getting topic metadata." - }, "logging": { - "type": "object", + "description": "Logging configuration.", "properties": { "loggers": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "A Map from logger name to logger level.", "type": "object", - "description": "A Map from logger name to logger level." + "x-kubernetes-preserve-unknown-fields": true }, "type": { - "type": "string", + "description": "Logging type, must be either 'inline' or 'external'.", "enum": [ "inline", "external" ], - "description": "Logging type, must be either 'inline' or 'external'." + "type": "string" }, "valueFrom": { - "type": "object", + "description": "`ConfigMap` entry where the logging configuration is stored. ", "properties": { "configMapKeyRef": { - "type": "object", + "description": "Reference to the key in the ConfigMap containing the configuration.", "properties": { "key": { "type": "string" @@ -4057,193 +3017,226 @@ "type": "boolean" } }, - "description": "Reference to the key in the ConfigMap containing the configuration.", + "type": "object", "additionalProperties": false } }, - "description": "`ConfigMap` entry where the logging configuration is stored. ", + "type": "object", "additionalProperties": false } }, "required": [ "type" ], - "description": "Logging configuration.", + "type": "object", "additionalProperties": false }, - "jvmOptions": { - "type": "object", + "readinessProbe": { + "description": "Pod readiness checking.", "properties": { - "-XX": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "A map of -XX options to the JVM." + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "-Xms": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xms option to to the JVM." + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" }, - "-Xmx": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xmx option to to the JVM." + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "gcLoggingEnabled": { - "type": "boolean", - "description": "Specifies whether the Garbage Collection logging is enabled. The default is false." + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "javaSystemProperties": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The system property name." - }, - "value": { - "type": "string", - "description": "The system property value." - } - }, - "additionalProperties": false - }, - "description": "A map of additional system properties which will be passed using the `-D` option to the JVM." + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" } }, - "description": "JVM Options for pods.", + "type": "object", "additionalProperties": false - } - }, - "description": "Configuration of the Topic Operator.", - "additionalProperties": false - }, - "userOperator": { - "type": "object", - "properties": { - "watchedNamespace": { - "type": "string", - "description": "The namespace the User Operator should watch." - }, - "image": { - "type": "string", - "description": "The image to use for the User Operator." }, "reconciliationIntervalSeconds": { - "type": "integer", + "description": "Interval between periodic reconciliations.", "minimum": 0, - "description": "Interval between periodic reconciliations." + "type": "integer" }, - "zookeeperSessionTimeoutSeconds": { - "type": "integer", - "minimum": 0, - "description": "Timeout for the ZooKeeper session." - }, - "secretPrefix": { - "type": "string", - "description": "The prefix that will be added to the KafkaUser name to be used as the Secret name." - }, - "livenessProbe": { + "resources": { + "description": "CPU and memory resources to reserve.", + "properties": { + "limits": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "requests": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, "type": "object", + "additionalProperties": false + }, + "startupProbe": { + "description": "Pod startup checking.", "properties": { "failureThreshold": { - "type": "integer", + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + "type": "integer" }, "initialDelaySeconds": { - "type": "integer", + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." + "type": "integer" }, "periodSeconds": { - "type": "integer", + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + "type": "integer" }, "successThreshold": { - "type": "integer", + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + "type": "integer" }, "timeoutSeconds": { - "type": "integer", + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "type": "integer" } }, - "description": "Pod liveness checking.", + "type": "object", "additionalProperties": false }, - "readinessProbe": { + "topicMetadataMaxAttempts": { + "description": "The number of attempts at getting topic metadata.", + "minimum": 0, + "type": "integer" + }, + "watchedNamespace": { + "description": "The namespace the Topic Operator should watch.", + "type": "string" + }, + "zookeeperSessionTimeoutSeconds": { + "description": "Timeout for the ZooKeeper session.", + "minimum": 0, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "userOperator": { + "description": "Configuration of the User Operator.", + "properties": { + "image": { + "description": "The image to use for the User Operator.", + "type": "string" + }, + "jvmOptions": { + "description": "JVM Options for pods.", + "properties": { + "-XX": { + "description": "A map of -XX options to the JVM.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "-Xms": { + "description": "-Xms option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "-Xmx": { + "description": "-Xmx option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "gcLoggingEnabled": { + "description": "Specifies whether the Garbage Collection logging is enabled. The default is false.", + "type": "boolean" + }, + "javaSystemProperties": { + "description": "A map of additional system properties which will be passed using the `-D` option to the JVM.", + "items": { + "properties": { + "name": { + "description": "The system property name.", + "type": "string" + }, + "value": { + "description": "The system property value.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, "type": "object", + "additionalProperties": false + }, + "livenessProbe": { + "description": "Pod liveness checking.", "properties": { "failureThreshold": { - "type": "integer", + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + "type": "integer" }, "initialDelaySeconds": { - "type": "integer", + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." + "type": "integer" }, "periodSeconds": { - "type": "integer", + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + "type": "integer" }, "successThreshold": { - "type": "integer", + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + "type": "integer" }, "timeoutSeconds": { - "type": "integer", + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "type": "integer" } }, - "description": "Pod readiness checking.", - "additionalProperties": false - }, - "resources": { "type": "object", - "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "description": "CPU and memory resources to reserve.", "additionalProperties": false }, "logging": { - "type": "object", + "description": "Logging configuration.", "properties": { "loggers": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "A Map from logger name to logger level.", "type": "object", - "description": "A Map from logger name to logger level." + "x-kubernetes-preserve-unknown-fields": true }, "type": { - "type": "string", + "description": "Logging type, must be either 'inline' or 'external'.", "enum": [ "inline", "external" ], - "description": "Logging type, must be either 'inline' or 'external'." + "type": "string" }, "valueFrom": { - "type": "object", + "description": "`ConfigMap` entry where the logging configuration is stored. ", "properties": { "configMapKeyRef": { - "type": "object", + "description": "Reference to the key in the ConfigMap containing the configuration.", "properties": { "key": { "type": "string" @@ -4255,241 +3248,250 @@ "type": "boolean" } }, - "description": "Reference to the key in the ConfigMap containing the configuration.", + "type": "object", "additionalProperties": false } }, - "description": "`ConfigMap` entry where the logging configuration is stored. ", + "type": "object", "additionalProperties": false } }, "required": [ "type" ], - "description": "Logging configuration.", - "additionalProperties": false - }, - "jvmOptions": { - "type": "object", - "properties": { - "-XX": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "A map of -XX options to the JVM." - }, - "-Xms": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xms option to to the JVM." - }, - "-Xmx": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xmx option to to the JVM." - }, - "gcLoggingEnabled": { - "type": "boolean", - "description": "Specifies whether the Garbage Collection logging is enabled. The default is false." - }, - "javaSystemProperties": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The system property name." - }, - "value": { - "type": "string", - "description": "The system property value." - } - }, - "additionalProperties": false - }, - "description": "A map of additional system properties which will be passed using the `-D` option to the JVM." - } - }, - "description": "JVM Options for pods.", - "additionalProperties": false - } - }, - "description": "Configuration of the User Operator.", - "additionalProperties": false - }, - "tlsSidecar": { - "type": "object", - "properties": { - "image": { - "type": "string", - "description": "The docker image for the container." - }, - "livenessProbe": { "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod liveness checking.", "additionalProperties": false }, - "logLevel": { - "type": "string", - "enum": [ - "emerg", - "alert", - "crit", - "err", - "warning", - "notice", - "info", - "debug" - ], - "description": "The log level for the TLS sidecar. Default value is `notice`." - }, "readinessProbe": { - "type": "object", + "description": "Pod readiness checking.", "properties": { "failureThreshold": { - "type": "integer", + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + "type": "integer" }, "initialDelaySeconds": { - "type": "integer", + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." + "type": "integer" }, "periodSeconds": { - "type": "integer", + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + "type": "integer" }, "successThreshold": { - "type": "integer", + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + "type": "integer" }, "timeoutSeconds": { - "type": "integer", + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "type": "integer" } }, - "description": "Pod readiness checking.", + "type": "object", "additionalProperties": false }, + "reconciliationIntervalSeconds": { + "description": "Interval between periodic reconciliations.", + "minimum": 0, + "type": "integer" + }, "resources": { - "type": "object", + "description": "CPU and memory resources to reserve.", "properties": { "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "CPU and memory resources to reserve.", + "type": "object", "additionalProperties": false + }, + "secretPrefix": { + "description": "The prefix that will be added to the KafkaUser name to be used as the Secret name.", + "type": "string" + }, + "watchedNamespace": { + "description": "The namespace the User Operator should watch.", + "type": "string" + }, + "zookeeperSessionTimeoutSeconds": { + "description": "Timeout for the ZooKeeper session.", + "minimum": 0, + "type": "integer" } }, - "description": "TLS sidecar configuration.", + "type": "object", "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "jmxTrans": { + "description": "Configuration for JmxTrans. When the property is present a JmxTrans deployment is created for gathering JMX metrics from each Kafka broker. For more information see https://github.com/jmxtrans/jmxtrans[JmxTrans GitHub].", + "properties": { + "image": { + "description": "The image to use for the JmxTrans.", + "type": "string" }, - "template": { - "type": "object", - "properties": { - "deployment": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } + "kafkaQueries": { + "description": "Queries to send to the Kafka brokers to define what data should be read from each broker. For more information on these properties see, xref:type-JmxTransQueryTemplate-reference[`JmxTransQueryTemplate` schema reference].", + "items": { + "properties": { + "attributes": { + "description": "Determine which attributes of the targeted MBean should be included.", + "items": { + "type": "string" + }, + "type": "array" }, - "description": "Template for Entity Operator `Deployment`.", - "additionalProperties": false + "outputs": { + "description": "List of the names of output definitions specified in the spec.kafka.jmxTrans.outputDefinitions that have defined where JMX metrics are pushed to, and in which data format.", + "items": { + "type": "string" + }, + "type": "array" + }, + "targetMBean": { + "description": "If using wildcards instead of a specific MBean then the data is gathered from multiple MBeans. Otherwise if specifying an MBean then data is gathered from that specified MBean.", + "type": "string" + } }, - "pod": { + "required": [ + "targetMBean", + "attributes", + "outputs" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "logLevel": { + "description": "Sets the logging level of the JmxTrans deployment.For more information see, https://github.com/jmxtrans/jmxtrans-agent/wiki/Troubleshooting[JmxTrans Logging Level].", + "type": "string" + }, + "outputDefinitions": { + "description": "Defines the output hosts that will be referenced later on. For more information on these properties see, xref:type-JmxTransOutputDefinitionTemplate-reference[`JmxTransOutputDefinitionTemplate` schema reference].", + "items": { + "properties": { + "flushDelayInSeconds": { + "description": "How many seconds the JmxTrans waits before pushing a new set of data out.", + "type": "integer" + }, + "host": { + "description": "The DNS/hostname of the remote host that the data is pushed to.", + "type": "string" + }, + "name": { + "description": "Template for setting the name of the output definition. This is used to identify where to send the results of queries should be sent.", + "type": "string" + }, + "outputType": { + "description": "Template for setting the format of the data that will be pushed.For more information see https://github.com/jmxtrans/jmxtrans/wiki/OutputWriters[JmxTrans OutputWriters].", + "type": "string" + }, + "port": { + "description": "The port of the remote host that the data is pushed to.", + "type": "integer" + }, + "typeNames": { + "description": "Template for filtering data to be included in response to a wildcard query. For more information see https://github.com/jmxtrans/jmxtrans/wiki/Queries[JmxTrans queries].", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "outputType", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "resources": { + "description": "CPU and memory resources to reserve.", + "properties": { + "limits": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "requests": { "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "template": { + "description": "Template for JmxTrans resources.", + "properties": { + "container": { + "description": "Template for JmxTrans container.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "imagePullSecrets": { - "type": "array", + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -4500,7 +3502,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -4515,10 +3516,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -4527,31 +3528,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -4566,35 +3546,56 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, - "affinity": { + } + }, + "type": "object", + "additionalProperties": false + }, + "deployment": { + "description": "Template for JmxTrans `Deployment`.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "pod": { + "description": "Template for JmxTrans `Pods`.", + "properties": { + "affinity": { + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4603,19 +3604,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4624,37 +3625,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4663,19 +3664,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4684,43 +3685,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4729,29 +3729,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4760,53 +3760,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4815,29 +3816,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4846,56 +3847,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4904,29 +3904,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4935,53 +3935,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -4990,29 +3991,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -5021,961 +4022,1806 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" + }, + "hostAliases": { + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", + "items": { + "properties": { + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ip": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", + "items": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "priorityClassName": { + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" + }, + "schedulerName": { + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" + }, + "securityContext": { + "description": "Configures pod-level security attributes and common container settings.", + "properties": { + "fsGroup": { + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "The pod's affinity rules.", - "additionalProperties": false - }, - "tolerations": { - "type": "array", - "items": { - "type": "object", + "type": "object", + "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "topologySpreadConstraints": { + "description": "The pod's topology spread constraints.", + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "maxSkew": { + "type": "integer" + }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "serviceAccount": { + "description": "Template for the JmxTrans service account.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "outputDefinitions", + "kafkaQueries" + ], + "type": "object", + "additionalProperties": false + }, + "kafka": { + "description": "Configuration of the Kafka cluster.", + "properties": { + "authorization": { + "description": "Authorization configuration for Kafka brokers.", + "properties": { + "allowOnError": { + "description": "Defines whether a Kafka client should be allowed or denied by default when the authorizer fails to query the Open Policy Agent, for example, when it is temporarily unavailable). Defaults to `false` - all actions will be denied.", + "type": "boolean" + }, + "authorizerClass": { + "description": "Authorization implementation class, which must be available in classpath.", + "type": "string" + }, + "clientId": { + "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "string" + }, + "connectTimeoutSeconds": { + "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds.", + "minimum": 1, + "type": "integer" + }, + "delegateToKafkaAcls": { + "description": "Whether authorization decision should be delegated to the 'Simple' authorizer if DENIED by Keycloak Authorization Services policies. Default value is `false`.", + "type": "boolean" + }, + "disableTlsHostnameVerification": { + "description": "Enable or disable TLS hostname verification. Default value is `false`.", + "type": "boolean" + }, + "enableMetrics": { + "description": "Enable or disable OAuth metrics. Default value is `false`.", + "type": "boolean" + }, + "expireAfterMs": { + "description": "The expiration of the records kept in the local cache to avoid querying the Open Policy Agent for every request. Defines how often the cached authorization decisions are reloaded from the Open Policy Agent server. In milliseconds. Defaults to `3600000`.", + "type": "integer" + }, + "grantsRefreshPeriodSeconds": { + "description": "The time between two consecutive grants refresh runs in seconds. The default value is 60.", + "minimum": 0, + "type": "integer" + }, + "grantsRefreshPoolSize": { + "description": "The number of threads to use to refresh grants for active sessions. The more threads, the more parallelism, so the sooner the job completes. However, using more threads places a heavier load on the authorization server. The default value is 5.", + "minimum": 1, + "type": "integer" + }, + "initialCacheCapacity": { + "description": "Initial capacity of the local cache used by the authorizer to avoid querying the Open Policy Agent for every request Defaults to `5000`.", + "type": "integer" + }, + "maximumCacheSize": { + "description": "Maximum capacity of the local cache used by the authorizer to avoid querying the Open Policy Agent for every request. Defaults to `50000`.", + "type": "integer" + }, + "readTimeoutSeconds": { + "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds.", + "minimum": 1, + "type": "integer" + }, + "superUsers": { + "description": "List of super users, which are user principals with unlimited access rights.", + "items": { + "type": "string" + }, + "type": "array" + }, + "supportsAdminApi": { + "description": "Indicates whether the custom authorizer supports the APIs for managing ACLs using the Kafka Admin API. Defaults to `false`.", + "type": "boolean" + }, + "tlsTrustedCertificates": { + "description": "Trusted certificates for TLS connection to the OAuth server.", + "items": { + "properties": { + "certificate": { + "description": "The name of the file certificate in the Secret.", + "type": "string" + }, + "secretName": { + "description": "The name of the Secret containing the certificate.", + "type": "string" + } + }, + "required": [ + "certificate", + "secretName" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "tokenEndpointUri": { + "description": "Authorization server token endpoint URI.", + "type": "string" + }, + "type": { + "description": "Authorization type. Currently, the supported types are `simple`, `keycloak`, `opa` and `custom`. `simple` authorization type uses Kafka's `kafka.security.authorizer.AclAuthorizer` class for authorization. `keycloak` authorization type uses Keycloak Authorization Services for authorization. `opa` authorization type uses Open Policy Agent based authorization.`custom` authorization type uses user-provided implementation for authorization.", + "enum": [ + "simple", + "opa", + "keycloak", + "custom" + ], + "type": "string" + }, + "url": { + "description": "The URL used to connect to the Open Policy Agent server. The URL has to include the policy which will be queried by the authorizer. This option is required.", + "example": "http://opa:8181/v1/data/kafka/authz/allow", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "brokerRackInitImage": { + "description": "The image of the init container used for initializing the `broker.rack`.", + "type": "string" + }, + "config": { + "description": "Kafka broker config properties with the following prefixes cannot be set: listeners, advertised., broker., listener., host.name, port, inter.broker.listener.name, sasl., ssl., security., password., log.dir, zookeeper.connect, zookeeper.set.acl, zookeeper.ssl, zookeeper.clientCnxnSocket, authorizer., super.user, cruise.control.metrics.topic, cruise.control.metrics.reporter.bootstrap.servers,node.id, process.roles, controller. (with the exception of: zookeeper.connection.timeout.ms, sasl.server.max.receive.size,ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols, ssl.secure.random.implementation,cruise.control.metrics.topic.num.partitions, cruise.control.metrics.topic.replication.factor, cruise.control.metrics.topic.retention.ms,cruise.control.metrics.topic.auto.create.retries, cruise.control.metrics.topic.auto.create.timeout.ms,cruise.control.metrics.topic.min.insync.replicas,controller.quorum.election.backoff.max.ms, controller.quorum.election.timeout.ms, controller.quorum.fetch.timeout.ms).", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "image": { + "description": "The docker image for the pods. The default value depends on the configured `Kafka.spec.kafka.version`.", + "type": "string" + }, + "jmxOptions": { + "description": "JMX Options for Kafka brokers.", + "properties": { + "authentication": { + "description": "Authentication configuration for connecting to the JMX port.", + "properties": { + "type": { + "description": "Authentication type. Currently the only supported types are `password`.`password` type creates a username and protected port with no TLS.", + "enum": [ + "password" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "jvmOptions": { + "description": "JVM Options for pods.", + "properties": { + "-XX": { + "description": "A map of -XX options to the JVM.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "-Xms": { + "description": "-Xms option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "-Xmx": { + "description": "-Xmx option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "gcLoggingEnabled": { + "description": "Specifies whether the Garbage Collection logging is enabled. The default is false.", + "type": "boolean" + }, + "javaSystemProperties": { + "description": "A map of additional system properties which will be passed using the `-D` option to the JVM.", + "items": { + "properties": { + "name": { + "description": "The system property name.", + "type": "string" + }, + "value": { + "description": "The system property value.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "listeners": { + "description": "Configures listeners of Kafka brokers.", + "items": { + "properties": { + "authentication": { + "description": "Authentication configuration for this listener.", + "properties": { + "accessTokenIsJwt": { + "description": "Configure whether the access token is treated as JWT. This must be set to `false` if the authorization server returns opaque tokens. Defaults to `true`.", + "type": "boolean" + }, + "checkAccessTokenType": { + "description": "Configure whether the access token type check is performed or not. This should be set to `false` if the authorization server does not include 'typ' claim in JWT token. Defaults to `true`.", + "type": "boolean" + }, + "checkAudience": { + "description": "Enable or disable audience checking. Audience checks identify the recipients of tokens. If audience checking is enabled, the OAuth Client ID also has to be configured using the `clientId` property. The Kafka broker will reject tokens that do not have its `clientId` in their `aud` (audience) claim.Default value is `false`.", + "type": "boolean" + }, + "checkIssuer": { + "description": "Enable or disable issuer checking. By default issuer is checked using the value configured by `validIssuerUri`. Default value is `true`.", + "type": "boolean" + }, + "clientAudience": { + "description": "The audience to use when making requests to the authorization server's token endpoint. Used for inter-broker authentication and for configuring OAuth 2.0 over PLAIN using the `clientId` and `secret` method.", + "type": "string" + }, + "clientId": { + "description": "OAuth Client ID which the Kafka broker can use to authenticate against the authorization server and use the introspect endpoint URI.", + "type": "string" + }, + "clientScope": { + "description": "The scope to use when making requests to the authorization server's token endpoint. Used for inter-broker authentication and for configuring OAuth 2.0 over PLAIN using the `clientId` and `secret` method.", + "type": "string" + }, + "clientSecret": { + "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka broker can use to authenticate against the authorization server and use the introspect endpoint URI.", "properties": { - "effect": { - "type": "string" - }, "key": { + "description": "The key under which the secret value is stored in the Kubernetes Secret.", "type": "string" }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { + "secretName": { + "description": "The name of the Kubernetes Secret containing the secret value.", "type": "string" } }, + "required": [ + "key", + "secretName" + ], + "type": "object", "additionalProperties": false }, - "description": "The pod's tolerations." - }, - "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." - }, - "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." - }, - "hostAliases": { - "type": "array", - "items": { + "connectTimeoutSeconds": { + "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds.", + "type": "integer" + }, + "customClaimCheck": { + "description": "JsonPath filter query to be applied to the JWT token or to the response of the introspection endpoint for additional token validation. Not set by default.", + "type": "string" + }, + "disableTlsHostnameVerification": { + "description": "Enable or disable TLS hostname verification. Default value is `false`.", + "type": "boolean" + }, + "enableECDSA": { + "description": "Enable or disable ECDSA support by installing BouncyCastle crypto provider. ECDSA support is always enabled. The BouncyCastle libraries are no longer packaged with Strimzi. Value is ignored.", + "type": "boolean" + }, + "enableMetrics": { + "description": "Enable or disable OAuth metrics. Default value is `false`.", + "type": "boolean" + }, + "enableOauthBearer": { + "description": "Enable or disable OAuth authentication over SASL_OAUTHBEARER. Default value is `true`.", + "type": "boolean" + }, + "enablePlain": { + "description": "Enable or disable OAuth authentication over SASL_PLAIN. There is no re-authentication support when this mechanism is used. Default value is `false`.", + "type": "boolean" + }, + "failFast": { + "description": "Enable or disable termination of Kafka broker processes due to potentially recoverable runtime errors during startup. Default value is `true`.", + "type": "boolean" + }, + "fallbackUserNameClaim": { + "description": "The fallback username claim to be used for the user id if the claim specified by `userNameClaim` is not present. This is useful when `client_credentials` authentication only results in the client id being provided in another claim. It only takes effect if `userNameClaim` is set.", + "type": "string" + }, + "fallbackUserNamePrefix": { + "description": "The prefix to use with the value of `fallbackUserNameClaim` to construct the user id. This only takes effect if `fallbackUserNameClaim` is true, and the value is present for the claim. Mapping usernames and client ids into the same user id space is useful in preventing name collisions.", + "type": "string" + }, + "groupsClaim": { + "description": "JsonPath query used to extract groups for the user during authentication. Extracted groups can be used by a custom authorizer. By default no groups are extracted.", + "type": "string" + }, + "groupsClaimDelimiter": { + "description": "A delimiter used to parse groups when they are extracted as a single String value rather than a JSON array. Default value is ',' (comma).", + "type": "string" + }, + "introspectionEndpointUri": { + "description": "URI of the token introspection endpoint which can be used to validate opaque non-JWT tokens.", + "type": "string" + }, + "jwksEndpointUri": { + "description": "URI of the JWKS certificate endpoint, which can be used for local JWT validation.", + "type": "string" + }, + "jwksExpirySeconds": { + "description": "Configures how often are the JWKS certificates considered valid. The expiry interval has to be at least 60 seconds longer then the refresh interval specified in `jwksRefreshSeconds`. Defaults to 360 seconds.", + "minimum": 1, + "type": "integer" + }, + "jwksIgnoreKeyUse": { + "description": "Flag to ignore the 'use' attribute of `key` declarations in a JWKS endpoint response. Default value is `false`.", + "type": "boolean" + }, + "jwksMinRefreshPauseSeconds": { + "description": "The minimum pause between two consecutive refreshes. When an unknown signing key is encountered the refresh is scheduled immediately, but will always wait for this minimum pause. Defaults to 1 second.", + "minimum": 0, + "type": "integer" + }, + "jwksRefreshSeconds": { + "description": "Configures how often are the JWKS certificates refreshed. The refresh interval has to be at least 60 seconds shorter then the expiry interval specified in `jwksExpirySeconds`. Defaults to 300 seconds.", + "minimum": 1, + "type": "integer" + }, + "listenerConfig": { + "description": "Configuration to be used for a specific listener. All values are prefixed with listener.name.__.", "type": "object", - "properties": { - "hostnames": { - "type": "array", - "items": { + "x-kubernetes-preserve-unknown-fields": true + }, + "maxSecondsWithoutReauthentication": { + "description": "Maximum number of seconds the authenticated session remains valid without re-authentication. This enables Apache Kafka re-authentication feature, and causes sessions to expire when the access token expires. If the access token expires before max time or if max time is reached, the client has to re-authenticate, otherwise the server will drop the connection. Not set by default - the authenticated session does not expire when the access token expires. This option only applies to SASL_OAUTHBEARER authentication mechanism (when `enableOauthBearer` is `true`).", + "type": "integer" + }, + "readTimeoutSeconds": { + "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds.", + "type": "integer" + }, + "sasl": { + "description": "Enable or disable SASL on this listener.", + "type": "boolean" + }, + "secrets": { + "description": "Secrets to be mounted to /opt/kafka/custom-authn-secrets/custom-listener-_-_/__.", + "items": { + "properties": { + "key": { + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" + }, + "secretName": { + "description": "The name of the Kubernetes Secret containing the secret value.", "type": "string" } }, - "ip": { - "type": "string" - } + "required": [ + "key", + "secretName" + ], + "type": "object", + "additionalProperties": false }, - "additionalProperties": false + "type": "array" }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." - }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." - }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." + "tlsTrustedCertificates": { + "description": "Trusted certificates for TLS connection to the OAuth server.", + "items": { + "properties": { + "certificate": { + "description": "The name of the file certificate in the Secret.", + "type": "string" + }, + "secretName": { + "description": "The name of the Secret containing the certificate.", + "type": "string" + } + }, + "required": [ + "certificate", + "secretName" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "tokenEndpointUri": { + "description": "URI of the Token Endpoint to use with SASL_PLAIN mechanism when the client authenticates with `clientId` and a `secret`. If set, the client can authenticate over SASL_PLAIN by either setting `username` to `clientId`, and setting `password` to client `secret`, or by setting `username` to account username, and `password` to access token prefixed with `$accessToken:`. If this option is not set, the `password` is always interpreted as an access token (without a prefix), and `username` as the account username (a so called 'no-client-credentials' mode).", + "type": "string" + }, + "type": { + "description": "Authentication type. `oauth` type uses SASL OAUTHBEARER Authentication. `scram-sha-512` type uses SASL SCRAM-SHA-512 Authentication. `tls` type uses TLS Client Authentication. `tls` type is supported only on TLS listeners.`custom` type allows for any authentication type to be used.", + "enum": [ + "tls", + "scram-sha-512", + "oauth", + "custom" + ], + "type": "string" + }, + "userInfoEndpointUri": { + "description": "URI of the User Info Endpoint to use as a fallback to obtaining the user id when the Introspection Endpoint does not return information that can be used for the user id. ", + "type": "string" + }, + "userNameClaim": { + "description": "Name of the claim from the JWT authentication token, Introspection Endpoint response or User Info Endpoint response which will be used to extract the user id. Defaults to `sub`.", + "type": "string" + }, + "validIssuerUri": { + "description": "URI of the token issuer used for authentication.", + "type": "string" + }, + "validTokenType": { + "description": "Valid value for the `token_type` attribute returned by the Introspection Endpoint. No default value, and not checked by default.", + "type": "string" + } }, - "topologySpreadConstraints": { - "type": "array", - "items": { - "type": "object", + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "configuration": { + "description": "Additional listener configuration.", + "properties": { + "bootstrap": { + "description": "Bootstrap configuration.", "properties": { - "labelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } + "alternativeNames": { + "description": "Additional alternative names for the bootstrap service. The alternative names will be added to the list of subject alternative names of the TLS certificates.", + "items": { + "type": "string" }, - "additionalProperties": false + "type": "array" }, - "maxSkew": { - "type": "integer" + "annotations": { + "description": "Annotations that will be added to the `Ingress`, `Route`, or `Service` resource. You can use this field to configure DNS providers such as External DNS. This field can be used only with `loadbalancer`, `nodeport`, `route`, or `ingress` type listeners.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, - "topologyKey": { + "host": { + "description": "The bootstrap host. This field will be used in the Ingress resource or in the Route resource to specify the desired hostname. This field can be used only with `route` (optional) or `ingress` (required) type listeners.", "type": "string" }, - "whenUnsatisfiable": { + "labels": { + "description": "Labels that will be added to the `Ingress`, `Route`, or `Service` resource. This field can be used only with `loadbalancer`, `nodeport`, `route`, or `ingress` type listeners.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "loadBalancerIP": { + "description": "The loadbalancer is requested with the IP address specified in this field. This feature depends on whether the underlying cloud provider supports specifying the `loadBalancerIP` when a load balancer is created. This field is ignored if the cloud provider does not support the feature.This field can be used only with `loadbalancer` type listener.", "type": "string" + }, + "nodePort": { + "description": "Node port for the bootstrap service. This field can be used only with `nodeport` type listener.", + "type": "integer" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's topology spread constraints." - } - }, - "description": "Template for Entity Operator `Pods`.", - "additionalProperties": false - }, - "topicOperatorContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", - "items": { - "type": "object", + "brokerCertChainAndKey": { + "description": "Reference to the `Secret` which holds the certificate and private key pair which will be used for this listener. The certificate can optionally contain the whole chain. This field can be used only with listeners with enabled TLS encryption.", "properties": { - "name": { - "type": "string", - "description": "The environment variable key." + "certificate": { + "description": "The name of the file certificate in the Secret.", + "type": "string" }, - "value": { - "type": "string", - "description": "The environment variable value." + "key": { + "description": "The name of the private key in the Secret.", + "type": "string" + }, + "secretName": { + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, + "required": [ + "certificate", + "key", + "secretName" + ], + "type": "object", "additionalProperties": false }, - "description": "Environment variables which should be applied to the container." - }, - "securityContext": { - "type": "object", - "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } + "brokers": { + "description": "Per-broker configurations.", + "items": { + "properties": { + "advertisedHost": { + "description": "The host name which will be used in the brokers' `advertised.brokers`.", + "type": "string" }, - "drop": { - "type": "array", - "items": { - "type": "string" - } + "advertisedPort": { + "description": "The port number which will be used in the brokers' `advertised.brokers`.", + "type": "integer" + }, + "annotations": { + "description": "Annotations that will be added to the `Ingress` or `Service` resource. You can use this field to configure DNS providers such as External DNS. This field can be used only with `loadbalancer`, `nodeport`, or `ingress` type listeners.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "broker": { + "description": "ID of the kafka broker (broker identifier). Broker IDs start from 0 and correspond to the number of broker replicas.", + "type": "integer" + }, + "host": { + "description": "The broker host. This field will be used in the Ingress resource or in the Route resource to specify the desired hostname. This field can be used only with `route` (optional) or `ingress` (required) type listeners.", + "type": "string" + }, + "labels": { + "description": "Labels that will be added to the `Ingress`, `Route`, or `Service` resource. This field can be used only with `loadbalancer`, `nodeport`, `route`, or `ingress` type listeners.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "loadBalancerIP": { + "description": "The loadbalancer is requested with the IP address specified in this field. This feature depends on whether the underlying cloud provider supports specifying the `loadBalancerIP` when a load balancer is created. This field is ignored if the cloud provider does not support the feature.This field can be used only with `loadbalancer` type listener.", + "type": "string" + }, + "nodePort": { + "description": "Node port for the per-broker service. This field can be used only with `nodeport` type listener.", + "type": "integer" } }, + "required": [ + "broker" + ], + "type": "object", "additionalProperties": false }, - "privileged": { - "type": "boolean" - }, - "procMount": { + "type": "array" + }, + "class": { + "description": "Configures a specific class for `Ingress` and `LoadBalancer` that defines which controller will be used. This field can only be used with `ingress` and `loadbalancer` type listeners. If not specified, the default controller is used. For an `ingress` listener, set the `ingressClassName` property in the `Ingress` resources. For a `loadbalancer` listener, set the `loadBalancerClass` property in the `Service` resources.", + "type": "string" + }, + "createBootstrapService": { + "description": "Whether to create the bootstrap service or not. The bootstrap service is created by default (if not specified differently). This field can be used with the `loadBalancer` type listener.", + "type": "boolean" + }, + "externalTrafficPolicy": { + "description": "Specifies whether the service routes external traffic to node-local or cluster-wide endpoints. `Cluster` may cause a second hop to another node and obscures the client source IP. `Local` avoids a second hop for LoadBalancer and Nodeport type services and preserves the client source IP (when supported by the infrastructure). If unspecified, Kubernetes will use `Cluster` as the default.This field can be used only with `loadbalancer` or `nodeport` type listener.", + "enum": [ + "Local", + "Cluster" + ], + "type": "string" + }, + "finalizers": { + "description": "A list of finalizers which will be configured for the `LoadBalancer` type Services created for this listener. If supported by the platform, the finalizer `service.kubernetes.io/load-balancer-cleanup` to make sure that the external load balancer is deleted together with the service.For more information, see https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#garbage-collecting-load-balancers. This field can be used only with `loadbalancer` type listeners.", + "items": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, - "runAsGroup": { - "type": "integer" - }, - "runAsNonRoot": { - "type": "boolean" + "type": "array" + }, + "ipFamilies": { + "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer.", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" }, - "runAsUser": { - "type": "integer" + "type": "array" + }, + "ipFamilyPolicy": { + "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer.", + "enum": [ + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ], + "type": "string" + }, + "loadBalancerSourceRanges": { + "description": "A list of CIDR ranges (for example `10.0.0.0/8` or `130.211.204.1/32`) from which clients can connect to load balancer type listeners. If supported by the platform, traffic through the loadbalancer is restricted to the specified CIDR ranges. This field is applicable only for loadbalancer type services and is ignored if the cloud provider does not support the feature. This field can be used only with `loadbalancer` type listener.", + "items": { + "type": "string" }, - "seLinuxOptions": { - "type": "object", + "type": "array" + }, + "maxConnectionCreationRate": { + "description": "The maximum connection creation rate we allow in this listener at any time. New connections will be throttled if the limit is reached.", + "type": "integer" + }, + "maxConnections": { + "description": "The maximum number of connections we allow for this listener in the broker at any time. New connections are blocked if the limit is reached.", + "type": "integer" + }, + "preferredNodePortAddressType": { + "description": "Defines which address type should be used as the node address. Available types are: `ExternalDNS`, `ExternalIP`, `InternalDNS`, `InternalIP` and `Hostname`. By default, the addresses will be used in the following order (the first one found will be used):\n\n* `ExternalDNS`\n* `ExternalIP`\n* `InternalDNS`\n* `InternalIP`\n* `Hostname`\n\nThis field is used to select the preferred address type, which is checked first. If no address is found for this address type, the other types are checked in the default order. This field can only be used with `nodeport` type listener.", + "enum": [ + "ExternalIP", + "ExternalDNS", + "InternalIP", + "InternalDNS", + "Hostname" + ], + "type": "string" + }, + "useServiceDnsDomain": { + "description": "Configures whether the Kubernetes service DNS domain should be used or not. If set to `true`, the generated addresses will contain the service DNS domain suffix (by default `.cluster.local`, can be configured using environment variable `KUBERNETES_SERVICE_DNS_DOMAIN`). Defaults to `false`.This field can be used only with `internal` and `cluster-ip` type listeners.", + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "name": { + "description": "Name of the listener. The name will be used to identify the listener and the related Kubernetes objects. The name has to be unique within given a Kafka cluster. The name can consist of lowercase characters and numbers and be up to 11 characters long.", + "pattern": "^[a-z0-9]{1,11}$", + "type": "string" + }, + "networkPolicyPeers": { + "description": "List of peers which should be able to connect to this listener. Peers in this list are combined using a logical OR operation. If this field is empty or missing, all connections will be allowed for this listener. If this field is present and contains at least one item, the listener only allows the traffic which matches at least one item in this list.", + "items": { + "properties": { + "ipBlock": { "properties": { - "level": { - "type": "string" - }, - "role": { - "type": "string" - }, - "type": { + "cidr": { "type": "string" }, - "user": { - "type": "string" + "except": { + "items": { + "type": "string" + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, - "seccompProfile": { - "type": "object", + "namespaceSelector": { "properties": { - "localhostProfile": { - "type": "string" + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" }, - "type": { - "type": "string" + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, - "windowsOptions": { - "type": "object", + "podSelector": { "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { - "type": "string" - }, - "hostProcess": { - "type": "boolean" + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" }, - "runAsUserName": { - "type": "string" + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "port": { + "description": "Port number used by the listener inside Kafka. The port number has to be unique within a given Kafka cluster. Allowed port numbers are 9092 and higher with the exception of ports 9404 and 9999, which are already used for Prometheus and JMX. Depending on the listener type, the port number might not be the same as the port number that connects Kafka clients.", + "minimum": 9092, + "type": "integer" + }, + "tls": { + "description": "Enables TLS encryption on the listener. This is a required property.", + "type": "boolean" + }, + "type": { + "description": "Type of the listener. Currently the supported types are `internal`, `route`, `loadbalancer`, `nodeport` and `ingress`. \n\n* `internal` type exposes Kafka internally only within the Kubernetes cluster.\n* `route` type uses OpenShift Routes to expose Kafka.\n* `loadbalancer` type uses LoadBalancer type services to expose Kafka.\n* `nodeport` type uses NodePort type services to expose Kafka.\n* `ingress` type uses Kubernetes Nginx Ingress to expose Kafka with TLS passthrough.\n* `cluster-ip` type uses a per-broker `ClusterIP` service.\n", + "enum": [ + "internal", + "route", + "loadbalancer", + "nodeport", + "ingress", + "cluster-ip" + ], + "type": "string" + } + }, + "required": [ + "name", + "port", + "type", + "tls" + ], + "type": "object", + "additionalProperties": false + }, + "minItems": 1, + "type": "array" + }, + "livenessProbe": { + "description": "Pod liveness checking.", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "logging": { + "description": "Logging configuration for Kafka.", + "properties": { + "loggers": { + "description": "A Map from logger name to logger level.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "type": { + "description": "Logging type, must be either 'inline' or 'external'.", + "enum": [ + "inline", + "external" + ], + "type": "string" + }, + "valueFrom": { + "description": "`ConfigMap` entry where the logging configuration is stored. ", + "properties": { + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", "additionalProperties": false } }, - "description": "Template for the Entity Topic Operator container.", + "type": "object", "additionalProperties": false + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "metricsConfig": { + "description": "Metrics configuration.", + "properties": { + "type": { + "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently.", + "enum": [ + "jmxPrometheusExporter" + ], + "type": "string" }, - "userOperatorContainer": { - "type": "object", + "valueFrom": { + "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, - "additionalProperties": false - }, - "description": "Environment variables which should be applied to the container." - }, - "securityContext": { - "type": "object", + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "privileged": { - "type": "boolean" - }, - "procMount": { + "key": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, - "runAsGroup": { - "type": "integer" + "name": { + "type": "string" }, - "runAsNonRoot": { + "optional": { "type": "boolean" - }, - "runAsUser": { - "type": "integer" - }, - "seLinuxOptions": { - "type": "object", - "properties": { - "level": { - "type": "string" - }, - "role": { - "type": "string" - }, - "type": { - "type": "string" - }, - "user": { - "type": "string" - } - }, - "additionalProperties": false - }, - "seccompProfile": { - "type": "object", - "properties": { - "localhostProfile": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false - }, - "windowsOptions": { - "type": "object", - "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { - "type": "string" - }, - "hostProcess": { - "type": "boolean" - }, - "runAsUserName": { - "type": "string" - } - }, - "additionalProperties": false } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Entity User Operator container.", + "type": "object", "additionalProperties": false + } + }, + "required": [ + "type", + "valueFrom" + ], + "type": "object", + "additionalProperties": false + }, + "rack": { + "description": "Configuration of the `broker.rack` broker config.", + "properties": { + "topologyKey": { + "description": "A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set a broker's `broker.rack` config, and the `client.rack` config for Kafka Connect or MirrorMaker 2.0.", + "example": "topology.kubernetes.io/zone", + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object", + "additionalProperties": false + }, + "readinessProbe": { + "description": "Pod readiness checking.", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "tlsSidecarContainer": { + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "replicas": { + "description": "The number of pods in the cluster.", + "minimum": 1, + "type": "integer" + }, + "resources": { + "description": "CPU and memory resources to reserve.", + "properties": { + "limits": { "type": "object", - "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true + }, + "requests": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "storage": { + "description": "Storage configuration (disk). Cannot be updated.", + "properties": { + "class": { + "description": "The storage class to use for dynamic volume allocation.", + "type": "string" + }, + "deleteClaim": { + "description": "Specifies if the persistent volume claim has to be deleted when the cluster is un-deployed.", + "type": "boolean" + }, + "id": { + "description": "Storage identification number. It is mandatory only for storage volumes defined in a storage of type 'jbod'.", + "minimum": 0, + "type": "integer" + }, + "overrides": { + "description": "Overrides for individual brokers. The `overrides` field allows to specify a different configuration for different brokers.", + "items": { + "properties": { + "broker": { + "description": "Id of the kafka broker (broker identifier).", + "type": "integer" + }, + "class": { + "description": "The storage class to use for dynamic volume allocation for this broker.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "selector": { + "description": "Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "size": { + "description": "When type=persistent-claim, defines the size of the persistent volume claim (i.e 1Gi). Mandatory when type=persistent-claim.", + "type": "string" + }, + "sizeLimit": { + "description": "When type=ephemeral, defines the total amount of local storage required for this EmptyDir volume (for example 1Gi).", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "type": { + "description": "Storage type, must be either 'ephemeral', 'persistent-claim', or 'jbod'.", + "enum": [ + "ephemeral", + "persistent-claim", + "jbod" + ], + "type": "string" + }, + "volumes": { + "description": "List of volumes as Storage objects representing the JBOD disks array.", + "items": { + "properties": { + "class": { + "description": "The storage class to use for dynamic volume allocation.", + "type": "string" + }, + "deleteClaim": { + "description": "Specifies if the persistent volume claim has to be deleted when the cluster is un-deployed.", + "type": "boolean" + }, + "id": { + "description": "Storage identification number. It is mandatory only for storage volumes defined in a storage of type 'jbod'.", + "minimum": 0, + "type": "integer" }, - "description": "Environment variables which should be applied to the container." - }, - "securityContext": { - "type": "object", - "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "privileged": { - "type": "boolean" - }, - "procMount": { - "type": "string" - }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, - "runAsGroup": { - "type": "integer" - }, - "runAsNonRoot": { - "type": "boolean" - }, - "runAsUser": { - "type": "integer" - }, - "seLinuxOptions": { - "type": "object", + "overrides": { + "description": "Overrides for individual brokers. The `overrides` field allows to specify a different configuration for different brokers.", + "items": { "properties": { - "level": { - "type": "string" - }, - "role": { - "type": "string" - }, - "type": { - "type": "string" + "broker": { + "description": "Id of the kafka broker (broker identifier).", + "type": "integer" }, - "user": { + "class": { + "description": "The storage class to use for dynamic volume allocation for this broker.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "seccompProfile": { + "type": "array" + }, + "selector": { + "description": "Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "size": { + "description": "When type=persistent-claim, defines the size of the persistent volume claim (i.e 1Gi). Mandatory when type=persistent-claim.", + "type": "string" + }, + "sizeLimit": { + "description": "When type=ephemeral, defines the total amount of local storage required for this EmptyDir volume (for example 1Gi).", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "type": { + "description": "Storage type, must be either 'ephemeral' or 'persistent-claim'.", + "enum": [ + "ephemeral", + "persistent-claim" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "template": { + "description": "Template for Kafka cluster resources. The template allows users to specify how the `StatefulSet`, `Pods`, and `Services` are generated.", + "properties": { + "bootstrapService": { + "description": "Template for Kafka bootstrap `Service`.", + "properties": { + "ipFamilies": { + "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer.", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "ipFamilyPolicy": { + "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer.", + "enum": [ + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ], + "type": "string" + }, + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "localhostProfile": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true }, - "windowsOptions": { + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { - "type": "string" - }, - "hostProcess": { - "type": "boolean" - }, - "runAsUserName": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Entity Operator TLS sidecar container.", + "type": "object", "additionalProperties": false }, - "serviceAccount": { - "type": "object", + "brokersService": { + "description": "Template for Kafka broker `Service`.", "properties": { + "ipFamilies": { + "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer.", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "ipFamilyPolicy": { + "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer.", + "enum": [ + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ], + "type": "string" + }, "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Entity Operator service account.", + "type": "object", "additionalProperties": false - } - }, - "description": "Template for Entity Operator resources. The template allows users to specify how is the `Deployment` and `Pods` generated.", - "additionalProperties": false - } - }, - "description": "Configuration of the Entity Operator.", - "additionalProperties": false - }, - "clusterCa": { - "type": "object", - "properties": { - "generateCertificateAuthority": { - "type": "boolean", - "description": "If true then Certificate Authority certificates will be generated automatically. Otherwise the user will need to provide a Secret with the CA certificate. Default is true." - }, - "generateSecretOwnerReference": { - "type": "boolean", - "description": "If `true`, the Cluster and Client CA Secrets are configured with the `ownerReference` set to the `Kafka` resource. If the `Kafka` resource is deleted when `true`, the CA Secrets are also deleted. If `false`, the `ownerReference` is disabled. If the `Kafka` resource is deleted when `false`, the CA Secrets are retained and available for reuse. Default is `true`." - }, - "validityDays": { - "type": "integer", - "minimum": 1, - "description": "The number of days generated certificates should be valid for. The default is 365." - }, - "renewalDays": { - "type": "integer", - "minimum": 1, - "description": "The number of days in the certificate renewal period. This is the number of days before the a certificate expires during which renewal actions may be performed. When `generateCertificateAuthority` is true, this will cause the generation of a new certificate. When `generateCertificateAuthority` is true, this will cause extra logging at WARN level about the pending certificate expiry. Default is 30." - }, - "certificateExpirationPolicy": { - "type": "string", - "enum": [ - "renew-certificate", - "replace-key" - ], - "description": "How should CA certificate expiration be handled when `generateCertificateAuthority=true`. The default is for a new CA certificate to be generated reusing the existing private key." - } - }, - "description": "Configuration of the cluster certificate authority.", - "additionalProperties": false - }, - "clientsCa": { - "type": "object", - "properties": { - "generateCertificateAuthority": { - "type": "boolean", - "description": "If true then Certificate Authority certificates will be generated automatically. Otherwise the user will need to provide a Secret with the CA certificate. Default is true." - }, - "generateSecretOwnerReference": { - "type": "boolean", - "description": "If `true`, the Cluster and Client CA Secrets are configured with the `ownerReference` set to the `Kafka` resource. If the `Kafka` resource is deleted when `true`, the CA Secrets are also deleted. If `false`, the `ownerReference` is disabled. If the `Kafka` resource is deleted when `false`, the CA Secrets are retained and available for reuse. Default is `true`." - }, - "validityDays": { - "type": "integer", - "minimum": 1, - "description": "The number of days generated certificates should be valid for. The default is 365." - }, - "renewalDays": { - "type": "integer", - "minimum": 1, - "description": "The number of days in the certificate renewal period. This is the number of days before the a certificate expires during which renewal actions may be performed. When `generateCertificateAuthority` is true, this will cause the generation of a new certificate. When `generateCertificateAuthority` is true, this will cause extra logging at WARN level about the pending certificate expiry. Default is 30." - }, - "certificateExpirationPolicy": { - "type": "string", - "enum": [ - "renew-certificate", - "replace-key" - ], - "description": "How should CA certificate expiration be handled when `generateCertificateAuthority=true`. The default is for a new CA certificate to be generated reusing the existing private key." - } - }, - "description": "Configuration of the clients certificate authority.", - "additionalProperties": false - }, - "cruiseControl": { - "type": "object", - "properties": { - "image": { - "type": "string", - "description": "The docker image for the pods." - }, - "tlsSidecar": { - "type": "object", - "properties": { - "image": { - "type": "string", - "description": "The docker image for the container." }, - "livenessProbe": { - "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "clusterCaCert": { + "description": "Template for Secret with Kafka Cluster certificate public key.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false } }, - "description": "Pod liveness checking.", + "type": "object", "additionalProperties": false }, - "logLevel": { - "type": "string", - "enum": [ - "emerg", - "alert", - "crit", - "err", - "warning", - "notice", - "info", - "debug" - ], - "description": "The log level for the TLS sidecar. Default value is `notice`." - }, - "readinessProbe": { - "type": "object", + "clusterRoleBinding": { + "description": "Template for the Kafka ClusterRoleBinding.", "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false } }, - "description": "Pod readiness checking.", + "type": "object", "additionalProperties": false }, - "resources": { - "type": "object", + "externalBootstrapIngress": { + "description": "Template for Kafka external bootstrap `Ingress`.", "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false } }, - "description": "CPU and memory resources to reserve.", + "type": "object", "additionalProperties": false - } - }, - "description": "TLS sidecar configuration.", - "additionalProperties": false - }, - "resources": { - "type": "object", - "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "description": "CPU and memory resources to reserve for the Cruise Control container.", - "additionalProperties": false - }, - "livenessProbe": { - "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod liveness checking for the Cruise Control container.", - "additionalProperties": false - }, - "readinessProbe": { - "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod readiness checking for the Cruise Control container.", - "additionalProperties": false - }, - "jvmOptions": { - "type": "object", - "properties": { - "-XX": { - "x-kubernetes-preserve-unknown-fields": true, + "externalBootstrapRoute": { + "description": "Template for Kafka external bootstrap `Route`.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, "type": "object", - "description": "A map of -XX options to the JVM." - }, - "-Xms": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xms option to to the JVM." - }, - "-Xmx": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xmx option to to the JVM." - }, - "gcLoggingEnabled": { - "type": "boolean", - "description": "Specifies whether the Garbage Collection logging is enabled. The default is false." + "additionalProperties": false }, - "javaSystemProperties": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The system property name." + "externalBootstrapService": { + "description": "Template for Kafka external bootstrap `Service`.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } }, - "value": { - "type": "string", - "description": "The system property value." - } - }, - "additionalProperties": false + "type": "object", + "additionalProperties": false + } }, - "description": "A map of additional system properties which will be passed using the `-D` option to the JVM." - } - }, - "description": "JVM Options for the Cruise Control container.", - "additionalProperties": false - }, - "logging": { - "type": "object", - "properties": { - "loggers": { - "x-kubernetes-preserve-unknown-fields": true, "type": "object", - "description": "A Map from logger name to logger level." - }, - "type": { - "type": "string", - "enum": [ - "inline", - "external" - ], - "description": "Logging type, must be either 'inline' or 'external'." + "additionalProperties": false }, - "valueFrom": { - "type": "object", + "initContainer": { + "description": "Template for the Kafka init container.", "properties": { - "configMapKeyRef": { - "type": "object", + "env": { + "description": "Environment variables which should be applied to the container.", + "items": { + "properties": { + "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "securityContext": { + "description": "Security context for the container.", "properties": { - "key": { - "type": "string" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "name": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, - "optional": { + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { "type": "boolean" + }, + "runAsUser": { + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false } }, - "description": "Reference to the key in the ConfigMap containing the configuration.", + "type": "object", "additionalProperties": false } }, - "description": "`ConfigMap` entry where the logging configuration is stored. ", - "additionalProperties": false - } - }, - "required": [ - "type" - ], - "description": "Logging configuration (Log4j 2) for Cruise Control.", - "additionalProperties": false - }, - "template": { - "type": "object", - "properties": { - "deployment": { "type": "object", + "additionalProperties": false + }, + "jmxSecret": { + "description": "Template for Secret of the Kafka Cluster JMX authentication.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for Cruise Control `Deployment`.", + "type": "object", "additionalProperties": false }, - "pod": { - "type": "object", + "kafkaContainer": { + "description": "Template for the Kafka broker container.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "imagePullSecrets": { - "type": "array", + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -5986,7 +5832,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -6001,10 +5846,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -6013,31 +5858,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -6052,35 +5876,128 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, + } + }, + "type": "object", + "additionalProperties": false + }, + "perPodIngress": { + "description": "Template for Kafka per-pod `Ingress` used for access from outside of Kubernetes.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "perPodRoute": { + "description": "Template for Kafka per-pod `Routes` used for access from outside of OpenShift.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "perPodService": { + "description": "Template for Kafka per-pod `Services` used for access from outside of Kubernetes.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "persistentVolumeClaim": { + "description": "Template for all Kafka `PersistentVolumeClaims`.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "pod": { + "description": "Template for Kafka `Pods`.", + "properties": { "affinity": { - "type": "object", + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6089,19 +6006,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6110,37 +6027,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6149,19 +6066,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6170,43 +6087,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6215,29 +6131,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6246,53 +6162,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6301,29 +6218,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6332,56 +6249,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6390,29 +6306,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6421,53 +6337,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6476,29 +6393,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -6507,284 +6424,118 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, - "description": "The pod's affinity rules.", + "type": "object", "additionalProperties": false }, - "tolerations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - }, - "description": "The pod's tolerations." - }, - "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." - }, - "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" }, "hostAliases": { - "type": "array", + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { "hostnames": { - "type": "array", "items": { "type": "string" - } - }, - "ip": { - "type": "string" - } - }, - "additionalProperties": false - }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." - }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." - }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." - }, - "topologySpreadConstraints": { - "type": "array", - "items": { - "type": "object", - "properties": { - "labelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } }, - "additionalProperties": false - }, - "maxSkew": { - "type": "integer" + "type": "array" }, - "topologyKey": { - "type": "string" - }, - "whenUnsatisfiable": { + "ip": { "type": "string" - } - }, - "additionalProperties": false - }, - "description": "The pod's topology spread constraints." - } - }, - "description": "Template for Cruise Control `Pods`.", - "additionalProperties": false - }, - "apiService": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "ipFamilyPolicy": { - "type": "string", - "enum": [ - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer." - }, - "ipFamilies": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - }, - "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer." - } - }, - "description": "Template for Cruise Control API `Service`.", - "additionalProperties": false - }, - "podDisruptionBudget": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } + } + }, + "type": "object", + "additionalProperties": false }, - "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", - "additionalProperties": false + "type": "array" }, - "maxUnavailable": { - "type": "integer", - "minimum": 0, - "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1." - } - }, - "description": "Template for Cruise Control `PodDisruptionBudget`.", - "additionalProperties": false - }, - "cruiseControlContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", "items": { - "type": "object", "properties": { "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "Environment variables which should be applied to the container." + "type": "array" }, - "securityContext": { - "type": "object", + "metadata": { + "description": "Metadata applied to the resource.", "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true }, - "privileged": { - "type": "boolean" + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "priorityClassName": { + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" + }, + "schedulerName": { + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" + }, + "securityContext": { + "description": "Configures pod-level security attributes and common container settings.", + "properties": { + "fsGroup": { + "type": "integer" }, - "procMount": { + "fsGroupChangePolicy": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, "runAsGroup": { "type": "integer" }, @@ -6795,7 +6546,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -6810,10 +6560,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -6822,10 +6572,31 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -6840,410 +6611,398 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false - } - }, - "description": "Template for the Cruise Control container.", - "additionalProperties": false - }, - "tlsSidecarContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", "items": { - "type": "object", "properties": { - "name": { - "type": "string", - "description": "The environment variable key." + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" }, "value": { - "type": "string", - "description": "The environment variable value." + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "Environment variables which should be applied to the container." + "type": "array" }, - "securityContext": { - "type": "object", - "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" + "topologySpreadConstraints": { + "description": "The pod's topology spread constraints.", + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } + "type": "object", + "additionalProperties": false }, - "additionalProperties": false - }, - "privileged": { - "type": "boolean" - }, - "procMount": { - "type": "string" - }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, - "runAsGroup": { - "type": "integer" - }, - "runAsNonRoot": { - "type": "boolean" - }, - "runAsUser": { - "type": "integer" - }, - "seLinuxOptions": { - "type": "object", - "properties": { - "level": { - "type": "string" - }, - "role": { - "type": "string" - }, - "type": { + "matchLabelKeys": { + "items": { "type": "string" }, - "user": { - "type": "string" - } + "type": "array" }, - "additionalProperties": false + "maxSkew": { + "type": "integer" + }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } }, - "seccompProfile": { + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "podDisruptionBudget": { + "description": "Template for Kafka `PodDisruptionBudget`.", + "properties": { + "maxUnavailable": { + "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1.", + "minimum": 0, + "type": "integer" + }, + "metadata": { + "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "podSet": { + "description": "Template for Kafka `StrimziPodSet` resource.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "localhostProfile": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true }, - "windowsOptions": { + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { - "type": "string" - }, - "hostProcess": { - "type": "boolean" - }, - "runAsUserName": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Cruise Control TLS sidecar container.", + "type": "object", "additionalProperties": false }, "serviceAccount": { - "type": "object", + "description": "Template for the Kafka service account.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Cruise Control service account.", + "type": "object", "additionalProperties": false - } - }, - "description": "Template to specify how Cruise Control resources, `Deployments` and `Pods`, are generated.", - "additionalProperties": false - }, - "brokerCapacity": { - "type": "object", - "properties": { - "disk": { - "type": "string", - "pattern": "^[0-9]+([.][0-9]*)?([KMGTPE]i?|e[0-9]+)?$", - "description": "Broker capacity for disk in bytes. Use a number value with either standard Kubernetes byte units (K, M, G, or T), their bibyte (power of two) equivalents (Ki, Mi, Gi, or Ti), or a byte value with or without E notation. For example, 100000M, 100000Mi, 104857600000, or 1e+11." - }, - "cpuUtilization": { - "type": "integer", - "minimum": 0, - "maximum": 100, - "description": "Broker capacity for CPU resource utilization as a percentage (0 - 100)." }, - "inboundNetwork": { - "type": "string", - "pattern": "^[0-9]+([KMG]i?)?B/s$", - "description": "Broker capacity for inbound network throughput in bytes per second. Use an integer value with standard Kubernetes byte units (K, M, G) or their bibyte (power of two) equivalents (Ki, Mi, Gi) per second. For example, 10000KiB/s." - }, - "outboundNetwork": { - "type": "string", - "pattern": "^[0-9]+([KMG]i?)?B/s$", - "description": "Broker capacity for outbound network throughput in bytes per second. Use an integer value with standard Kubernetes byte units (K, M, G) or their bibyte (power of two) equivalents (Ki, Mi, Gi) per second. For example, 10000KiB/s." - } - }, - "description": "The Cruise Control `brokerCapacity` configuration.", - "additionalProperties": false - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "The Cruise Control configuration. For a full list of configuration options refer to https://github.com/linkedin/cruise-control/wiki/Configurations. Note that properties with the following prefixes cannot be set: bootstrap.servers, client.id, zookeeper., network., security., failed.brokers.zk.path,webserver.http., webserver.api.urlprefix, webserver.session.path, webserver.accesslog., two.step., request.reason.required,metric.reporter.sampler.bootstrap.servers, capacity.config.file, self.healing., ssl., kafka.broker.failure.detection.enable, topic.config.provider.class (with the exception of: ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols, webserver.http.cors.enabled, webserver.http.cors.origin, webserver.http.cors.exposeheaders, webserver.security.enable, webserver.ssl.enable)." - }, - "metricsConfig": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "jmxPrometheusExporter" - ], - "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently." - }, - "valueFrom": { - "type": "object", + "statefulset": { + "description": "Template for Kafka `StatefulSet`.", "properties": { - "configMapKeyRef": { - "type": "object", + "metadata": { + "description": "Metadata applied to the resource.", "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, - "optional": { - "type": "boolean" + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Reference to the key in the ConfigMap containing the configuration.", + "type": "object", "additionalProperties": false + }, + "podManagementPolicy": { + "description": "PodManagementPolicy which will be used for this StatefulSet. Valid values are `Parallel` and `OrderedReady`. Defaults to `Parallel`.", + "enum": [ + "OrderedReady", + "Parallel" + ], + "type": "string" } }, - "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", + "type": "object", "additionalProperties": false } }, - "required": [ - "type", - "valueFrom" - ], - "description": "Metrics configuration.", + "type": "object", "additionalProperties": false + }, + "version": { + "description": "The kafka broker version. Defaults to {DefaultKafkaVersion}. Consult the user documentation to understand the process required to upgrade or downgrade the version.", + "type": "string" } }, - "description": "Configuration for Cruise Control deployment. Deploys a Cruise Control instance when specified.", + "required": [ + "replicas", + "listeners", + "storage" + ], + "type": "object", "additionalProperties": false }, - "jmxTrans": { - "type": "object", + "kafkaExporter": { + "description": "Configuration of the Kafka Exporter. Kafka Exporter can provide additional metrics, for example lag of consumer group at topic/partition.", "properties": { - "image": { - "type": "string", - "description": "The image to use for the JmxTrans." + "enableSaramaLogging": { + "description": "Enable Sarama logging, a Go client library used by the Kafka Exporter.", + "type": "boolean" }, - "outputDefinitions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "outputType": { - "type": "string", - "description": "Template for setting the format of the data that will be pushed.For more information see https://github.com/jmxtrans/jmxtrans/wiki/OutputWriters[JmxTrans OutputWriters]." - }, - "host": { - "type": "string", - "description": "The DNS/hostname of the remote host that the data is pushed to." - }, - "port": { - "type": "integer", - "description": "The port of the remote host that the data is pushed to." - }, - "flushDelayInSeconds": { - "type": "integer", - "description": "How many seconds the JmxTrans waits before pushing a new set of data out." - }, - "typeNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Template for filtering data to be included in response to a wildcard query. For more information see https://github.com/jmxtrans/jmxtrans/wiki/Queries[JmxTrans queries]." - }, - "name": { - "type": "string", - "description": "Template for setting the name of the output definition. This is used to identify where to send the results of queries should be sent." - } - }, - "required": [ - "outputType", - "name" - ], - "additionalProperties": false - }, - "description": "Defines the output hosts that will be referenced later on. For more information on these properties see, xref:type-JmxTransOutputDefinitionTemplate-reference[`JmxTransOutputDefinitionTemplate` schema reference]." + "groupRegex": { + "description": "Regular expression to specify which consumer groups to collect. Default value is `.*`.", + "type": "string" }, - "logLevel": { - "type": "string", - "description": "Sets the logging level of the JmxTrans deployment.For more information see, https://github.com/jmxtrans/jmxtrans-agent/wiki/Troubleshooting[JmxTrans Logging Level]." + "image": { + "description": "The docker image for the pods.", + "type": "string" }, - "kafkaQueries": { - "type": "array", - "items": { - "type": "object", - "properties": { - "targetMBean": { - "type": "string", - "description": "If using wildcards instead of a specific MBean then the data is gathered from multiple MBeans. Otherwise if specifying an MBean then data is gathered from that specified MBean." - }, - "attributes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Determine which attributes of the targeted MBean should be included." - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of the names of output definitions specified in the spec.kafka.jmxTrans.outputDefinitions that have defined where JMX metrics are pushed to, and in which data format." - } + "livenessProbe": { + "description": "Pod liveness check.", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "required": [ - "targetMBean", - "attributes", - "outputs" - ], - "additionalProperties": false + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } }, - "description": "Queries to send to the Kafka brokers to define what data should be read from each broker. For more information on these properties see, xref:type-JmxTransQueryTemplate-reference[`JmxTransQueryTemplate` schema reference]." - }, - "resources": { "type": "object", + "additionalProperties": false + }, + "logging": { + "description": "Only log messages with the given severity or above. Valid levels: [`info`, `debug`, `trace`]. Default log level is `info`.", + "type": "string" + }, + "readinessProbe": { + "description": "Pod readiness check.", "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" } }, - "description": "CPU and memory resources to reserve.", + "type": "object", "additionalProperties": false }, - "template": { - "type": "object", + "resources": { + "description": "CPU and memory resources to reserve.", "properties": { - "deployment": { + "limits": { "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for JmxTrans `Deployment`.", - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true }, - "pod": { + "requests": { "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "template": { + "description": "Customization of deployment templates and pods.", + "properties": { + "container": { + "description": "Template for the Kafka Exporter container.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "imagePullSecrets": { - "type": "array", + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -7254,7 +7013,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -7269,10 +7027,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -7281,31 +7039,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -7320,35 +7057,64 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "deployment": { + "description": "Template for Kafka Exporter `Deployment`.", + "properties": { + "deploymentStrategy": { + "description": "Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`.", + "enum": [ + "RollingUpdate", + "Recreate" + ], + "type": "string" }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, - "affinity": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "pod": { + "description": "Template for Kafka Exporter `Pods`.", + "properties": { + "affinity": { + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7357,19 +7123,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7378,37 +7144,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7417,19 +7183,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7438,43 +7204,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7483,29 +7248,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7514,53 +7279,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7569,29 +7335,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7600,56 +7366,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7658,29 +7423,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7689,53 +7454,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7744,29 +7510,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -7775,211 +7541,118 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" - } - }, - "additionalProperties": false - } - } - }, - "additionalProperties": false - } - }, - "description": "The pod's affinity rules.", - "additionalProperties": false - }, - "tolerations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } }, - "value": { - "type": "string" - } - }, - "additionalProperties": false + "type": "object", + "additionalProperties": false + } }, - "description": "The pod's tolerations." - }, - "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." + "type": "object", + "additionalProperties": false }, - "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" }, "hostAliases": { - "type": "array", + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { "hostnames": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "ip": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." + "type": "array" }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." - }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." - }, - "topologySpreadConstraints": { - "type": "array", + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", "items": { - "type": "object", "properties": { - "labelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "additionalProperties": false - }, - "maxSkew": { - "type": "integer" - }, - "topologyKey": { - "type": "string" - }, - "whenUnsatisfiable": { + "name": { "type": "string" } }, - "additionalProperties": false - }, - "description": "The pod's topology spread constraints." - } - }, - "description": "Template for JmxTrans `Pods`.", - "additionalProperties": false - }, - "container": { - "type": "object", - "properties": { - "env": { - "type": "array", - "items": { "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, "additionalProperties": false }, - "description": "Environment variables which should be applied to the container." + "type": "array" }, - "securityContext": { - "type": "object", + "metadata": { + "description": "Metadata applied to the resource.", "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true }, - "privileged": { - "type": "boolean" + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "priorityClassName": { + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" + }, + "schedulerName": { + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" + }, + "securityContext": { + "description": "Configures pod-level security attributes and common container settings.", + "properties": { + "fsGroup": { + "type": "integer" }, - "procMount": { + "fsGroupChangePolicy": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, "runAsGroup": { "type": "integer" }, @@ -7990,7 +7663,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -8005,10 +7677,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -8017,282 +7689,691 @@ "type": "string" } }, - "additionalProperties": false + "type": "object", + "additionalProperties": false + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "topologySpreadConstraints": { + "description": "The pod's topology spread constraints.", + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "maxSkew": { + "type": "integer" + }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } }, - "windowsOptions": { + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "service": { + "description": "Template for Kafka Exporter `Service`.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { - "type": "string" - }, - "hostProcess": { - "type": "boolean" - }, - "runAsUserName": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false } }, - "description": "Template for JmxTrans container.", + "type": "object", "additionalProperties": false }, "serviceAccount": { - "type": "object", + "description": "Template for the Kafka Exporter service account.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the JMX Trans service account.", + "type": "object", "additionalProperties": false } }, - "description": "Template for JmxTrans resources.", + "type": "object", "additionalProperties": false + }, + "topicRegex": { + "description": "Regular expression to specify which topics to collect. Default value is `.*`.", + "type": "string" } }, - "required": [ - "outputDefinitions", - "kafkaQueries" - ], - "description": "Configuration for JmxTrans. When the property is present a JmxTrans deployment is created for gathering JMX metrics from each Kafka broker. For more information see https://github.com/jmxtrans/jmxtrans[JmxTrans GitHub].", + "type": "object", "additionalProperties": false }, - "kafkaExporter": { - "type": "object", + "maintenanceTimeWindows": { + "description": "A list of time windows for maintenance tasks (that is, certificates renewal). Each time window is defined by a cron expression.", + "items": { + "type": "string" + }, + "type": "array" + }, + "zookeeper": { + "description": "Configuration of the ZooKeeper cluster.", "properties": { + "config": { + "description": "The ZooKeeper broker config. Properties with the following prefixes cannot be set: server., dataDir, dataLogDir, clientPort, authProvider, quorum.auth, requireClientAuthScheme, snapshot.trust.empty, standaloneEnabled, reconfigEnabled, 4lw.commands.whitelist, secureClientPort, ssl., serverCnxnFactory, sslQuorum (with the exception of: ssl.protocol, ssl.quorum.protocol, ssl.enabledProtocols, ssl.quorum.enabledProtocols, ssl.ciphersuites, ssl.quorum.ciphersuites, ssl.hostnameVerification, ssl.quorum.hostnameVerification).", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, "image": { - "type": "string", - "description": "The docker image for the pods." + "description": "The docker image for the pods.", + "type": "string" }, - "groupRegex": { - "type": "string", - "description": "Regular expression to specify which consumer groups to collect. Default value is `.*`." + "jmxOptions": { + "description": "JMX Options for Zookeeper nodes.", + "properties": { + "authentication": { + "description": "Authentication configuration for connecting to the JMX port.", + "properties": { + "type": { + "description": "Authentication type. Currently the only supported types are `password`.`password` type creates a username and protected port with no TLS.", + "enum": [ + "password" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "jvmOptions": { + "description": "JVM Options for pods.", + "properties": { + "-XX": { + "description": "A map of -XX options to the JVM.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "-Xms": { + "description": "-Xms option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "-Xmx": { + "description": "-Xmx option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "gcLoggingEnabled": { + "description": "Specifies whether the Garbage Collection logging is enabled. The default is false.", + "type": "boolean" + }, + "javaSystemProperties": { + "description": "A map of additional system properties which will be passed using the `-D` option to the JVM.", + "items": { + "properties": { + "name": { + "description": "The system property name.", + "type": "string" + }, + "value": { + "description": "The system property value.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "livenessProbe": { + "description": "Pod liveness checking.", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "logging": { + "description": "Logging configuration for ZooKeeper.", + "properties": { + "loggers": { + "description": "A Map from logger name to logger level.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "type": { + "description": "Logging type, must be either 'inline' or 'external'.", + "enum": [ + "inline", + "external" + ], + "type": "string" + }, + "valueFrom": { + "description": "`ConfigMap` entry where the logging configuration is stored. ", + "properties": { + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "metricsConfig": { + "description": "Metrics configuration.", + "properties": { + "type": { + "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently.", + "enum": [ + "jmxPrometheusExporter" + ], + "type": "string" + }, + "valueFrom": { + "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", + "properties": { + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "type", + "valueFrom" + ], + "type": "object", + "additionalProperties": false + }, + "readinessProbe": { + "description": "Pod readiness checking.", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false }, - "topicRegex": { - "type": "string", - "description": "Regular expression to specify which topics to collect. Default value is `.*`." + "replicas": { + "description": "The number of pods in the cluster.", + "minimum": 1, + "type": "integer" }, "resources": { - "type": "object", + "description": "CPU and memory resources to reserve.", "properties": { "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "CPU and memory resources to reserve.", + "type": "object", "additionalProperties": false }, - "logging": { - "type": "string", - "description": "Only log messages with the given severity or above. Valid levels: [`info`, `debug`, `trace`]. Default log level is `info`." - }, - "enableSaramaLogging": { - "type": "boolean", - "description": "Enable Sarama logging, a Go client library used by the Kafka Exporter." + "storage": { + "description": "Storage configuration (disk). Cannot be updated.", + "properties": { + "class": { + "description": "The storage class to use for dynamic volume allocation.", + "type": "string" + }, + "deleteClaim": { + "description": "Specifies if the persistent volume claim has to be deleted when the cluster is un-deployed.", + "type": "boolean" + }, + "id": { + "description": "Storage identification number. It is mandatory only for storage volumes defined in a storage of type 'jbod'.", + "minimum": 0, + "type": "integer" + }, + "overrides": { + "description": "Overrides for individual brokers. The `overrides` field allows to specify a different configuration for different brokers.", + "items": { + "properties": { + "broker": { + "description": "Id of the kafka broker (broker identifier).", + "type": "integer" + }, + "class": { + "description": "The storage class to use for dynamic volume allocation for this broker.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "selector": { + "description": "Specifies a specific persistent volume to use. It contains key:value pairs representing labels for selecting such a volume.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "size": { + "description": "When type=persistent-claim, defines the size of the persistent volume claim (i.e 1Gi). Mandatory when type=persistent-claim.", + "type": "string" + }, + "sizeLimit": { + "description": "When type=ephemeral, defines the total amount of local storage required for this EmptyDir volume (for example 1Gi).", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "type": { + "description": "Storage type, must be either 'ephemeral' or 'persistent-claim'.", + "enum": [ + "ephemeral", + "persistent-claim" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false }, "template": { - "type": "object", + "description": "Template for ZooKeeper cluster resources. The template allows users to specify how the `StatefulSet`, `Pods`, and `Services` are generated.", "properties": { - "deployment": { - "type": "object", + "clientService": { + "description": "Template for ZooKeeper client `Service`.", "properties": { + "ipFamilies": { + "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer.", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "ipFamilyPolicy": { + "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer.", + "enum": [ + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ], + "type": "string" + }, "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for Kafka Exporter `Deployment`.", + "type": "object", "additionalProperties": false }, - "pod": { - "type": "object", + "jmxSecret": { + "description": "Template for Secret of the Zookeeper Cluster JMX authentication.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false - }, - "imagePullSecrets": { - "type": "array", + } + }, + "type": "object", + "additionalProperties": false + }, + "nodesService": { + "description": "Template for ZooKeeper nodes `Service`.", + "properties": { + "ipFamilies": { + "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer.", "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "additionalProperties": false + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, - "securityContext": { - "type": "object", + "ipFamilyPolicy": { + "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer.", + "enum": [ + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ], + "type": "string" + }, + "metadata": { + "description": "Metadata applied to the resource.", "properties": { - "fsGroup": { - "type": "integer" - }, - "fsGroupChangePolicy": { - "type": "string" - }, - "runAsGroup": { - "type": "integer" - }, - "runAsNonRoot": { - "type": "boolean" - }, - "runAsUser": { - "type": "integer" - }, - "seLinuxOptions": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "level": { - "type": "string" - }, - "role": { - "type": "string" - }, - "type": { - "type": "string" - }, - "user": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true }, - "seccompProfile": { + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "localhostProfile": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false - }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "persistentVolumeClaim": { + "description": "Template for all ZooKeeper `PersistentVolumeClaims`.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, - "windowsOptions": { + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { - "type": "string" - }, - "hostProcess": { - "type": "boolean" - }, - "runAsUserName": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, + } + }, + "type": "object", + "additionalProperties": false + }, + "pod": { + "description": "Template for ZooKeeper `Pods`.", + "properties": { "affinity": { - "type": "object", + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8301,19 +8382,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8322,37 +8403,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8361,19 +8442,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8382,43 +8463,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8427,29 +8507,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8458,53 +8538,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8513,29 +8594,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8544,56 +8625,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8602,29 +8682,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8633,53 +8713,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8688,29 +8769,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8719,115 +8800,243 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, - "description": "The pod's affinity rules.", + "type": "object", "additionalProperties": false }, - "tolerations": { - "type": "array", + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" + }, + "hostAliases": { + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" }, - "operator": { + "ip": { "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", + "items": { + "properties": { + "name": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's tolerations." + "type": "array" + }, + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false }, "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" }, "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" }, - "hostAliases": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostnames": { - "type": "array", - "items": { + "securityContext": { + "description": "Configures pod-level security attributes and common container settings.", + "properties": { + "fsGroup": { + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { "type": "string" } }, - "ip": { + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." - }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." - }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." + "type": "array" }, "topologySpreadConstraints": { - "type": "array", + "description": "The pod's topology spread constraints.", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -8836,25 +9045,43 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, "maxSkew": { "type": "integer" }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, "topologyKey": { "type": "string" }, @@ -8862,81 +9089,167 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's topology spread constraints." + "type": "array" } }, - "description": "Template for Kafka Exporter `Pods`.", + "type": "object", "additionalProperties": false }, - "service": { - "type": "object", + "podDisruptionBudget": { + "description": "Template for ZooKeeper `PodDisruptionBudget`.", "properties": { + "maxUnavailable": { + "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1.", + "minimum": 0, + "type": "integer" + }, "metadata": { - "type": "object", + "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "podSet": { + "description": "Template for ZooKeeper `StrimziPodSet` resource.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "serviceAccount": { + "description": "Template for the ZooKeeper service account.", + "properties": { + "metadata": { "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", "additionalProperties": false } }, - "description": "Template for Kafka Exporter `Service`.", + "type": "object", "additionalProperties": false }, - "container": { + "statefulset": { + "description": "Template for ZooKeeper `StatefulSet`.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "podManagementPolicy": { + "description": "PodManagementPolicy which will be used for this StatefulSet. Valid values are `Parallel` and `OrderedReady`. Defaults to `Parallel`.", + "enum": [ + "OrderedReady", + "Parallel" + ], + "type": "string" + } + }, "type": "object", + "additionalProperties": false + }, + "zookeeperContainer": { + "description": "Template for the ZooKeeper container.", "properties": { "env": { - "type": "array", + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { - "type": "string", - "description": "The environment variable key." + "description": "The environment variable key.", + "type": "string" }, "value": { - "type": "string", - "description": "The environment variable value." + "description": "The environment variable value.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "Environment variables which should be applied to the container." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { "allowPrivilegeEscalation": { "type": "boolean" }, "capabilities": { - "type": "object", "properties": { "add": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "drop": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "privileged": { @@ -8958,7 +9271,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -8973,10 +9285,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -8985,10 +9297,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -9003,218 +9315,129 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", - "additionalProperties": false - } - }, - "description": "Template for the Kafka Exporter container.", - "additionalProperties": false - }, - "serviceAccount": { - "type": "object", - "properties": { - "metadata": { "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", "additionalProperties": false } }, - "description": "Template for the Kafka Exporter service account.", + "type": "object", "additionalProperties": false } }, - "description": "Customization of deployment templates and pods.", - "additionalProperties": false - }, - "livenessProbe": { - "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod liveness check.", - "additionalProperties": false - }, - "readinessProbe": { "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod readiness check.", "additionalProperties": false } }, - "description": "Configuration of the Kafka Exporter. Kafka Exporter can provide additional metrics, for example lag of consumer group at topic/partition.", + "required": [ + "replicas", + "storage" + ], + "type": "object", "additionalProperties": false - }, - "maintenanceTimeWindows": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of time windows for maintenance tasks (that is, certificates renewal). Each time window is defined by a cron expression." } }, "required": [ "kafka", "zookeeper" ], - "description": "The specification of the Kafka and ZooKeeper clusters, and Topic Operator.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the Kafka and ZooKeeper clusters, and Topic Operator.", "properties": { + "clusterId": { + "description": "Kafka cluster Id.", + "type": "string" + }, "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." - }, - "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." + "type": "array" }, "listeners": { - "type": "array", + "description": "Addresses of the internal and external listeners.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "*The `type` property has been deprecated, and should now be configured using `name`.* The name of the listener." - }, - "name": { - "type": "string", - "description": "The name of the listener." - }, "addresses": { - "type": "array", + "description": "A list of the addresses for this listener.", "items": { - "type": "object", "properties": { "host": { - "type": "string", - "description": "The DNS name or IP address of the Kafka bootstrap service." + "description": "The DNS name or IP address of the Kafka bootstrap service.", + "type": "string" }, "port": { - "type": "integer", - "description": "The port of the Kafka bootstrap service." + "description": "The port of the Kafka bootstrap service.", + "type": "integer" } }, + "type": "object", "additionalProperties": false }, - "description": "A list of the addresses for this listener." + "type": "array" }, "bootstrapServers": { - "type": "string", - "description": "A comma-separated list of `host:port` pairs for connecting to the Kafka cluster using this listener." + "description": "A comma-separated list of `host:port` pairs for connecting to the Kafka cluster using this listener.", + "type": "string" }, "certificates": { - "type": "array", + "description": "A list of TLS certificates which can be used to verify the identity of the server when connecting to the given listener. Set only for `tls` and `external` listeners.", "items": { "type": "string" }, - "description": "A list of TLS certificates which can be used to verify the identity of the server when connecting to the given listener. Set only for `tls` and `external` listeners." + "type": "array" + }, + "name": { + "description": "The name of the listener.", + "type": "string" + }, + "type": { + "description": "*The `type` property has been deprecated, and should now be configured using `name`.* The name of the listener.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "Addresses of the internal and external listeners." + "type": "array" }, - "clusterId": { - "type": "string", - "description": "Kafka cluster Id." + "observedGeneration": { + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" } }, - "description": "The status of the Kafka and ZooKeeper clusters, and Topic Operator.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkabridge_v1beta2.json b/kafka.strimzi.io/kafkabridge_v1beta2.json index e401b19d..9e4a8672 100644 --- a/kafka.strimzi.io/kafkabridge_v1beta2.json +++ b/kafka.strimzi.io/kafkabridge_v1beta2.json @@ -1,95 +1,64 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the Kafka Bridge.", "properties": { - "replicas": { - "type": "integer", - "minimum": 0, - "description": "The number of pods in the `Deployment`." - }, - "image": { - "type": "string", - "description": "The docker image for the pods." - }, - "bootstrapServers": { - "type": "string", - "description": "A list of host:port pairs for establishing the initial connection to the Kafka cluster." - }, - "tls": { - "type": "object", + "adminClient": { + "description": "Kafka AdminClient related configuration.", "properties": { - "trustedCertificates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." - }, - "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." - } - }, - "required": [ - "certificate", - "secretName" - ], - "additionalProperties": false - }, - "description": "Trusted certificates for TLS connection." + "config": { + "description": "The Kafka AdminClient configuration used for AdminClient instances created by the bridge.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "TLS configuration for connecting Kafka Bridge to the cluster.", + "type": "object", "additionalProperties": false }, "authentication": { - "type": "object", + "description": "Authentication configuration for connecting to the cluster.", "properties": { "accessToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", + "type": "object", "additionalProperties": false }, "accessTokenIsJwt": { - "type": "boolean", - "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`." + "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`.", + "type": "boolean" }, "audience": { - "type": "string", - "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request." + "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request.", + "type": "string" }, "certificateAndKey": { - "type": "object", + "description": "Reference to the `Secret` which holds the certificate and private key pair.", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "key": { - "type": "string", - "description": "The name of the private key in the Secret." + "description": "The name of the private key in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ @@ -97,118 +66,122 @@ "key", "secretName" ], - "description": "Reference to the `Secret` which holds the certificate and private key pair.", + "type": "object", "additionalProperties": false }, "clientId": { - "type": "string", - "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI." + "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "string" }, "clientSecret": { - "type": "object", + "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "object", "additionalProperties": false }, "connectTimeoutSeconds": { - "type": "integer", - "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds." + "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds.", + "type": "integer" }, "disableTlsHostnameVerification": { - "type": "boolean", - "description": "Enable or disable TLS hostname verification. Default value is `false`." + "description": "Enable or disable TLS hostname verification. Default value is `false`.", + "type": "boolean" + }, + "enableMetrics": { + "description": "Enable or disable OAuth metrics. Default value is `false`.", + "type": "boolean" }, "maxTokenExpirySeconds": { - "type": "integer", - "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens." + "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens.", + "type": "integer" }, "passwordSecret": { - "type": "object", + "description": "Reference to the `Secret` which holds the password.", "properties": { "password": { - "type": "string", - "description": "The name of the key in the Secret under which the password is stored." + "description": "The name of the key in the Secret under which the password is stored.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the password." + "description": "The name of the Secret containing the password.", + "type": "string" } }, "required": [ "password", "secretName" ], - "description": "Reference to the `Secret` which holds the password.", + "type": "object", "additionalProperties": false }, "readTimeoutSeconds": { - "type": "integer", - "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds." + "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds.", + "type": "integer" }, "refreshToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", + "type": "object", "additionalProperties": false }, "scope": { - "type": "string", - "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request." + "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request.", + "type": "string" }, "tlsTrustedCertificates": { - "type": "array", + "description": "Trusted certificates for TLS connection to the OAuth server.", "items": { - "type": "object", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ "certificate", "secretName" ], + "type": "object", "additionalProperties": false }, - "description": "Trusted certificates for TLS connection to the OAuth server." + "type": "array" }, "tokenEndpointUri": { - "type": "string", - "description": "Authorization server token endpoint URI." + "description": "Authorization server token endpoint URI.", + "type": "string" }, "type": { - "type": "string", + "description": "Authentication type. Currently the supported types are `tls`, `scram-sha-256`, `scram-sha-512`, `plain`, and 'oauth'. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections.", "enum": [ "tls", "scram-sha-256", @@ -216,172 +189,181 @@ "plain", "oauth" ], - "description": "Authentication type. Currently the only supported types are `tls`, `scram-sha-256`, `scram-sha-512`, and `plain`. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections." + "type": "string" }, "username": { - "type": "string", - "description": "Username used for the authentication." + "description": "Username used for the authentication.", + "type": "string" } }, "required": [ "type" ], - "description": "Authentication configuration for connecting to the cluster.", + "type": "object", "additionalProperties": false }, - "http": { + "bootstrapServers": { + "description": "A list of host:port pairs for establishing the initial connection to the Kafka cluster.", + "type": "string" + }, + "clientRackInitImage": { + "description": "The image of the init container used for initializing the `client.rack`.", + "type": "string" + }, + "consumer": { + "description": "Kafka consumer related configuration.", + "properties": { + "config": { + "description": "The Kafka consumer configuration used for consumer instances created by the bridge. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, group.id, sasl., security. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols).", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, "type": "object", + "additionalProperties": false + }, + "enableMetrics": { + "description": "Enable the metrics for the Kafka Bridge. Default is false.", + "type": "boolean" + }, + "http": { + "description": "The HTTP related configuration.", "properties": { - "port": { - "type": "integer", - "minimum": 1023, - "description": "The port which is the server listening on." - }, "cors": { - "type": "object", + "description": "CORS configuration for the HTTP Bridge.", "properties": { - "allowedOrigins": { - "type": "array", + "allowedMethods": { + "description": "List of allowed HTTP methods.", "items": { "type": "string" }, - "description": "List of allowed origins. Java regular expressions can be used." + "type": "array" }, - "allowedMethods": { - "type": "array", + "allowedOrigins": { + "description": "List of allowed origins. Java regular expressions can be used.", "items": { "type": "string" }, - "description": "List of allowed HTTP methods." + "type": "array" } }, "required": [ "allowedOrigins", "allowedMethods" ], - "description": "CORS configuration for the HTTP Bridge.", - "additionalProperties": false - } - }, - "description": "The HTTP related configuration.", - "additionalProperties": false - }, - "adminClient": { - "type": "object", - "properties": { - "config": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "The Kafka AdminClient configuration used for AdminClient instances created by the bridge." - } - }, - "description": "Kafka AdminClient related configuration.", - "additionalProperties": false - }, - "consumer": { - "type": "object", - "properties": { - "config": { - "x-kubernetes-preserve-unknown-fields": true, "type": "object", - "description": "The Kafka consumer configuration used for consumer instances created by the bridge. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, group.id, sasl., security. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)." + "additionalProperties": false + }, + "port": { + "description": "The port which is the server listening on.", + "minimum": 1023, + "type": "integer" } }, - "description": "Kafka consumer related configuration.", - "additionalProperties": false - }, - "producer": { "type": "object", - "properties": { - "config": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "The Kafka producer configuration used for producer instances created by the bridge. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, sasl., security. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)." - } - }, - "description": "Kafka producer related configuration.", "additionalProperties": false }, - "resources": { - "type": "object", - "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "description": "CPU and memory resources to reserve.", - "additionalProperties": false + "image": { + "description": "The docker image for the pods.", + "type": "string" }, "jvmOptions": { - "type": "object", + "description": "**Currently not supported** JVM Options for pods.", "properties": { "-XX": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "A map of -XX options to the JVM.", "type": "object", - "description": "A map of -XX options to the JVM." + "x-kubernetes-preserve-unknown-fields": true }, "-Xms": { - "type": "string", + "description": "-Xms option to to the JVM.", "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xms option to to the JVM." + "type": "string" }, "-Xmx": { - "type": "string", + "description": "-Xmx option to to the JVM.", "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xmx option to to the JVM." + "type": "string" }, "gcLoggingEnabled": { - "type": "boolean", - "description": "Specifies whether the Garbage Collection logging is enabled. The default is false." + "description": "Specifies whether the Garbage Collection logging is enabled. The default is false.", + "type": "boolean" }, "javaSystemProperties": { - "type": "array", + "description": "A map of additional system properties which will be passed using the `-D` option to the JVM.", "items": { - "type": "object", "properties": { "name": { - "type": "string", - "description": "The system property name." + "description": "The system property name.", + "type": "string" }, "value": { - "type": "string", - "description": "The system property value." + "description": "The system property value.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "A map of additional system properties which will be passed using the `-D` option to the JVM." + "type": "array" } }, - "description": "**Currently not supported** JVM Options for pods.", + "type": "object", "additionalProperties": false }, - "logging": { + "livenessProbe": { + "description": "Pod liveness checking.", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, "type": "object", + "additionalProperties": false + }, + "logging": { + "description": "Logging configuration for Kafka Bridge.", "properties": { "loggers": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "A Map from logger name to logger level.", "type": "object", - "description": "A Map from logger name to logger level." + "x-kubernetes-preserve-unknown-fields": true }, "type": { - "type": "string", + "description": "Logging type, must be either 'inline' or 'external'.", "enum": [ "inline", "external" ], - "description": "Logging type, must be either 'inline' or 'external'." + "type": "string" }, "valueFrom": { - "type": "object", + "description": "`ConfigMap` entry where the logging configuration is stored. ", "properties": { "configMapKeyRef": { - "type": "object", + "description": "Reference to the key in the ConfigMap containing the configuration.", "properties": { "key": { "type": "string" @@ -393,165 +375,375 @@ "type": "boolean" } }, - "description": "Reference to the key in the ConfigMap containing the configuration.", + "type": "object", "additionalProperties": false } }, - "description": "`ConfigMap` entry where the logging configuration is stored. ", + "type": "object", "additionalProperties": false } }, "required": [ "type" ], - "description": "Logging configuration for Kafka Bridge.", + "type": "object", "additionalProperties": false }, - "enableMetrics": { - "type": "boolean", - "description": "Enable the metrics for the Kafka Bridge. Default is false." + "producer": { + "description": "Kafka producer related configuration.", + "properties": { + "config": { + "description": "The Kafka producer configuration used for producer instances created by the bridge. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, sasl., security. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols).", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false }, - "livenessProbe": { + "rack": { + "description": "Configuration of the node label which will be used as the client.rack consumer configuration.", + "properties": { + "topologyKey": { + "description": "A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set a broker's `broker.rack` config, and the `client.rack` config for Kafka Connect or MirrorMaker 2.0.", + "example": "topology.kubernetes.io/zone", + "type": "string" + } + }, + "required": [ + "topologyKey" + ], "type": "object", + "additionalProperties": false + }, + "readinessProbe": { + "description": "Pod readiness checking.", "properties": { "failureThreshold": { - "type": "integer", + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." + "type": "integer" }, "initialDelaySeconds": { - "type": "integer", + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." + "type": "integer" }, "periodSeconds": { - "type": "integer", + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." + "type": "integer" }, "successThreshold": { - "type": "integer", + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + "type": "integer" }, "timeoutSeconds": { - "type": "integer", + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "type": "integer" } }, - "description": "Pod liveness checking.", + "type": "object", "additionalProperties": false }, - "readinessProbe": { - "type": "object", + "replicas": { + "description": "The number of pods in the `Deployment`.", + "minimum": 0, + "type": "integer" + }, + "resources": { + "description": "CPU and memory resources to reserve.", "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." + "limits": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "requests": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Pod readiness checking.", + "type": "object", "additionalProperties": false }, "template": { - "type": "object", + "description": "Template for Kafka Bridge resources. The template allows users to specify how a `Deployment` and `Pod` is generated.", "properties": { - "deployment": { - "type": "object", + "apiService": { + "description": "Template for Kafka Bridge API `Service`.", "properties": { + "ipFamilies": { + "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer.", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "ipFamilyPolicy": { + "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer.", + "enum": [ + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ], + "type": "string" + }, "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false - }, - "deploymentStrategy": { - "type": "string", - "enum": [ - "RollingUpdate", - "Recreate" - ], - "description": "DeploymentStrategy which will be used for this Deployment. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`." } }, - "description": "Template for Kafka Bridge `Deployment`.", + "type": "object", "additionalProperties": false }, - "pod": { + "bridgeContainer": { + "description": "Template for the Kafka Bridge container.", + "properties": { + "env": { + "description": "Environment variables which should be applied to the container.", + "items": { + "properties": { + "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "securityContext": { + "description": "Security context for the container.", + "properties": { + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { + "type": "string" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, "type": "object", + "additionalProperties": false + }, + "clusterRoleBinding": { + "description": "Template for the Kafka Bridge ClusterRoleBinding.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "deployment": { + "description": "Template for Kafka Bridge `Deployment`.", + "properties": { + "deploymentStrategy": { + "description": "Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`.", + "enum": [ + "RollingUpdate", + "Recreate" + ], + "type": "string" }, - "imagePullSecrets": { - "type": "array", + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "initContainer": { + "description": "Template for the Kafka Bridge init container.", + "properties": { + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -562,7 +754,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -577,10 +768,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -589,31 +780,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -628,35 +798,32 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, + } + }, + "type": "object", + "additionalProperties": false + }, + "pod": { + "description": "Template for Kafka Bridge `Pods`.", + "properties": { "affinity": { - "type": "object", + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -665,19 +832,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -686,37 +853,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -725,19 +892,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -746,43 +913,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -791,29 +957,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -822,53 +988,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -877,29 +1044,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -908,56 +1075,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -966,29 +1132,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -997,53 +1163,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1052,29 +1219,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1083,284 +1250,118 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, - "description": "The pod's affinity rules.", + "type": "object", "additionalProperties": false }, - "tolerations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - }, - "description": "The pod's tolerations." - }, - "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." - }, - "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" }, "hostAliases": { - "type": "array", + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { "hostnames": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "ip": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." - }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." - }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." + "type": "array" }, - "topologySpreadConstraints": { - "type": "array", + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", "items": { - "type": "object", "properties": { - "labelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "additionalProperties": false - }, - "maxSkew": { - "type": "integer" - }, - "topologyKey": { - "type": "string" - }, - "whenUnsatisfiable": { + "name": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's topology spread constraints." - } - }, - "description": "Template for Kafka Bridge `Pods`.", - "additionalProperties": false - }, - "apiService": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "ipFamilyPolicy": { - "type": "string", - "enum": [ - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer." + "type": "array" }, - "ipFamilies": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - }, - "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer." - } - }, - "description": "Template for Kafka Bridge API `Service`.", - "additionalProperties": false - }, - "podDisruptionBudget": { - "type": "object", - "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", + "type": "object", "additionalProperties": false }, - "maxUnavailable": { - "type": "integer", - "minimum": 0, - "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1." - } - }, - "description": "Template for Kafka Bridge `PodDisruptionBudget`.", - "additionalProperties": false - }, - "bridgeContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, - "additionalProperties": false - }, - "description": "Environment variables which should be applied to the container." + "priorityClassName": { + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" + }, + "schedulerName": { + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" }, "securityContext": { - "type": "object", + "description": "Configures pod-level security attributes and common container settings.", "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "privileged": { - "type": "boolean" + "fsGroup": { + "type": "integer" }, - "procMount": { + "fsGroupChangePolicy": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, "runAsGroup": { "type": "integer" }, @@ -1371,7 +1372,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -1386,10 +1386,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -1398,10 +1398,31 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -1416,120 +1437,281 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", + "type": "object", + "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "topologySpreadConstraints": { + "description": "The pod's topology spread constraints.", + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "maxSkew": { + "type": "integer" + }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "podDisruptionBudget": { + "description": "Template for Kafka Bridge `PodDisruptionBudget`.", + "properties": { + "maxUnavailable": { + "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1.", + "minimum": 0, + "type": "integer" + }, + "metadata": { + "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", "additionalProperties": false } }, - "description": "Template for the Kafka Bridge container.", + "type": "object", "additionalProperties": false }, "serviceAccount": { - "type": "object", + "description": "Template for the Kafka Bridge service account.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Kafka Bridge service account.", + "type": "object", "additionalProperties": false } }, - "description": "Template for Kafka Bridge resources. The template allows users to specify how is the `Deployment` and `Pods` generated.", + "type": "object", "additionalProperties": false }, - "tracing": { + "tls": { + "description": "TLS configuration for connecting Kafka Bridge to the cluster.", + "properties": { + "trustedCertificates": { + "description": "Trusted certificates for TLS connection.", + "items": { + "properties": { + "certificate": { + "description": "The name of the file certificate in the Secret.", + "type": "string" + }, + "secretName": { + "description": "The name of the Secret containing the certificate.", + "type": "string" + } + }, + "required": [ + "certificate", + "secretName" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, "type": "object", + "additionalProperties": false + }, + "tracing": { + "description": "The configuration of tracing in Kafka Bridge.", "properties": { "type": { - "type": "string", + "description": "Type of the tracing used. Currently the only supported types are `jaeger` for OpenTracing (Jaeger) tracing and `opentelemetry` for OpenTelemetry tracing. The OpenTracing (Jaeger) tracing is deprecated.", "enum": [ - "jaeger" + "jaeger", + "opentelemetry" ], - "description": "Type of the tracing used. Currently the only supported type is `jaeger` for Jaeger tracing." + "type": "string" } }, "required": [ "type" ], - "description": "The configuration of tracing in Kafka Bridge.", + "type": "object", "additionalProperties": false } }, "required": [ "bootstrapServers" ], - "description": "The specification of the Kafka Bridge.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the Kafka Bridge.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." - }, - "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." - }, - "url": { - "type": "string", - "description": "The URL at which external client applications can access the Kafka Bridge." + "type": "array" }, "labelSelector": { - "type": "string", - "description": "Label selector for pods providing this resource." + "description": "Label selector for pods providing this resource.", + "type": "string" + }, + "observedGeneration": { + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "replicas": { - "type": "integer", - "description": "The current number of pods being used to provide this resource." + "description": "The current number of pods being used to provide this resource.", + "type": "integer" + }, + "url": { + "description": "The URL at which external client applications can access the Kafka Bridge.", + "type": "string" } }, - "description": "The status of the Kafka Bridge.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkaconnect_v1beta2.json b/kafka.strimzi.io/kafkaconnect_v1beta2.json index 445173a2..cd3350b0 100644 --- a/kafka.strimzi.io/kafkaconnect_v1beta2.json +++ b/kafka.strimzi.io/kafkaconnect_v1beta2.json @@ -1,98 +1,52 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the Kafka Connect cluster.", "properties": { - "version": { - "type": "string", - "description": "The Kafka Connect version. Defaults to {DefaultKafkaVersion}. Consult the user documentation to understand the process required to upgrade or downgrade the version." - }, - "replicas": { - "type": "integer", - "description": "The number of pods in the Kafka Connect group." - }, - "image": { - "type": "string", - "description": "The docker image for the pods." - }, - "bootstrapServers": { - "type": "string", - "description": "Bootstrap servers to connect to. This should be given as a comma separated list of __:__ pairs." - }, - "tls": { - "type": "object", - "properties": { - "trustedCertificates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." - }, - "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." - } - }, - "required": [ - "certificate", - "secretName" - ], - "additionalProperties": false - }, - "description": "Trusted certificates for TLS connection." - } - }, - "description": "TLS configuration.", - "additionalProperties": false - }, "authentication": { - "type": "object", + "description": "Authentication configuration for Kafka Connect.", "properties": { "accessToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", + "type": "object", "additionalProperties": false }, "accessTokenIsJwt": { - "type": "boolean", - "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`." + "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`.", + "type": "boolean" }, "audience": { - "type": "string", - "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request." + "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request.", + "type": "string" }, "certificateAndKey": { - "type": "object", + "description": "Reference to the `Secret` which holds the certificate and private key pair.", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "key": { - "type": "string", - "description": "The name of the private key in the Secret." + "description": "The name of the private key in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ @@ -100,118 +54,122 @@ "key", "secretName" ], - "description": "Reference to the `Secret` which holds the certificate and private key pair.", + "type": "object", "additionalProperties": false }, "clientId": { - "type": "string", - "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI." + "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "string" }, "clientSecret": { - "type": "object", + "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "object", "additionalProperties": false }, "connectTimeoutSeconds": { - "type": "integer", - "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds." + "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds.", + "type": "integer" }, "disableTlsHostnameVerification": { - "type": "boolean", - "description": "Enable or disable TLS hostname verification. Default value is `false`." + "description": "Enable or disable TLS hostname verification. Default value is `false`.", + "type": "boolean" + }, + "enableMetrics": { + "description": "Enable or disable OAuth metrics. Default value is `false`.", + "type": "boolean" }, "maxTokenExpirySeconds": { - "type": "integer", - "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens." + "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens.", + "type": "integer" }, "passwordSecret": { - "type": "object", + "description": "Reference to the `Secret` which holds the password.", "properties": { "password": { - "type": "string", - "description": "The name of the key in the Secret under which the password is stored." + "description": "The name of the key in the Secret under which the password is stored.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the password." + "description": "The name of the Secret containing the password.", + "type": "string" } }, "required": [ "password", "secretName" ], - "description": "Reference to the `Secret` which holds the password.", + "type": "object", "additionalProperties": false }, "readTimeoutSeconds": { - "type": "integer", - "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds." + "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds.", + "type": "integer" }, "refreshToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", + "type": "object", "additionalProperties": false }, "scope": { - "type": "string", - "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request." + "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request.", + "type": "string" }, "tlsTrustedCertificates": { - "type": "array", + "description": "Trusted certificates for TLS connection to the OAuth server.", "items": { - "type": "object", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ "certificate", "secretName" ], + "type": "object", "additionalProperties": false }, - "description": "Trusted certificates for TLS connection to the OAuth server." + "type": "array" }, "tokenEndpointUri": { - "type": "string", - "description": "Authorization server token endpoint URI." + "description": "Authorization server token endpoint URI.", + "type": "string" }, "type": { - "type": "string", + "description": "Authentication type. Currently the supported types are `tls`, `scram-sha-256`, `scram-sha-512`, `plain`, and 'oauth'. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections.", "enum": [ "tls", "scram-sha-256", @@ -219,192 +177,442 @@ "plain", "oauth" ], - "description": "Authentication type. Currently the only supported types are `tls`, `scram-sha-256`, `scram-sha-512`, and `plain`. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections." + "type": "string" }, "username": { - "type": "string", - "description": "Username used for the authentication." + "description": "Username used for the authentication.", + "type": "string" } }, "required": [ "type" ], - "description": "Authentication configuration for Kafka Connect.", - "additionalProperties": false - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, "type": "object", - "description": "The Kafka Connect configuration. Properties with the following prefixes cannot be set: ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)." - }, - "resources": { - "type": "object", - "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "description": "The maximum limits for CPU and memory resources and the requested initial resources.", - "additionalProperties": false - }, - "livenessProbe": { - "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod liveness checking.", "additionalProperties": false }, - "readinessProbe": { - "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod readiness checking.", - "additionalProperties": false + "bootstrapServers": { + "description": "Bootstrap servers to connect to. This should be given as a comma separated list of __:__ pairs.", + "type": "string" }, - "jvmOptions": { - "type": "object", + "build": { + "description": "Configures how the Connect container image should be built. Optional.", "properties": { - "-XX": { - "x-kubernetes-preserve-unknown-fields": true, + "output": { + "description": "Configures where should the newly built image be stored. Required.", + "properties": { + "additionalKanikoOptions": { + "description": "Configures additional options which will be passed to the Kaniko executor when building the new Connect image. Allowed options are: --customPlatform, --insecure, --insecure-pull, --insecure-registry, --log-format, --log-timestamp, --registry-mirror, --reproducible, --single-snapshot, --skip-tls-verify, --skip-tls-verify-pull, --skip-tls-verify-registry, --verbosity, --snapshotMode, --use-new-run. These options will be used only on Kubernetes where the Kaniko executor is used. They will be ignored on OpenShift. The options are described in the link:https://github.com/GoogleContainerTools/kaniko[Kaniko GitHub repository^]. Changing this field does not trigger new build of the Kafka Connect image.", + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "description": "The name of the image which will be built. Required.", + "type": "string" + }, + "pushSecret": { + "description": "Container Registry Secret with the credentials for pushing the newly built image.", + "type": "string" + }, + "type": { + "description": "Output type. Must be either `docker` for pushing the newly build image to Docker compatible registry or `imagestream` for pushing the image to OpenShift ImageStream. Required.", + "enum": [ + "docker", + "imagestream" + ], + "type": "string" + } + }, + "required": [ + "image", + "type" + ], "type": "object", - "description": "A map of -XX options to the JVM." - }, - "-Xms": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xms option to to the JVM." - }, - "-Xmx": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xmx option to to the JVM." - }, - "gcLoggingEnabled": { - "type": "boolean", - "description": "Specifies whether the Garbage Collection logging is enabled. The default is false." + "additionalProperties": false }, - "javaSystemProperties": { - "type": "array", + "plugins": { + "description": "List of connector plugins which should be added to the Kafka Connect. Required.", "items": { - "type": "object", "properties": { - "name": { - "type": "string", - "description": "The system property name." + "artifacts": { + "description": "List of artifacts which belong to this connector plugin. Required.", + "items": { + "properties": { + "artifact": { + "description": "Maven artifact id. Applicable to the `maven` artifact type only.", + "type": "string" + }, + "fileName": { + "description": "Name under which the artifact will be stored.", + "type": "string" + }, + "group": { + "description": "Maven group id. Applicable to the `maven` artifact type only.", + "type": "string" + }, + "insecure": { + "description": "By default, connections using TLS are verified to check they are secure. The server certificate used must be valid, trusted, and contain the server name. By setting this option to `true`, all TLS verification is disabled and the artifact will be downloaded, even when the server is considered insecure.", + "type": "boolean" + }, + "repository": { + "description": "Maven repository to download the artifact from. Applicable to the `maven` artifact type only.", + "type": "string" + }, + "sha512sum": { + "description": "SHA512 checksum of the artifact. Optional. If specified, the checksum will be verified while building the new container. If not specified, the downloaded artifact will not be verified. Not applicable to the `maven` artifact type. ", + "type": "string" + }, + "type": { + "description": "Artifact type. Currently, the supported artifact types are `tgz`, `jar`, `zip`, `other` and `maven`.", + "enum": [ + "jar", + "tgz", + "zip", + "maven", + "other" + ], + "type": "string" + }, + "url": { + "description": "URL of the artifact which will be downloaded. Strimzi does not do any security scanning of the downloaded artifacts. For security reasons, you should first verify the artifacts manually and configure the checksum verification to make sure the same artifact is used in the automated build. Required for `jar`, `zip`, `tgz` and `other` artifacts. Not applicable to the `maven` artifact type.", + "pattern": "^(https?|ftp)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]$", + "type": "string" + }, + "version": { + "description": "Maven version number. Applicable to the `maven` artifact type only.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" }, - "value": { - "type": "string", - "description": "The system property value." + "name": { + "description": "The unique name of the connector plugin. Will be used to generate the path where the connector artifacts will be stored. The name has to be unique within the KafkaConnect resource. The name has to follow the following pattern: `^[a-z][-_a-z0-9]*[a-z]$`. Required.", + "pattern": "^[a-z0-9][-_a-z0-9]*[a-z0-9]$", + "type": "string" } }, + "required": [ + "name", + "artifacts" + ], + "type": "object", "additionalProperties": false }, - "description": "A map of additional system properties which will be passed using the `-D` option to the JVM." - } - }, - "description": "JVM Options for pods.", - "additionalProperties": false - }, - "jmxOptions": { - "type": "object", - "properties": { - "authentication": { - "type": "object", + "type": "array" + }, + "resources": { + "description": "CPU and memory resources to reserve for the build.", "properties": { - "type": { - "type": "string", - "enum": [ - "password" - ], - "description": "Authentication type. Currently the only supported types are `password`.`password` type creates a username and protected port with no TLS." + "limits": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "requests": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "required": [ - "type" - ], - "description": "Authentication configuration for connecting to the JMX port.", + "type": "object", "additionalProperties": false } }, - "description": "JMX Options.", + "required": [ + "output", + "plugins" + ], + "type": "object", "additionalProperties": false }, - "logging": { + "clientRackInitImage": { + "description": "The image of the init container used for initializing the `client.rack`.", + "type": "string" + }, + "config": { + "description": "The Kafka Connect configuration. Properties with the following prefixes cannot be set: ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols).", "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "externalConfiguration": { + "description": "Pass data from Secrets or ConfigMaps to the Kafka Connect pods and use them to configure connectors.", "properties": { - "loggers": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "A Map from logger name to logger level." - }, + "env": { + "description": "Makes data from a Secret or ConfigMap available in the Kafka Connect pods as environment variables.", + "items": { + "properties": { + "name": { + "description": "Name of the environment variable which will be passed to the Kafka Connect pods. The name of the environment variable cannot start with `KAFKA_` or `STRIMZI_`.", + "type": "string" + }, + "valueFrom": { + "description": "Value of the environment variable which will be passed to the Kafka Connect pods. It can be passed either as a reference to Secret or ConfigMap field. The field has to specify exactly one Secret or ConfigMap.", + "properties": { + "configMapKeyRef": { + "description": "Reference to a key in a ConfigMap.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "secretKeyRef": { + "description": "Reference to a key in a Secret.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "name", + "valueFrom" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "volumes": { + "description": "Makes data from a Secret or ConfigMap available in the Kafka Connect pods as volumes.", + "items": { + "properties": { + "configMap": { + "description": "Reference to a key in a ConfigMap. Exactly one Secret or ConfigMap has to be specified.", + "properties": { + "defaultMode": { + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "name": { + "description": "Name of the volume which will be added to the Kafka Connect pods.", + "type": "string" + }, + "secret": { + "description": "Reference to a key in a Secret. Exactly one Secret or ConfigMap has to be specified.", + "properties": { + "defaultMode": { + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "name" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "image": { + "description": "The docker image for the pods.", + "type": "string" + }, + "jmxOptions": { + "description": "JMX Options.", + "properties": { + "authentication": { + "description": "Authentication configuration for connecting to the JMX port.", + "properties": { + "type": { + "description": "Authentication type. Currently the only supported types are `password`.`password` type creates a username and protected port with no TLS.", + "enum": [ + "password" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "jvmOptions": { + "description": "JVM Options for pods.", + "properties": { + "-XX": { + "description": "A map of -XX options to the JVM.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "-Xms": { + "description": "-Xms option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "-Xmx": { + "description": "-Xmx option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "gcLoggingEnabled": { + "description": "Specifies whether the Garbage Collection logging is enabled. The default is false.", + "type": "boolean" + }, + "javaSystemProperties": { + "description": "A map of additional system properties which will be passed using the `-D` option to the JVM.", + "items": { + "properties": { + "name": { + "description": "The system property name.", + "type": "string" + }, + "value": { + "description": "The system property value.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "livenessProbe": { + "description": "Pod liveness checking.", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "logging": { + "description": "Logging configuration for Kafka Connect.", + "properties": { + "loggers": { + "description": "A Map from logger name to logger level.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, "type": { - "type": "string", + "description": "Logging type, must be either 'inline' or 'external'.", "enum": [ "inline", "external" ], - "description": "Logging type, must be either 'inline' or 'external'." + "type": "string" }, "valueFrom": { - "type": "object", + "description": "`ConfigMap` entry where the logging configuration is stored. ", "properties": { "configMapKeyRef": { - "type": "object", + "description": "Reference to the key in the ConfigMap containing the configuration.", "properties": { "key": { "type": "string" @@ -416,133 +624,256 @@ "type": "boolean" } }, - "description": "Reference to the key in the ConfigMap containing the configuration.", + "type": "object", "additionalProperties": false } }, - "description": "`ConfigMap` entry where the logging configuration is stored. ", + "type": "object", "additionalProperties": false } }, "required": [ "type" ], - "description": "Logging configuration for Kafka Connect.", + "type": "object", "additionalProperties": false }, - "clientRackInitImage": { - "type": "string", - "description": "The image of the init container used for initializing the `client.rack`." + "metricsConfig": { + "description": "Metrics configuration.", + "properties": { + "type": { + "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently.", + "enum": [ + "jmxPrometheusExporter" + ], + "type": "string" + }, + "valueFrom": { + "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", + "properties": { + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "type", + "valueFrom" + ], + "type": "object", + "additionalProperties": false }, "rack": { - "type": "object", + "description": "Configuration of the node label which will be used as the `client.rack` consumer configuration.", "properties": { "topologyKey": { - "type": "string", + "description": "A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set a broker's `broker.rack` config, and the `client.rack` config for Kafka Connect or MirrorMaker 2.0.", "example": "topology.kubernetes.io/zone", - "description": "A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set the broker's `broker.rack` config and `client.rack` in Kafka Connect." + "type": "string" } }, "required": [ "topologyKey" ], - "description": "Configuration of the node label which will be used as the `client.rack` consumer configuration.", + "type": "object", "additionalProperties": false }, - "tracing": { + "readinessProbe": { + "description": "Pod readiness checking.", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, "type": "object", + "additionalProperties": false + }, + "replicas": { + "description": "The number of pods in the Kafka Connect group.", + "type": "integer" + }, + "resources": { + "description": "The maximum limits for CPU and memory resources and the requested initial resources.", "properties": { - "type": { - "type": "string", - "enum": [ - "jaeger" - ], - "description": "Type of the tracing used. Currently the only supported type is `jaeger` for Jaeger tracing." + "limits": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "requests": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "required": [ - "type" - ], - "description": "The configuration of tracing in Kafka Connect.", + "type": "object", "additionalProperties": false }, "template": { - "type": "object", + "description": "Template for Kafka Connect and Kafka Mirror Maker 2 resources. The template allows users to specify how the `Deployment`, `Pods` and `Service` are generated.", "properties": { - "deployment": { - "type": "object", + "apiService": { + "description": "Template for Kafka Connect API `Service`.", "properties": { + "ipFamilies": { + "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer.", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "ipFamilyPolicy": { + "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer.", + "enum": [ + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ], + "type": "string" + }, "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false - }, - "deploymentStrategy": { - "type": "string", - "enum": [ - "RollingUpdate", - "Recreate" - ], - "description": "DeploymentStrategy which will be used for this Deployment. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`." } }, - "description": "Template for Kafka Connect `Deployment`.", + "type": "object", "additionalProperties": false }, - "pod": { - "type": "object", + "buildConfig": { + "description": "Template for the Kafka Connect BuildConfig used to build new container images. The BuildConfig is used only on OpenShift.", "properties": { "metadata": { - "type": "object", + "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false }, - "imagePullSecrets": { - "type": "array", + "pullSecret": { + "description": "Container Registry Secret with the credentials for pulling the base image.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "buildContainer": { + "description": "Template for the Kafka Connect Build container. The build container is used only on Kubernetes.", + "properties": { + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -553,7 +884,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -568,10 +898,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -580,31 +910,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -619,35 +928,32 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, + } + }, + "type": "object", + "additionalProperties": false + }, + "buildPod": { + "description": "Template for Kafka Connect Build `Pods`. The build pod is used only on Kubernetes.", + "properties": { "affinity": { - "type": "object", + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -656,19 +962,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -677,37 +983,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -716,19 +1022,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -737,43 +1043,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -782,29 +1087,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -813,53 +1118,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -868,29 +1174,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -899,56 +1205,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -957,29 +1262,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -988,53 +1293,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1043,29 +1349,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1074,255 +1380,118 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, - "additionalProperties": false - } - }, - "description": "The pod's affinity rules.", - "additionalProperties": false - }, - "tolerations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false + "type": "object", + "additionalProperties": false + } }, - "description": "The pod's tolerations." - }, - "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." + "type": "object", + "additionalProperties": false }, - "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" }, "hostAliases": { - "type": "array", + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { "hostnames": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "ip": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." - }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." + "type": "array" }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." - }, - "topologySpreadConstraints": { - "type": "array", + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", "items": { - "type": "object", "properties": { - "labelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "additionalProperties": false - }, - "maxSkew": { - "type": "integer" - }, - "topologyKey": { - "type": "string" - }, - "whenUnsatisfiable": { + "name": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's topology spread constraints." - } - }, - "description": "Template for Kafka Connect `Pods`.", - "additionalProperties": false - }, - "apiService": { - "type": "object", - "properties": { + "type": "array" + }, "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false }, - "ipFamilyPolicy": { - "type": "string", - "enum": [ - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer." + "priorityClassName": { + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" }, - "ipFamilies": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - }, - "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer." - } - }, - "description": "Template for Kafka Connect API `Service`.", - "additionalProperties": false - }, - "connectContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, - "additionalProperties": false - }, - "description": "Environment variables which should be applied to the container." + "schedulerName": { + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" }, "securityContext": { - "type": "object", + "description": "Configures pod-level security attributes and common container settings.", "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "privileged": { - "type": "boolean" + "fsGroup": { + "type": "integer" }, - "procMount": { + "fsGroupChangePolicy": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, "runAsGroup": { "type": "integer" }, @@ -1333,7 +1502,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -1341,96 +1509,266 @@ "role": { "type": "string" }, - "type": { + "type": { + "type": "string" + }, + "user": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "topologySpreadConstraints": { + "description": "The pod's topology spread constraints.", + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "matchLabelKeys": { + "items": { "type": "string" }, - "user": { - "type": "string" - } + "type": "array" }, - "additionalProperties": false + "maxSkew": { + "type": "integer" + }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } }, - "seccompProfile": { + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "buildServiceAccount": { + "description": "Template for the Kafka Connect Build service account.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "localhostProfile": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true }, - "windowsOptions": { + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { - "type": "string" - }, - "hostProcess": { - "type": "boolean" - }, - "runAsUserName": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Kafka Connect container.", + "type": "object", "additionalProperties": false }, - "initContainer": { + "clusterRoleBinding": { + "description": "Template for the Kafka Connect ClusterRoleBinding.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, "type": "object", + "additionalProperties": false + }, + "connectContainer": { + "description": "Template for the Kafka Connect container.", "properties": { "env": { - "type": "array", + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { - "type": "string", - "description": "The environment variable key." + "description": "The environment variable key.", + "type": "string" }, "value": { - "type": "string", - "description": "The environment variable value." + "description": "The environment variable value.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "Environment variables which should be applied to the container." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { "allowPrivilegeEscalation": { "type": "boolean" }, "capabilities": { - "type": "object", "properties": { "add": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "drop": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "privileged": { @@ -1452,7 +1790,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -1467,10 +1804,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -1479,10 +1816,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -1497,135 +1834,103 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", - "additionalProperties": false - } - }, - "description": "Template for the Kafka init container.", - "additionalProperties": false - }, - "podDisruptionBudget": { - "type": "object", - "properties": { - "metadata": { "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", "additionalProperties": false - }, - "maxUnavailable": { - "type": "integer", - "minimum": 0, - "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1." } }, - "description": "Template for Kafka Connect `PodDisruptionBudget`.", - "additionalProperties": false - }, - "serviceAccount": { "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for the Kafka Connect service account.", "additionalProperties": false }, - "clusterRoleBinding": { - "type": "object", + "deployment": { + "description": "Template for Kafka Connect `Deployment`.", "properties": { + "deploymentStrategy": { + "description": "Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`.", + "enum": [ + "RollingUpdate", + "Recreate" + ], + "type": "string" + }, "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Kafka Connect ClusterRoleBinding.", + "type": "object", "additionalProperties": false }, - "buildPod": { - "type": "object", + "initContainer": { + "description": "Template for the Kafka init container.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, - "imagePullSecrets": { - "type": "array", + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -1636,7 +1941,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -1651,43 +1955,22 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" }, - "type": { - "type": "string" - } - }, - "additionalProperties": false - }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } + "type": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -1702,35 +1985,56 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, - "affinity": { + } + }, + "type": "object", + "additionalProperties": false + }, + "jmxSecret": { + "description": "Template for Secret of the Kafka Connect Cluster JMX authentication.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "pod": { + "description": "Template for Kafka Connect `Pods`.", + "properties": { + "affinity": { + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1739,19 +2043,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1760,37 +2064,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1799,19 +2103,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1820,43 +2124,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1865,29 +2168,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1896,53 +2199,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1951,29 +2255,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1982,56 +2286,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2040,29 +2343,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2071,53 +2374,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2126,29 +2430,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2157,211 +2461,118 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, - "description": "The pod's affinity rules.", + "type": "object", "additionalProperties": false }, - "tolerations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - }, - "description": "The pod's tolerations." - }, - "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." - }, - "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" }, "hostAliases": { - "type": "array", + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { "hostnames": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "ip": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." - }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." + "type": "array" }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." - }, - "topologySpreadConstraints": { - "type": "array", + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", "items": { - "type": "object", "properties": { - "labelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "additionalProperties": false - }, - "maxSkew": { - "type": "integer" - }, - "topologyKey": { - "type": "string" - }, - "whenUnsatisfiable": { + "name": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's topology spread constraints." - } - }, - "description": "Template for Kafka Connect Build `Pods`. The build pod is used only on Kubernetes.", - "additionalProperties": false - }, - "buildContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } + "type": "array" + }, + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, - "additionalProperties": false + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } }, - "description": "Environment variables which should be applied to the container." + "type": "object", + "additionalProperties": false + }, + "priorityClassName": { + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" + }, + "schedulerName": { + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" }, "securityContext": { - "type": "object", + "description": "Configures pod-level security attributes and common container settings.", "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "privileged": { - "type": "boolean" + "fsGroup": { + "type": "integer" }, - "procMount": { + "fsGroupChangePolicy": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, "runAsGroup": { "type": "integer" }, @@ -2372,7 +2583,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -2387,10 +2597,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -2399,10 +2609,31 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -2417,503 +2648,307 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", - "additionalProperties": false - } - }, - "description": "Template for the Kafka Connect Build container. The build container is used only on Kubernetes.", - "additionalProperties": false - }, - "buildConfig": { - "type": "object", - "properties": { - "metadata": { "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", "additionalProperties": false }, - "pullSecret": { - "type": "string", - "description": "Container Registry Secret with the credentials for pulling the base image." - } - }, - "description": "Template for the Kafka Connect BuildConfig used to build new container images. The BuildConfig is used only on OpenShift.", - "additionalProperties": false - }, - "buildServiceAccount": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for the Kafka Connect Build service account.", - "additionalProperties": false - }, - "jmxSecret": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for Secret of the Kafka Connect Cluster JMX authentication.", - "additionalProperties": false - } - }, - "description": "Template for Kafka Connect and Kafka Mirror Maker 2 resources. The template allows users to specify how the `Deployment`, `Pods` and `Service` are generated.", - "additionalProperties": false - }, - "externalConfiguration": { - "type": "object", - "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the environment variable which will be passed to the Kafka Connect pods. The name of the environment variable cannot start with `KAFKA_` or `STRIMZI_`." - }, - "valueFrom": { - "type": "object", + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", + "items": { "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to a key in a ConfigMap.", - "additionalProperties": false + "effect": { + "type": "string" }, - "secretKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to a key in a Secret.", - "additionalProperties": false + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" } }, - "description": "Value of the environment variable which will be passed to the Kafka Connect pods. It can be passed either as a reference to Secret or ConfigMap field. The field has to specify exactly one Secret or ConfigMap.", + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, - "required": [ - "name", - "valueFrom" - ], - "additionalProperties": false - }, - "description": "Makes data from a Secret or ConfigMap available in the Kafka Connect pods as environment variables." - }, - "volumes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "configMap": { - "type": "object", + "topologySpreadConstraints": { + "description": "The pod's topology spread constraints.", + "items": { "properties": { - "defaultMode": { - "type": "integer" - }, - "items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "mode": { - "type": "integer" + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false }, - "path": { - "type": "string" - } + "type": "array" }, - "additionalProperties": false - } + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false }, - "name": { - "type": "string" + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to a key in a ConfigMap. Exactly one Secret or ConfigMap has to be specified.", - "additionalProperties": false - }, - "name": { - "type": "string", - "description": "Name of the volume which will be added to the Kafka Connect pods." - }, - "secret": { - "type": "object", - "properties": { - "defaultMode": { + "maxSkew": { "type": "integer" }, - "items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "mode": { - "type": "integer" - }, - "path": { - "type": "string" - } - }, - "additionalProperties": false - } + "minDomains": { + "type": "integer" }, - "optional": { - "type": "boolean" + "nodeAffinityPolicy": { + "type": "string" }, - "secretName": { + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { "type": "string" } }, - "description": "Reference to a key in a Secret. Exactly one Secret or ConfigMap has to be specified.", + "type": "object", "additionalProperties": false - } - }, - "required": [ - "name" - ], - "additionalProperties": false + }, + "type": "array" + } }, - "description": "Makes data from a Secret or ConfigMap available in the Kafka Connect pods as volumes." - } - }, - "description": "Pass data from Secrets or ConfigMaps to the Kafka Connect pods and use them to configure connectors.", - "additionalProperties": false - }, - "build": { - "type": "object", - "properties": { - "output": { "type": "object", + "additionalProperties": false + }, + "podDisruptionBudget": { + "description": "Template for Kafka Connect `PodDisruptionBudget`.", "properties": { - "additionalKanikoOptions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Configures additional options which will be passed to the Kaniko executor when building the new Connect image. Allowed options are: --customPlatform, --insecure, --insecure-pull, --insecure-registry, --log-format, --log-timestamp, --registry-mirror, --reproducible, --single-snapshot, --skip-tls-verify, --skip-tls-verify-pull, --skip-tls-verify-registry, --verbosity, --snapshotMode, --use-new-run. These options will be used only on Kubernetes where the Kaniko executor is used. They will be ignored on OpenShift. The options are described in the link:https://github.com/GoogleContainerTools/kaniko[Kaniko GitHub repository^]. Changing this field does not trigger new build of the Kafka Connect image." - }, - "image": { - "type": "string", - "description": "The name of the image which will be built. Required." - }, - "pushSecret": { - "type": "string", - "description": "Container Registry Secret with the credentials for pushing the newly built image." + "maxUnavailable": { + "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1.", + "minimum": 0, + "type": "integer" }, - "type": { - "type": "string", - "enum": [ - "docker", - "imagestream" - ], - "description": "Output type. Must be either `docker` for pushing the newly build image to Docker compatible registry or `imagestream` for pushing the image to OpenShift ImageStream. Required." + "metadata": { + "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false } }, - "required": [ - "image", - "type" - ], - "description": "Configures where should the newly built image be stored. Required.", + "type": "object", "additionalProperties": false }, - "resources": { - "type": "object", + "serviceAccount": { + "description": "Template for the Kafka Connect service account.", "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false } }, - "description": "CPU and memory resources to reserve for the build.", + "type": "object", "additionalProperties": false - }, - "plugins": { - "type": "array", + } + }, + "type": "object", + "additionalProperties": false + }, + "tls": { + "description": "TLS configuration.", + "properties": { + "trustedCertificates": { + "description": "Trusted certificates for TLS connection.", "items": { - "type": "object", "properties": { - "name": { - "type": "string", - "pattern": "^[a-z0-9][-_a-z0-9]*[a-z0-9]$", - "description": "The unique name of the connector plugin. Will be used to generate the path where the connector artifacts will be stored. The name has to be unique within the KafkaConnect resource. The name has to follow the following pattern: `^[a-z][-_a-z0-9]*[a-z]$`. Required." + "certificate": { + "description": "The name of the file certificate in the Secret.", + "type": "string" }, - "artifacts": { - "type": "array", - "items": { - "type": "object", - "properties": { - "artifact": { - "type": "string", - "description": "Maven artifact id. Applicable to the `maven` artifact type only." - }, - "fileName": { - "type": "string", - "description": "Name under which the artifact will be stored." - }, - "group": { - "type": "string", - "description": "Maven group id. Applicable to the `maven` artifact type only." - }, - "insecure": { - "type": "boolean", - "description": "By default, connections using TLS are verified to check they are secure. The server certificate used must be valid, trusted, and contain the server name. By setting this option to `true`, all TLS verification is disabled and the artifact will be downloaded, even when the server is considered insecure." - }, - "repository": { - "type": "string", - "description": "Maven repository to download the artifact from. Applicable to the `maven` artifact type only." - }, - "sha512sum": { - "type": "string", - "description": "SHA512 checksum of the artifact. Optional. If specified, the checksum will be verified while building the new container. If not specified, the downloaded artifact will not be verified. Not applicable to the `maven` artifact type. " - }, - "type": { - "type": "string", - "enum": [ - "jar", - "tgz", - "zip", - "maven", - "other" - ], - "description": "Artifact type. Currently, the supported artifact types are `tgz`, `jar`, `zip`, `other` and `maven`." - }, - "url": { - "type": "string", - "pattern": "^(https?|ftp)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]$", - "description": "URL of the artifact which will be downloaded. Strimzi does not do any security scanning of the downloaded artifacts. For security reasons, you should first verify the artifacts manually and configure the checksum verification to make sure the same artifact is used in the automated build. Required for `jar`, `zip`, `tgz` and `other` artifacts. Not applicable to the `maven` artifact type." - }, - "version": { - "type": "string", - "description": "Maven version number. Applicable to the `maven` artifact type only." - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - "description": "List of artifacts which belong to this connector plugin. Required." + "secretName": { + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ - "name", - "artifacts" + "certificate", + "secretName" ], + "type": "object", "additionalProperties": false }, - "description": "List of connector plugins which should be added to the Kafka Connect. Required." + "type": "array" } }, - "required": [ - "output", - "plugins" - ], - "description": "Configures how the Connect container image should be built. Optional.", + "type": "object", "additionalProperties": false }, - "metricsConfig": { - "type": "object", + "tracing": { + "description": "The configuration of tracing in Kafka Connect.", "properties": { "type": { - "type": "string", + "description": "Type of the tracing used. Currently the only supported types are `jaeger` for OpenTracing (Jaeger) tracing and `opentelemetry` for OpenTelemetry tracing. The OpenTracing (Jaeger) tracing is deprecated.", "enum": [ - "jmxPrometheusExporter" + "jaeger", + "opentelemetry" ], - "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently." - }, - "valueFrom": { - "type": "object", - "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to the key in the ConfigMap containing the configuration.", - "additionalProperties": false - } - }, - "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", - "additionalProperties": false + "type": "string" } }, "required": [ - "type", - "valueFrom" + "type" ], - "description": "Metrics configuration.", + "type": "object", "additionalProperties": false + }, + "version": { + "description": "The Kafka Connect version. Defaults to {DefaultKafkaVersion}. Consult the user documentation to understand the process required to upgrade or downgrade the version.", + "type": "string" } }, "required": [ "bootstrapServers" ], - "description": "The specification of the Kafka Connect cluster.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the Kafka Connect cluster.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." - }, - "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." - }, - "url": { - "type": "string", - "description": "The URL of the REST API endpoint for managing and monitoring Kafka Connect connectors." + "type": "array" }, "connectorPlugins": { - "type": "array", + "description": "The list of connector plugins available in this Kafka Connect deployment.", "items": { - "type": "object", "properties": { + "class": { + "description": "The class of the connector plugin.", + "type": "string" + }, "type": { - "type": "string", - "description": "The type of the connector plugin. The available types are `sink` and `source`." + "description": "The type of the connector plugin. The available types are `sink` and `source`.", + "type": "string" }, "version": { - "type": "string", - "description": "The version of the connector plugin." - }, - "class": { - "type": "string", - "description": "The class of the connector plugin." + "description": "The version of the connector plugin.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The list of connector plugins available in this Kafka Connect deployment." + "type": "array" }, "labelSelector": { - "type": "string", - "description": "Label selector for pods providing this resource." + "description": "Label selector for pods providing this resource.", + "type": "string" + }, + "observedGeneration": { + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "replicas": { - "type": "integer", - "description": "The current number of pods being used to provide this resource." + "description": "The current number of pods being used to provide this resource.", + "type": "integer" + }, + "url": { + "description": "The URL of the REST API endpoint for managing and monitoring Kafka Connect connectors.", + "type": "string" } }, - "description": "The status of the Kafka Connect cluster.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkaconnector_v1beta2.json b/kafka.strimzi.io/kafkaconnector_v1beta2.json index e2abf9fe..eee43362 100644 --- a/kafka.strimzi.io/kafkaconnector_v1beta2.json +++ b/kafka.strimzi.io/kafkaconnector_v1beta2.json @@ -1,115 +1,117 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the Kafka Connector.", "properties": { - "class": { - "type": "string", - "description": "The Class for the Kafka Connector." - }, - "tasksMax": { - "type": "integer", - "minimum": 1, - "description": "The maximum number of tasks for the Kafka Connector." - }, "autoRestart": { - "type": "object", "description": "Automatic restart of connector and tasks configuration.", "properties": { "enabled": { - "type": "boolean", - "description": "Whether automatic restart for failed connectors and tasks should be enabled or disabled." + "description": "Whether automatic restart for failed connectors and tasks should be enabled or disabled.", + "type": "boolean" } - } + }, + "type": "object", + "additionalProperties": false + }, + "class": { + "description": "The Class for the Kafka Connector.", + "type": "string" }, "config": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "The Kafka Connector configuration. The following properties cannot be set: connector.class, tasks.max.", "type": "object", - "description": "The Kafka Connector configuration. The following properties cannot be set: connector.class, tasks.max." + "x-kubernetes-preserve-unknown-fields": true }, "pause": { - "type": "boolean", - "description": "Whether the connector should be paused. Defaults to false." + "description": "Whether the connector should be paused. Defaults to false.", + "type": "boolean" + }, + "tasksMax": { + "description": "The maximum number of tasks for the Kafka Connector.", + "minimum": 1, + "type": "integer" } }, - "description": "The specification of the Kafka Connector.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the Kafka Connector.", "properties": { + "autoRestart": { + "description": "The auto restart status.", + "properties": { + "connectorName": { + "description": "The name of the connector being restarted.", + "type": "string" + }, + "count": { + "description": "The number of times the connector or task is restarted.", + "type": "integer" + }, + "lastRestartTimestamp": { + "description": "The last time the automatic restart was attempted. The required format is 'yyyy-MM-ddTHH:mm:ssZ' in the UTC time zone.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." - }, - "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." - }, - "autoRestart": { - "type": "object", - "description": "The auto restart status.", - "properties": { - "count": { - "type": "integer", - "description": "The number of times the connector or task is restarted." - }, - "connectorName": { - "type": "string", - "description": "The name of the connector being restarted." - }, - "lastRestartTimestamp": { - "type": "string", - "description": "The last time the automatic restart was attempted. The required format is 'yyyy-MM-ddTHH:mm:ssZ' in the UTC time zone." - } - } + "type": "array" }, "connectorStatus": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "The connector status, as reported by the Kafka Connect REST API.", "type": "object", - "description": "The connector status, as reported by the Kafka Connect REST API." + "x-kubernetes-preserve-unknown-fields": true + }, + "observedGeneration": { + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "tasksMax": { - "type": "integer", - "description": "The maximum number of tasks for the Kafka Connector." + "description": "The maximum number of tasks for the Kafka Connector.", + "type": "integer" }, "topics": { - "type": "array", + "description": "The list of topics used by the Kafka Connector.", "items": { "type": "string" }, - "description": "The list of topics used by the Kafka Connector." + "type": "array" } }, - "description": "The status of the Kafka Connector.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkamirrormaker2_v1beta2.json b/kafka.strimzi.io/kafkamirrormaker2_v1beta2.json index 4b9efbbd..18b89bdb 100644 --- a/kafka.strimzi.io/kafkamirrormaker2_v1beta2.json +++ b/kafka.strimzi.io/kafkamirrormaker2_v1beta2.json @@ -1,112 +1,65 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the Kafka MirrorMaker 2.0 cluster.", "properties": { - "version": { - "type": "string", - "description": "The Kafka Connect version. Defaults to {DefaultKafkaVersion}. Consult the user documentation to understand the process required to upgrade or downgrade the version." - }, - "replicas": { - "type": "integer", - "description": "The number of pods in the Kafka Connect group." - }, - "image": { - "type": "string", - "description": "The docker image for the pods." - }, - "connectCluster": { - "type": "string", - "description": "The cluster alias used for Kafka Connect. The alias must match a cluster in the list at `spec.clusters`." + "clientRackInitImage": { + "description": "The image of the init container used for initializing the `client.rack`.", + "type": "string" }, "clusters": { - "type": "array", + "description": "Kafka clusters for mirroring.", "items": { - "type": "object", "properties": { "alias": { - "type": "string", + "description": "Alias used to reference the Kafka cluster.", "pattern": "^[a-zA-Z0-9\\._\\-]{1,100}$", - "description": "Alias used to reference the Kafka cluster." - }, - "bootstrapServers": { - "type": "string", - "description": "A comma-separated list of `host:port` pairs for establishing the connection to the Kafka cluster." - }, - "tls": { - "type": "object", - "properties": { - "trustedCertificates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." - }, - "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." - } - }, - "required": [ - "certificate", - "secretName" - ], - "additionalProperties": false - }, - "description": "Trusted certificates for TLS connection." - } - }, - "description": "TLS configuration for connecting MirrorMaker 2.0 connectors to a cluster.", - "additionalProperties": false + "type": "string" }, "authentication": { - "type": "object", + "description": "Authentication configuration for connecting to the cluster.", "properties": { "accessToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", + "type": "object", "additionalProperties": false }, "accessTokenIsJwt": { - "type": "boolean", - "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`." + "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`.", + "type": "boolean" }, "audience": { - "type": "string", - "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request." + "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request.", + "type": "string" }, "certificateAndKey": { - "type": "object", + "description": "Reference to the `Secret` which holds the certificate and private key pair.", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "key": { - "type": "string", - "description": "The name of the private key in the Secret." + "description": "The name of the private key in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ @@ -114,118 +67,122 @@ "key", "secretName" ], - "description": "Reference to the `Secret` which holds the certificate and private key pair.", + "type": "object", "additionalProperties": false }, "clientId": { - "type": "string", - "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI." + "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "string" }, "clientSecret": { - "type": "object", + "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "object", "additionalProperties": false }, "connectTimeoutSeconds": { - "type": "integer", - "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds." + "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds.", + "type": "integer" }, "disableTlsHostnameVerification": { - "type": "boolean", - "description": "Enable or disable TLS hostname verification. Default value is `false`." + "description": "Enable or disable TLS hostname verification. Default value is `false`.", + "type": "boolean" + }, + "enableMetrics": { + "description": "Enable or disable OAuth metrics. Default value is `false`.", + "type": "boolean" }, "maxTokenExpirySeconds": { - "type": "integer", - "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens." + "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens.", + "type": "integer" }, "passwordSecret": { - "type": "object", + "description": "Reference to the `Secret` which holds the password.", "properties": { "password": { - "type": "string", - "description": "The name of the key in the Secret under which the password is stored." + "description": "The name of the key in the Secret under which the password is stored.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the password." + "description": "The name of the Secret containing the password.", + "type": "string" } }, "required": [ "password", "secretName" ], - "description": "Reference to the `Secret` which holds the password.", + "type": "object", "additionalProperties": false }, "readTimeoutSeconds": { - "type": "integer", - "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds." + "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds.", + "type": "integer" }, "refreshToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", + "type": "object", "additionalProperties": false }, "scope": { - "type": "string", - "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request." + "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request.", + "type": "string" }, "tlsTrustedCertificates": { - "type": "array", + "description": "Trusted certificates for TLS connection to the OAuth server.", "items": { - "type": "object", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ "certificate", "secretName" ], + "type": "object", "additionalProperties": false }, - "description": "Trusted certificates for TLS connection to the OAuth server." + "type": "array" }, "tokenEndpointUri": { - "type": "string", - "description": "Authorization server token endpoint URI." + "description": "Authorization server token endpoint URI.", + "type": "string" }, "type": { - "type": "string", + "description": "Authentication type. Currently the supported types are `tls`, `scram-sha-256`, `scram-sha-512`, `plain`, and 'oauth'. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections.", "enum": [ "tls", "scram-sha-256", @@ -233,340 +190,345 @@ "plain", "oauth" ], - "description": "Authentication type. Currently the only supported types are `tls`, `scram-sha-256`, `scram-sha-512`, and `plain`. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections." + "type": "string" }, "username": { - "type": "string", - "description": "Username used for the authentication." + "description": "Username used for the authentication.", + "type": "string" } }, "required": [ "type" ], - "description": "Authentication configuration for connecting to the cluster.", + "type": "object", "additionalProperties": false }, + "bootstrapServers": { + "description": "A comma-separated list of `host:port` pairs for establishing the connection to the Kafka cluster.", + "type": "string" + }, "config": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "The MirrorMaker 2.0 cluster config. Properties with the following prefixes cannot be set: ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols).", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "tls": { + "description": "TLS configuration for connecting MirrorMaker 2.0 connectors to a cluster.", + "properties": { + "trustedCertificates": { + "description": "Trusted certificates for TLS connection.", + "items": { + "properties": { + "certificate": { + "description": "The name of the file certificate in the Secret.", + "type": "string" + }, + "secretName": { + "description": "The name of the Secret containing the certificate.", + "type": "string" + } + }, + "required": [ + "certificate", + "secretName" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, "type": "object", - "description": "The MirrorMaker 2.0 cluster config. Properties with the following prefixes cannot be set: ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)." + "additionalProperties": false } }, "required": [ "alias", "bootstrapServers" ], + "type": "object", "additionalProperties": false }, - "description": "Kafka clusters for mirroring." + "type": "array" }, - "mirrors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sourceCluster": { - "type": "string", - "description": "The alias of the source cluster used by the Kafka MirrorMaker 2.0 connectors. The alias must match a cluster in the list at `spec.clusters`." - }, - "targetCluster": { - "type": "string", - "description": "The alias of the target cluster used by the Kafka MirrorMaker 2.0 connectors. The alias must match a cluster in the list at `spec.clusters`." - }, - "sourceConnector": { - "type": "object", + "connectCluster": { + "description": "The cluster alias used for Kafka Connect. The alias must match a cluster in the list at `spec.clusters`.", + "type": "string" + }, + "externalConfiguration": { + "description": "Pass data from Secrets or ConfigMaps to the Kafka Connect pods and use them to configure connectors.", + "properties": { + "env": { + "description": "Makes data from a Secret or ConfigMap available in the Kafka Connect pods as environment variables.", + "items": { "properties": { - "tasksMax": { - "type": "integer", - "minimum": 1, - "description": "The maximum number of tasks for the Kafka Connector." - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "The Kafka Connector configuration. The following properties cannot be set: connector.class, tasks.max." + "name": { + "description": "Name of the environment variable which will be passed to the Kafka Connect pods. The name of the environment variable cannot start with `KAFKA_` or `STRIMZI_`.", + "type": "string" }, - "autoRestart": { - "type": "object", - "description": "Automatic restart of connector and tasks configuration.", + "valueFrom": { + "description": "Value of the environment variable which will be passed to the Kafka Connect pods. It can be passed either as a reference to Secret or ConfigMap field. The field has to specify exactly one Secret or ConfigMap.", "properties": { - "enabled": { - "type": "boolean", - "description": "Whether automatic restart for failed connectors and tasks should be enabled or disabled." + "configMapKeyRef": { + "description": "Reference to a key in a ConfigMap.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "secretKeyRef": { + "description": "Reference to a key in a Secret.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false } - } - }, - "pause": { - "type": "boolean", - "description": "Whether the connector should be paused. Defaults to false." + }, + "type": "object", + "additionalProperties": false } }, - "description": "The specification of the Kafka MirrorMaker 2.0 source connector.", + "required": [ + "name", + "valueFrom" + ], + "type": "object", "additionalProperties": false }, - "heartbeatConnector": { - "type": "object", + "type": "array" + }, + "volumes": { + "description": "Makes data from a Secret or ConfigMap available in the Kafka Connect pods as volumes.", + "items": { "properties": { - "tasksMax": { - "type": "integer", - "minimum": 1, - "description": "The maximum number of tasks for the Kafka Connector." - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, + "configMap": { + "description": "Reference to a key in a ConfigMap. Exactly one Secret or ConfigMap has to be specified.", + "properties": { + "defaultMode": { + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, "type": "object", - "description": "The Kafka Connector configuration. The following properties cannot be set: connector.class, tasks.max." + "additionalProperties": false }, - "autoRestart": { - "type": "object", - "description": "Automatic restart of connector and tasks configuration.", + "name": { + "description": "Name of the volume which will be added to the Kafka Connect pods.", + "type": "string" + }, + "secret": { + "description": "Reference to a key in a Secret. Exactly one Secret or ConfigMap has to be specified.", "properties": { - "enabled": { - "type": "boolean", - "description": "Whether automatic restart for failed connectors and tasks should be enabled or disabled." + "defaultMode": { + "type": "integer" + }, + "items": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "mode": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "optional": { + "type": "boolean" + }, + "secretName": { + "type": "string" } - } - }, - "pause": { - "type": "boolean", - "description": "Whether the connector should be paused. Defaults to false." + }, + "type": "object", + "additionalProperties": false } }, - "description": "The specification of the Kafka MirrorMaker 2.0 heartbeat connector.", - "additionalProperties": false - }, - "checkpointConnector": { + "required": [ + "name" + ], "type": "object", - "properties": { - "tasksMax": { - "type": "integer", - "minimum": 1, - "description": "The maximum number of tasks for the Kafka Connector." - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "The Kafka Connector configuration. The following properties cannot be set: connector.class, tasks.max." - }, - "autoRestart": { - "type": "object", - "description": "Automatic restart of connector and tasks configuration.", - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether automatic restart for failed connectors and tasks should be enabled or disabled." - } - } - }, - "pause": { - "type": "boolean", - "description": "Whether the connector should be paused. Defaults to false." - } - }, - "description": "The specification of the Kafka MirrorMaker 2.0 checkpoint connector.", "additionalProperties": false }, - "topicsPattern": { - "type": "string", - "description": "A regular expression matching the topics to be mirrored, for example, \"topic1\\|topic2\\|topic3\". Comma-separated lists are also supported." - }, - "topicsBlacklistPattern": { - "type": "string", - "description": "A regular expression matching the topics to exclude from mirroring. Comma-separated lists are also supported." - }, - "topicsExcludePattern": { - "type": "string", - "description": "A regular expression matching the topics to exclude from mirroring. Comma-separated lists are also supported." - }, - "groupsPattern": { - "type": "string", - "description": "A regular expression matching the consumer groups to be mirrored. Comma-separated lists are also supported." - }, - "groupsBlacklistPattern": { - "type": "string", - "description": "A regular expression matching the consumer groups to exclude from mirroring. Comma-separated lists are also supported." - }, - "groupsExcludePattern": { - "type": "string", - "description": "A regular expression matching the consumer groups to exclude from mirroring. Comma-separated lists are also supported." - } - }, - "required": [ - "sourceCluster", - "targetCluster" - ], - "additionalProperties": false - }, - "description": "Configuration of the MirrorMaker 2.0 connectors." - }, - "resources": { - "type": "object", - "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "array" } }, - "description": "The maximum limits for CPU and memory resources and the requested initial resources.", - "additionalProperties": false - }, - "livenessProbe": { "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod liveness checking.", "additionalProperties": false }, - "readinessProbe": { - "type": "object", + "image": { + "description": "The docker image for the pods.", + "type": "string" + }, + "jmxOptions": { + "description": "JMX Options.", "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "authentication": { + "description": "Authentication configuration for connecting to the JMX port.", + "properties": { + "type": { + "description": "Authentication type. Currently the only supported types are `password`.`password` type creates a username and protected port with no TLS.", + "enum": [ + "password" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false } }, - "description": "Pod readiness checking.", + "type": "object", "additionalProperties": false }, "jvmOptions": { - "type": "object", + "description": "JVM Options for pods.", "properties": { "-XX": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "A map of -XX options to the JVM.", "type": "object", - "description": "A map of -XX options to the JVM." + "x-kubernetes-preserve-unknown-fields": true }, "-Xms": { - "type": "string", + "description": "-Xms option to to the JVM.", "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xms option to to the JVM." + "type": "string" }, "-Xmx": { - "type": "string", + "description": "-Xmx option to to the JVM.", "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xmx option to to the JVM." + "type": "string" }, "gcLoggingEnabled": { - "type": "boolean", - "description": "Specifies whether the Garbage Collection logging is enabled. The default is false." + "description": "Specifies whether the Garbage Collection logging is enabled. The default is false.", + "type": "boolean" }, "javaSystemProperties": { - "type": "array", + "description": "A map of additional system properties which will be passed using the `-D` option to the JVM.", "items": { - "type": "object", "properties": { "name": { - "type": "string", - "description": "The system property name." + "description": "The system property name.", + "type": "string" }, "value": { - "type": "string", - "description": "The system property value." + "description": "The system property value.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "A map of additional system properties which will be passed using the `-D` option to the JVM." + "type": "array" } }, - "description": "JVM Options for pods.", + "type": "object", "additionalProperties": false }, - "jmxOptions": { - "type": "object", + "livenessProbe": { + "description": "Pod liveness checking.", "properties": { - "authentication": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "password" - ], - "description": "Authentication type. Currently the only supported types are `password`.`password` type creates a username and protected port with no TLS." - } - }, - "required": [ - "type" - ], - "description": "Authentication configuration for connecting to the JMX port.", - "additionalProperties": false + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" } }, - "description": "JMX Options.", + "type": "object", "additionalProperties": false }, "logging": { - "type": "object", + "description": "Logging configuration for Kafka Connect.", "properties": { "loggers": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "A Map from logger name to logger level.", "type": "object", - "description": "A Map from logger name to logger level." + "x-kubernetes-preserve-unknown-fields": true }, "type": { - "type": "string", + "description": "Logging type, must be either 'inline' or 'external'.", "enum": [ "inline", "external" ], - "description": "Logging type, must be either 'inline' or 'external'." + "type": "string" }, "valueFrom": { - "type": "object", + "description": "`ConfigMap` entry where the logging configuration is stored. ", "properties": { "configMapKeyRef": { - "type": "object", + "description": "Reference to the key in the ConfigMap containing the configuration.", "properties": { "key": { "type": "string" @@ -578,133 +540,398 @@ "type": "boolean" } }, - "description": "Reference to the key in the ConfigMap containing the configuration.", + "type": "object", "additionalProperties": false } }, - "description": "`ConfigMap` entry where the logging configuration is stored. ", + "type": "object", "additionalProperties": false } }, "required": [ "type" ], - "description": "Logging configuration for Kafka Connect.", - "additionalProperties": false - }, - "clientRackInitImage": { - "type": "string", - "description": "The image of the init container used for initializing the `client.rack`." - }, - "rack": { "type": "object", - "properties": { - "topologyKey": { - "type": "string", - "example": "topology.kubernetes.io/zone", - "description": "A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set the broker's `broker.rack` config and `client.rack` in Kafka Connect." - } - }, - "required": [ - "topologyKey" - ], - "description": "Configuration of the node label which will be used as the `client.rack` consumer configuration.", "additionalProperties": false }, - "tracing": { - "type": "object", + "metricsConfig": { + "description": "Metrics configuration.", "properties": { "type": { - "type": "string", + "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently.", "enum": [ - "jaeger" + "jmxPrometheusExporter" ], - "description": "Type of the tracing used. Currently the only supported type is `jaeger` for Jaeger tracing." - } - }, - "required": [ - "type" - ], - "description": "The configuration of tracing in Kafka Connect.", - "additionalProperties": false - }, - "template": { - "type": "object", - "properties": { - "deployment": { - "type": "object", + "type": "string" + }, + "valueFrom": { + "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", "properties": { - "metadata": { - "type": "object", + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "key": { + "type": "string" }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false - }, - "deploymentStrategy": { - "type": "string", - "enum": [ - "RollingUpdate", - "Recreate" - ], - "description": "DeploymentStrategy which will be used for this Deployment. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`." } }, - "description": "Template for Kafka Connect `Deployment`.", - "additionalProperties": false - }, - "pod": { "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "additionalProperties": false + } + }, + "required": [ + "type", + "valueFrom" + ], + "type": "object", + "additionalProperties": false + }, + "mirrors": { + "description": "Configuration of the MirrorMaker 2.0 connectors.", + "items": { + "properties": { + "checkpointConnector": { + "description": "The specification of the Kafka MirrorMaker 2.0 checkpoint connector.", + "properties": { + "autoRestart": { + "description": "Automatic restart of connector and tasks configuration.", + "properties": { + "enabled": { + "description": "Whether automatic restart for failed connectors and tasks should be enabled or disabled.", + "type": "boolean" + } }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } + "type": "object", + "additionalProperties": false }, - "description": "Metadata applied to the resource.", + "config": { + "description": "The Kafka Connector configuration. The following properties cannot be set: connector.class, tasks.max.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "pause": { + "description": "Whether the connector should be paused. Defaults to false.", + "type": "boolean" + }, + "tasksMax": { + "description": "The maximum number of tasks for the Kafka Connector.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "groupsBlacklistPattern": { + "description": "A regular expression matching the consumer groups to exclude from mirroring. Comma-separated lists are also supported.", + "type": "string" + }, + "groupsExcludePattern": { + "description": "A regular expression matching the consumer groups to exclude from mirroring. Comma-separated lists are also supported.", + "type": "string" + }, + "groupsPattern": { + "description": "A regular expression matching the consumer groups to be mirrored. Comma-separated lists are also supported.", + "type": "string" + }, + "heartbeatConnector": { + "description": "The specification of the Kafka MirrorMaker 2.0 heartbeat connector.", + "properties": { + "autoRestart": { + "description": "Automatic restart of connector and tasks configuration.", + "properties": { + "enabled": { + "description": "Whether automatic restart for failed connectors and tasks should be enabled or disabled.", + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "config": { + "description": "The Kafka Connector configuration. The following properties cannot be set: connector.class, tasks.max.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "pause": { + "description": "Whether the connector should be paused. Defaults to false.", + "type": "boolean" + }, + "tasksMax": { + "description": "The maximum number of tasks for the Kafka Connector.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "sourceCluster": { + "description": "The alias of the source cluster used by the Kafka MirrorMaker 2.0 connectors. The alias must match a cluster in the list at `spec.clusters`.", + "type": "string" + }, + "sourceConnector": { + "description": "The specification of the Kafka MirrorMaker 2.0 source connector.", + "properties": { + "autoRestart": { + "description": "Automatic restart of connector and tasks configuration.", + "properties": { + "enabled": { + "description": "Whether automatic restart for failed connectors and tasks should be enabled or disabled.", + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "config": { + "description": "The Kafka Connector configuration. The following properties cannot be set: connector.class, tasks.max.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "pause": { + "description": "Whether the connector should be paused. Defaults to false.", + "type": "boolean" + }, + "tasksMax": { + "description": "The maximum number of tasks for the Kafka Connector.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "targetCluster": { + "description": "The alias of the target cluster used by the Kafka MirrorMaker 2.0 connectors. The alias must match a cluster in the list at `spec.clusters`.", + "type": "string" + }, + "topicsBlacklistPattern": { + "description": "A regular expression matching the topics to exclude from mirroring. Comma-separated lists are also supported.", + "type": "string" + }, + "topicsExcludePattern": { + "description": "A regular expression matching the topics to exclude from mirroring. Comma-separated lists are also supported.", + "type": "string" + }, + "topicsPattern": { + "description": "A regular expression matching the topics to be mirrored, for example, \"topic1\\|topic2\\|topic3\". Comma-separated lists are also supported.", + "type": "string" + } + }, + "required": [ + "sourceCluster", + "targetCluster" + ], + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "rack": { + "description": "Configuration of the node label which will be used as the `client.rack` consumer configuration.", + "properties": { + "topologyKey": { + "description": "A key that matches labels assigned to the Kubernetes cluster nodes. The value of the label is used to set a broker's `broker.rack` config, and the `client.rack` config for Kafka Connect or MirrorMaker 2.0.", + "example": "topology.kubernetes.io/zone", + "type": "string" + } + }, + "required": [ + "topologyKey" + ], + "type": "object", + "additionalProperties": false + }, + "readinessProbe": { + "description": "Pod readiness checking.", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "replicas": { + "description": "The number of pods in the Kafka Connect group.", + "type": "integer" + }, + "resources": { + "description": "The maximum limits for CPU and memory resources and the requested initial resources.", + "properties": { + "limits": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "requests": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "template": { + "description": "Template for Kafka Connect and Kafka Mirror Maker 2 resources. The template allows users to specify how the `Deployment`, `Pods` and `Service` are generated.", + "properties": { + "apiService": { + "description": "Template for Kafka Connect API `Service`.", + "properties": { + "ipFamilies": { + "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer.", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "ipFamilyPolicy": { + "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer.", + "enum": [ + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ], + "type": "string" + }, + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "buildConfig": { + "description": "Template for the Kafka Connect BuildConfig used to build new container images. The BuildConfig is used only on OpenShift.", + "properties": { + "metadata": { + "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", "additionalProperties": false }, - "imagePullSecrets": { - "type": "array", + "pullSecret": { + "description": "Container Registry Secret with the credentials for pulling the base image.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "buildContainer": { + "description": "Template for the Kafka Connect Build container. The build container is used only on Kubernetes.", + "properties": { + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -715,7 +942,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -730,10 +956,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -742,31 +968,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -781,35 +986,32 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, + } + }, + "type": "object", + "additionalProperties": false + }, + "buildPod": { + "description": "Template for Kafka Connect Build `Pods`. The build pod is used only on Kubernetes.", + "properties": { "affinity": { - "type": "object", + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -818,19 +1020,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -839,37 +1041,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -878,19 +1080,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -899,43 +1101,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -944,29 +1145,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -975,53 +1176,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1030,29 +1232,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1061,56 +1263,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1119,29 +1320,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1150,53 +1351,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1205,29 +1407,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1236,115 +1438,243 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, - "description": "The pod's affinity rules.", + "type": "object", "additionalProperties": false }, - "tolerations": { - "type": "array", + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" + }, + "hostAliases": { + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" }, - "operator": { + "ip": { "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", + "items": { + "properties": { + "name": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's tolerations." + "type": "array" + }, + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false }, "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" }, "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" }, - "hostAliases": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostnames": { - "type": "array", - "items": { + "securityContext": { + "description": "Configures pod-level security attributes and common container settings.", + "properties": { + "fsGroup": { + "type": "integer" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "runAsUser": { + "type": "integer" + }, + "seLinuxOptions": { + "properties": { + "level": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "user": { "type": "string" } }, - "ip": { - "type": "string" - } + "type": "object", + "additionalProperties": false }, - "additionalProperties": false + "seccompProfile": { + "properties": { + "localhostProfile": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "windowsOptions": { + "properties": { + "gmsaCredentialSpec": { + "type": "string" + }, + "gmsaCredentialSpecName": { + "type": "string" + }, + "hostProcess": { + "type": "boolean" + }, + "runAsUserName": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + } }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." + "type": "object", + "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" }, "tmpDirSizeLimit": { - "type": "string", + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." + "type": "string" }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." + "tolerations": { + "description": "The pod's tolerations.", + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" }, "topologySpreadConstraints": { - "type": "array", + "description": "The pod's topology spread constraints.", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1353,25 +1683,43 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, "maxSkew": { "type": "integer" }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, "topologyKey": { "type": "string" }, @@ -1379,220 +1727,106 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's topology spread constraints." + "type": "array" } }, - "description": "Template for Kafka Connect `Pods`.", + "type": "object", "additionalProperties": false }, - "apiService": { - "type": "object", + "buildServiceAccount": { + "description": "Template for the Kafka Connect Build service account.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false - }, - "ipFamilyPolicy": { - "type": "string", - "enum": [ - "SingleStack", - "PreferDualStack", - "RequireDualStack" - ], - "description": "Specifies the IP Family Policy used by the service. Available options are `SingleStack`, `PreferDualStack` and `RequireDualStack`. `SingleStack` is for a single IP family. `PreferDualStack` is for two IP families on dual-stack configured clusters or a single IP family on single-stack clusters. `RequireDualStack` fails unless there are two IP families on dual-stack configured clusters. If unspecified, Kubernetes will choose the default value based on the service type. Available on Kubernetes 1.20 and newer." - }, - "ipFamilies": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - }, - "description": "Specifies the IP Families used by the service. Available options are `IPv4` and `IPv6. If unspecified, Kubernetes will choose the default value based on the `ipFamilyPolicy` setting. Available on Kubernetes 1.20 and newer." } }, - "description": "Template for Kafka Connect API `Service`.", + "type": "object", "additionalProperties": false }, - "connectContainer": { - "type": "object", + "clusterRoleBinding": { + "description": "Template for the Kafka Connect ClusterRoleBinding.", "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, - "additionalProperties": false - }, - "description": "Environment variables which should be applied to the container." - }, - "securityContext": { - "type": "object", + "metadata": { + "description": "Metadata applied to the resource.", "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "privileged": { - "type": "boolean" - }, - "procMount": { - "type": "string" - }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, - "runAsGroup": { - "type": "integer" - }, - "runAsNonRoot": { - "type": "boolean" - }, - "runAsUser": { - "type": "integer" - }, - "seLinuxOptions": { - "type": "object", - "properties": { - "level": { - "type": "string" - }, - "role": { - "type": "string" - }, - "type": { - "type": "string" - }, - "user": { - "type": "string" - } - }, - "additionalProperties": false - }, - "seccompProfile": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "localhostProfile": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true }, - "windowsOptions": { + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "gmsaCredentialSpec": { - "type": "string" - }, - "gmsaCredentialSpecName": { - "type": "string" - }, - "hostProcess": { - "type": "boolean" - }, - "runAsUserName": { - "type": "string" - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Kafka Connect container.", + "type": "object", "additionalProperties": false }, - "initContainer": { - "type": "object", + "connectContainer": { + "description": "Template for the Kafka Connect container.", "properties": { "env": { - "type": "array", + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { - "type": "string", - "description": "The environment variable key." + "description": "The environment variable key.", + "type": "string" }, "value": { - "type": "string", - "description": "The environment variable value." + "description": "The environment variable value.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "Environment variables which should be applied to the container." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { "allowPrivilegeEscalation": { "type": "boolean" }, "capabilities": { - "type": "object", "properties": { "add": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "drop": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "privileged": { @@ -1614,7 +1848,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -1629,10 +1862,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -1641,10 +1874,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -1659,135 +1892,103 @@ "type": "string" } }, - "additionalProperties": false - } - }, - "description": "Security context for the container.", - "additionalProperties": false - } - }, - "description": "Template for the Kafka init container.", - "additionalProperties": false - }, - "podDisruptionBudget": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "additionalProperties": false } }, - "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", - "additionalProperties": false - }, - "maxUnavailable": { - "type": "integer", - "minimum": 0, - "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1." - } - }, - "description": "Template for Kafka Connect `PodDisruptionBudget`.", - "additionalProperties": false - }, - "serviceAccount": { - "type": "object", - "properties": { - "metadata": { "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", "additionalProperties": false } }, - "description": "Template for the Kafka Connect service account.", - "additionalProperties": false - }, - "clusterRoleBinding": { "type": "object", - "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - } - }, - "description": "Template for the Kafka Connect ClusterRoleBinding.", "additionalProperties": false }, - "buildPod": { - "type": "object", + "deployment": { + "description": "Template for Kafka Connect `Deployment`.", "properties": { + "deploymentStrategy": { + "description": "Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`.", + "enum": [ + "RollingUpdate", + "Recreate" + ], + "type": "string" + }, "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false - }, - "imagePullSecrets": { - "type": "array", + } + }, + "type": "object", + "additionalProperties": false + }, + "initContainer": { + "description": "Template for the Kafka init container.", + "properties": { + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -1798,7 +1999,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -1813,10 +2013,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -1825,31 +2025,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -1864,35 +2043,56 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, - "affinity": { + } + }, + "type": "object", + "additionalProperties": false + }, + "jmxSecret": { + "description": "Template for Secret of the Kafka Connect Cluster JMX authentication.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "pod": { + "description": "Template for Kafka Connect `Pods`.", + "properties": { + "affinity": { + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1901,19 +2101,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1922,37 +2122,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1961,19 +2161,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1982,43 +2182,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2027,29 +2226,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2058,53 +2257,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2113,29 +2313,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2144,56 +2344,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2202,29 +2401,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2233,53 +2432,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2288,29 +2488,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -2319,211 +2519,118 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, - "additionalProperties": false - } - } - }, - "additionalProperties": false - } - }, - "description": "The pod's affinity rules.", - "additionalProperties": false - }, - "tolerations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + } }, - "description": "The pod's tolerations." - }, - "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." + "type": "object", + "additionalProperties": false }, - "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" }, "hostAliases": { - "type": "array", + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { "hostnames": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "ip": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." - }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." + "type": "array" }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." - }, - "topologySpreadConstraints": { - "type": "array", + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", "items": { - "type": "object", "properties": { - "labelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "additionalProperties": false - }, - "maxSkew": { - "type": "integer" - }, - "topologyKey": { - "type": "string" - }, - "whenUnsatisfiable": { + "name": { "type": "string" } }, - "additionalProperties": false - }, - "description": "The pod's topology spread constraints." - } - }, - "description": "Template for Kafka Connect Build `Pods`. The build pod is used only on Kubernetes.", - "additionalProperties": false - }, - "buildContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", - "items": { "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, "additionalProperties": false }, - "description": "Environment variables which should be applied to the container." + "type": "array" }, - "securityContext": { - "type": "object", + "metadata": { + "description": "Metadata applied to the resource.", "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true }, - "privileged": { - "type": "boolean" + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "priorityClassName": { + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" + }, + "schedulerName": { + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" + }, + "securityContext": { + "description": "Configures pod-level security attributes and common container settings.", + "properties": { + "fsGroup": { + "type": "integer" }, - "procMount": { + "fsGroupChangePolicy": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, "runAsGroup": { "type": "integer" }, @@ -2534,7 +2641,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -2549,10 +2655,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -2561,10 +2667,31 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -2579,396 +2706,308 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", - "additionalProperties": false - } - }, - "description": "Template for the Kafka Connect Build container. The build container is used only on Kubernetes.", - "additionalProperties": false - }, - "buildConfig": { - "type": "object", - "properties": { - "metadata": { "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" + } }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } + "type": "object", + "additionalProperties": false }, - "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", - "additionalProperties": false + "type": "array" }, - "pullSecret": { - "type": "string", - "description": "Container Registry Secret with the credentials for pulling the base image." + "topologySpreadConstraints": { + "description": "The pod's topology spread constraints.", + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "maxSkew": { + "type": "integer" + }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" } }, - "description": "Template for the Kafka Connect BuildConfig used to build new container images. The BuildConfig is used only on OpenShift.", + "type": "object", "additionalProperties": false }, - "buildServiceAccount": { - "type": "object", + "podDisruptionBudget": { + "description": "Template for Kafka Connect `PodDisruptionBudget`.", "properties": { + "maxUnavailable": { + "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1.", + "minimum": 0, + "type": "integer" + }, "metadata": { - "type": "object", + "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for the Kafka Connect Build service account.", + "type": "object", "additionalProperties": false }, - "jmxSecret": { - "type": "object", + "serviceAccount": { + "description": "Template for the Kafka Connect service account.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for Secret of the Kafka Connect Cluster JMX authentication.", + "type": "object", "additionalProperties": false } }, - "description": "Template for Kafka Connect and Kafka Mirror Maker 2 resources. The template allows users to specify how the `Deployment`, `Pods` and `Service` are generated.", - "additionalProperties": false - }, - "externalConfiguration": { "type": "object", - "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the environment variable which will be passed to the Kafka Connect pods. The name of the environment variable cannot start with `KAFKA_` or `STRIMZI_`." - }, - "valueFrom": { - "type": "object", - "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to a key in a ConfigMap.", - "additionalProperties": false - }, - "secretKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to a key in a Secret.", - "additionalProperties": false - } - }, - "description": "Value of the environment variable which will be passed to the Kafka Connect pods. It can be passed either as a reference to Secret or ConfigMap field. The field has to specify exactly one Secret or ConfigMap.", - "additionalProperties": false - } - }, - "required": [ - "name", - "valueFrom" - ], - "additionalProperties": false - }, - "description": "Makes data from a Secret or ConfigMap available in the Kafka Connect pods as environment variables." - }, - "volumes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "configMap": { - "type": "object", - "properties": { - "defaultMode": { - "type": "integer" - }, - "items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "mode": { - "type": "integer" - }, - "path": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to a key in a ConfigMap. Exactly one Secret or ConfigMap has to be specified.", - "additionalProperties": false - }, - "name": { - "type": "string", - "description": "Name of the volume which will be added to the Kafka Connect pods." - }, - "secret": { - "type": "object", - "properties": { - "defaultMode": { - "type": "integer" - }, - "items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "mode": { - "type": "integer" - }, - "path": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "optional": { - "type": "boolean" - }, - "secretName": { - "type": "string" - } - }, - "description": "Reference to a key in a Secret. Exactly one Secret or ConfigMap has to be specified.", - "additionalProperties": false - } - }, - "required": [ - "name" - ], - "additionalProperties": false - }, - "description": "Makes data from a Secret or ConfigMap available in the Kafka Connect pods as volumes." - } - }, - "description": "Pass data from Secrets or ConfigMaps to the Kafka Connect pods and use them to configure connectors.", "additionalProperties": false }, - "metricsConfig": { - "type": "object", + "tracing": { + "description": "The configuration of tracing in Kafka Connect.", "properties": { "type": { - "type": "string", + "description": "Type of the tracing used. Currently the only supported types are `jaeger` for OpenTracing (Jaeger) tracing and `opentelemetry` for OpenTelemetry tracing. The OpenTracing (Jaeger) tracing is deprecated.", "enum": [ - "jmxPrometheusExporter" + "jaeger", + "opentelemetry" ], - "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently." - }, - "valueFrom": { - "type": "object", - "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to the key in the ConfigMap containing the configuration.", - "additionalProperties": false - } - }, - "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", - "additionalProperties": false + "type": "string" } }, "required": [ - "type", - "valueFrom" + "type" ], - "description": "Metrics configuration.", + "type": "object", "additionalProperties": false + }, + "version": { + "description": "The Kafka Connect version. Defaults to {DefaultKafkaVersion}. Consult the user documentation to understand the process required to upgrade or downgrade the version.", + "type": "string" } }, "required": [ "connectCluster" ], - "description": "The specification of the Kafka MirrorMaker 2.0 cluster.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the Kafka MirrorMaker 2.0 cluster.", "properties": { - "conditions": { - "type": "array", + "autoRestartStatuses": { + "description": "List of MirrorMaker 2.0 connector auto restart statuses.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, - "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "connectorName": { + "description": "The name of the connector being restarted.", + "type": "string" }, - "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "count": { + "description": "The number of times the connector or task is restarted.", + "type": "integer" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "lastRestartTimestamp": { + "description": "The last time the automatic restart was attempted. The required format is 'yyyy-MM-ddTHH:mm:ssZ' in the UTC time zone.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." - }, - "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." - }, - "url": { - "type": "string", - "description": "The URL of the REST API endpoint for managing and monitoring Kafka Connect connectors." + "type": "array" }, - "autoRestartStatuses": { - "type": "array", - "description": "List of MirrorMaker 2.0 connector auto restart statuses.", + "conditions": { + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "count": { - "type": "integer", - "description": "The number of times the connector or task is restarted." + "lastTransitionTime": { + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" }, - "connectorName": { - "type": "string", - "description": "The name of the connector being restarted." + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, - "lastRestartTimestamp": { - "type": "string", - "description": "The last time the automatic restart was attempted. The required format is 'yyyy-MM-ddTHH:mm:ssZ' in the UTC time zone." + "reason": { + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" + }, + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } - } - } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" }, "connectorPlugins": { - "type": "array", + "description": "The list of connector plugins available in this Kafka Connect deployment.", "items": { - "type": "object", "properties": { + "class": { + "description": "The class of the connector plugin.", + "type": "string" + }, "type": { - "type": "string", - "description": "The type of the connector plugin. The available types are `sink` and `source`." + "description": "The type of the connector plugin. The available types are `sink` and `source`.", + "type": "string" }, "version": { - "type": "string", - "description": "The version of the connector plugin." - }, - "class": { - "type": "string", - "description": "The class of the connector plugin." + "description": "The version of the connector plugin.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The list of connector plugins available in this Kafka Connect deployment." + "type": "array" }, "connectors": { - "type": "array", + "description": "List of MirrorMaker 2.0 connector statuses, as reported by the Kafka Connect REST API.", "items": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, - "description": "List of MirrorMaker 2.0 connector statuses, as reported by the Kafka Connect REST API." + "type": "array" }, "labelSelector": { - "type": "string", - "description": "Label selector for pods providing this resource." + "description": "Label selector for pods providing this resource.", + "type": "string" + }, + "observedGeneration": { + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "replicas": { - "type": "integer", - "description": "The current number of pods being used to provide this resource." + "description": "The current number of pods being used to provide this resource.", + "type": "integer" + }, + "url": { + "description": "The URL of the REST API endpoint for managing and monitoring Kafka Connect connectors.", + "type": "string" } }, - "description": "The status of the Kafka MirrorMaker 2.0 cluster.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkamirrormaker_v1beta2.json b/kafka.strimzi.io/kafkamirrormaker_v1beta2.json index 5df14455..41d9daee 100644 --- a/kafka.strimzi.io/kafkamirrormaker_v1beta2.json +++ b/kafka.strimzi.io/kafkamirrormaker_v1beta2.json @@ -1,86 +1,73 @@ { - "type": "object", "properties": { "spec": { - "type": "object", - "properties": { - "version": { - "type": "string", - "description": "The Kafka MirrorMaker version. Defaults to {DefaultKafkaVersion}. Consult the documentation to understand the process required to upgrade or downgrade the version." - }, - "replicas": { - "type": "integer", - "minimum": 0, - "description": "The number of pods in the `Deployment`." - }, - "image": { - "type": "string", - "description": "The docker image for the pods." + "description": "The specification of Kafka MirrorMaker.", + "oneOf": [ + { + "properties": { + "include": {} + }, + "required": [ + "include" + ] }, + { + "properties": { + "whitelist": {} + }, + "required": [ + "whitelist" + ] + } + ], + "properties": { "consumer": { - "type": "object", + "description": "Configuration of source cluster.", "properties": { - "numStreams": { - "type": "integer", - "minimum": 1, - "description": "Specifies the number of consumer stream threads to create." - }, - "offsetCommitInterval": { - "type": "integer", - "description": "Specifies the offset auto-commit interval in ms. Default value is 60000." - }, - "bootstrapServers": { - "type": "string", - "description": "A list of host:port pairs for establishing the initial connection to the Kafka cluster." - }, - "groupId": { - "type": "string", - "description": "A unique string that identifies the consumer group this consumer belongs to." - }, "authentication": { - "type": "object", + "description": "Authentication configuration for connecting to the cluster.", "properties": { "accessToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", + "type": "object", "additionalProperties": false }, "accessTokenIsJwt": { - "type": "boolean", - "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`." + "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`.", + "type": "boolean" }, "audience": { - "type": "string", - "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request." + "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request.", + "type": "string" }, "certificateAndKey": { - "type": "object", + "description": "Reference to the `Secret` which holds the certificate and private key pair.", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "key": { - "type": "string", - "description": "The name of the private key in the Secret." + "description": "The name of the private key in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ @@ -88,118 +75,122 @@ "key", "secretName" ], - "description": "Reference to the `Secret` which holds the certificate and private key pair.", + "type": "object", "additionalProperties": false }, "clientId": { - "type": "string", - "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI." + "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "string" }, "clientSecret": { - "type": "object", + "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "object", "additionalProperties": false }, "connectTimeoutSeconds": { - "type": "integer", - "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds." + "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds.", + "type": "integer" }, "disableTlsHostnameVerification": { - "type": "boolean", - "description": "Enable or disable TLS hostname verification. Default value is `false`." + "description": "Enable or disable TLS hostname verification. Default value is `false`.", + "type": "boolean" + }, + "enableMetrics": { + "description": "Enable or disable OAuth metrics. Default value is `false`.", + "type": "boolean" }, "maxTokenExpirySeconds": { - "type": "integer", - "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens." + "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens.", + "type": "integer" }, "passwordSecret": { - "type": "object", + "description": "Reference to the `Secret` which holds the password.", "properties": { "password": { - "type": "string", - "description": "The name of the key in the Secret under which the password is stored." + "description": "The name of the key in the Secret under which the password is stored.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the password." + "description": "The name of the Secret containing the password.", + "type": "string" } }, "required": [ "password", "secretName" ], - "description": "Reference to the `Secret` which holds the password.", + "type": "object", "additionalProperties": false }, "readTimeoutSeconds": { - "type": "integer", - "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds." + "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds.", + "type": "integer" }, "refreshToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", + "type": "object", "additionalProperties": false }, "scope": { - "type": "string", - "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request." + "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request.", + "type": "string" }, "tlsTrustedCertificates": { - "type": "array", + "description": "Trusted certificates for TLS connection to the OAuth server.", "items": { - "type": "object", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ "certificate", "secretName" ], + "type": "object", "additionalProperties": false }, - "description": "Trusted certificates for TLS connection to the OAuth server." + "type": "array" }, "tokenEndpointUri": { - "type": "string", - "description": "Authorization server token endpoint URI." + "description": "Authorization server token endpoint URI.", + "type": "string" }, "type": { - "type": "string", + "description": "Authentication type. Currently the supported types are `tls`, `scram-sha-256`, `scram-sha-512`, `plain`, and 'oauth'. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections.", "enum": [ "tls", "scram-sha-256", @@ -207,51 +198,68 @@ "plain", "oauth" ], - "description": "Authentication type. Currently the only supported types are `tls`, `scram-sha-256`, `scram-sha-512`, and `plain`. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections." + "type": "string" }, "username": { - "type": "string", - "description": "Username used for the authentication." + "description": "Username used for the authentication.", + "type": "string" } }, "required": [ "type" ], - "description": "Authentication configuration for connecting to the cluster.", + "type": "object", "additionalProperties": false }, + "bootstrapServers": { + "description": "A list of host:port pairs for establishing the initial connection to the Kafka cluster.", + "type": "string" + }, "config": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "The MirrorMaker consumer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, group.id, sasl., security., interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols).", "type": "object", - "description": "The MirrorMaker consumer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, group.id, sasl., security., interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)." + "x-kubernetes-preserve-unknown-fields": true + }, + "groupId": { + "description": "A unique string that identifies the consumer group this consumer belongs to.", + "type": "string" + }, + "numStreams": { + "description": "Specifies the number of consumer stream threads to create.", + "minimum": 1, + "type": "integer" + }, + "offsetCommitInterval": { + "description": "Specifies the offset auto-commit interval in ms. Default value is 60000.", + "type": "integer" }, "tls": { - "type": "object", + "description": "TLS configuration for connecting MirrorMaker to the cluster.", "properties": { "trustedCertificates": { - "type": "array", + "description": "Trusted certificates for TLS connection.", "items": { - "type": "object", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ "certificate", "secretName" ], + "type": "object", "additionalProperties": false }, - "description": "Trusted certificates for TLS connection." + "type": "array" } }, - "description": "TLS configuration for connecting MirrorMaker to the cluster.", + "type": "object", "additionalProperties": false } }, @@ -259,64 +267,231 @@ "bootstrapServers", "groupId" ], - "description": "Configuration of source cluster.", + "type": "object", "additionalProperties": false }, - "producer": { + "image": { + "description": "The docker image for the pods.", + "type": "string" + }, + "include": { + "description": "List of topics which are included for mirroring. This option allows any regular expression using Java-style regular expressions. Mirroring two topics named A and B is achieved by using the expression `A\\|B`. Or, as a special case, you can mirror all topics using the regular expression `*`. You can also specify multiple regular expressions separated by commas.", + "type": "string" + }, + "jvmOptions": { + "description": "JVM Options for pods.", + "properties": { + "-XX": { + "description": "A map of -XX options to the JVM.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "-Xms": { + "description": "-Xms option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "-Xmx": { + "description": "-Xmx option to to the JVM.", + "pattern": "^[0-9]+[mMgG]?$", + "type": "string" + }, + "gcLoggingEnabled": { + "description": "Specifies whether the Garbage Collection logging is enabled. The default is false.", + "type": "boolean" + }, + "javaSystemProperties": { + "description": "A map of additional system properties which will be passed using the `-D` option to the JVM.", + "items": { + "properties": { + "name": { + "description": "The system property name.", + "type": "string" + }, + "value": { + "description": "The system property value.", + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, "type": "object", + "additionalProperties": false + }, + "livenessProbe": { + "description": "Pod liveness checking.", "properties": { - "bootstrapServers": { - "type": "string", - "description": "A list of host:port pairs for establishing the initial connection to the Kafka cluster." + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" + }, + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + }, + "logging": { + "description": "Logging configuration for MirrorMaker.", + "properties": { + "loggers": { + "description": "A Map from logger name to logger level.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "type": { + "description": "Logging type, must be either 'inline' or 'external'.", + "enum": [ + "inline", + "external" + ], + "type": "string" + }, + "valueFrom": { + "description": "`ConfigMap` entry where the logging configuration is stored. ", + "properties": { + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "metricsConfig": { + "description": "Metrics configuration.", + "properties": { + "type": { + "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently.", + "enum": [ + "jmxPrometheusExporter" + ], + "type": "string" }, + "valueFrom": { + "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", + "properties": { + "configMapKeyRef": { + "description": "Reference to the key in the ConfigMap containing the configuration.", + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "type", + "valueFrom" + ], + "type": "object", + "additionalProperties": false + }, + "producer": { + "description": "Configuration of target cluster.", + "properties": { "abortOnSendFailure": { - "type": "boolean", - "description": "Flag to set the MirrorMaker to exit on a failed send. Default value is `true`." + "description": "Flag to set the MirrorMaker to exit on a failed send. Default value is `true`.", + "type": "boolean" }, "authentication": { - "type": "object", + "description": "Authentication configuration for connecting to the cluster.", "properties": { "accessToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the access token which was obtained from the authorization server.", + "type": "object", "additionalProperties": false }, "accessTokenIsJwt": { - "type": "boolean", - "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`." + "description": "Configure whether access token should be treated as JWT. This should be set to `false` if the authorization server returns opaque tokens. Defaults to `true`.", + "type": "boolean" }, "audience": { - "type": "string", - "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request." + "description": "OAuth audience to use when authenticating against the authorization server. Some authorization servers require the audience to be explicitly set. The possible values depend on how the authorization server is configured. By default, `audience` is not specified when performing the token endpoint request.", + "type": "string" }, "certificateAndKey": { - "type": "object", + "description": "Reference to the `Secret` which holds the certificate and private key pair.", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "key": { - "type": "string", - "description": "The name of the private key in the Secret." + "description": "The name of the private key in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ @@ -324,118 +499,122 @@ "key", "secretName" ], - "description": "Reference to the `Secret` which holds the certificate and private key pair.", + "type": "object", "additionalProperties": false }, "clientId": { - "type": "string", - "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI." + "description": "OAuth Client ID which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "string" }, "clientSecret": { - "type": "object", + "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the OAuth client secret which the Kafka client can use to authenticate against the OAuth server and use the token endpoint URI.", + "type": "object", "additionalProperties": false }, "connectTimeoutSeconds": { - "type": "integer", - "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds." + "description": "The connect timeout in seconds when connecting to authorization server. If not set, the effective connect timeout is 60 seconds.", + "type": "integer" }, "disableTlsHostnameVerification": { - "type": "boolean", - "description": "Enable or disable TLS hostname verification. Default value is `false`." + "description": "Enable or disable TLS hostname verification. Default value is `false`.", + "type": "boolean" + }, + "enableMetrics": { + "description": "Enable or disable OAuth metrics. Default value is `false`.", + "type": "boolean" }, "maxTokenExpirySeconds": { - "type": "integer", - "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens." + "description": "Set or limit time-to-live of the access tokens to the specified number of seconds. This should be set if the authorization server returns opaque tokens.", + "type": "integer" }, "passwordSecret": { - "type": "object", + "description": "Reference to the `Secret` which holds the password.", "properties": { "password": { - "type": "string", - "description": "The name of the key in the Secret under which the password is stored." + "description": "The name of the key in the Secret under which the password is stored.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the password." + "description": "The name of the Secret containing the password.", + "type": "string" } }, "required": [ "password", "secretName" ], - "description": "Reference to the `Secret` which holds the password.", + "type": "object", "additionalProperties": false }, "readTimeoutSeconds": { - "type": "integer", - "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds." + "description": "The read timeout in seconds when connecting to authorization server. If not set, the effective read timeout is 60 seconds.", + "type": "integer" }, "refreshToken": { - "type": "object", + "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", "properties": { "key": { - "type": "string", - "description": "The key under which the secret value is stored in the Kubernetes Secret." + "description": "The key under which the secret value is stored in the Kubernetes Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Kubernetes Secret containing the secret value." + "description": "The name of the Kubernetes Secret containing the secret value.", + "type": "string" } }, "required": [ "key", "secretName" ], - "description": "Link to Kubernetes Secret containing the refresh token which can be used to obtain access token from the authorization server.", + "type": "object", "additionalProperties": false }, "scope": { - "type": "string", - "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request." + "description": "OAuth scope to use when authenticating against the authorization server. Some authorization servers require this to be set. The possible values depend on how authorization server is configured. By default `scope` is not specified when doing the token endpoint request.", + "type": "string" }, "tlsTrustedCertificates": { - "type": "array", + "description": "Trusted certificates for TLS connection to the OAuth server.", "items": { - "type": "object", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ "certificate", "secretName" ], + "type": "object", "additionalProperties": false }, - "description": "Trusted certificates for TLS connection to the OAuth server." + "type": "array" }, "tokenEndpointUri": { - "type": "string", - "description": "Authorization server token endpoint URI." + "description": "Authorization server token endpoint URI.", + "type": "string" }, "type": { - "type": "string", + "description": "Authentication type. Currently the supported types are `tls`, `scram-sha-256`, `scram-sha-512`, `plain`, and 'oauth'. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections.", "enum": [ "tls", "scram-sha-256", @@ -443,308 +622,205 @@ "plain", "oauth" ], - "description": "Authentication type. Currently the only supported types are `tls`, `scram-sha-256`, `scram-sha-512`, and `plain`. `scram-sha-256` and `scram-sha-512` types use SASL SCRAM-SHA-256 and SASL SCRAM-SHA-512 Authentication, respectively. `plain` type uses SASL PLAIN Authentication. `oauth` type uses SASL OAUTHBEARER Authentication. The `tls` type uses TLS Client Authentication. The `tls` type is supported only over TLS connections." + "type": "string" }, "username": { - "type": "string", - "description": "Username used for the authentication." + "description": "Username used for the authentication.", + "type": "string" } }, "required": [ "type" ], - "description": "Authentication configuration for connecting to the cluster.", + "type": "object", "additionalProperties": false }, + "bootstrapServers": { + "description": "A list of host:port pairs for establishing the initial connection to the Kafka cluster.", + "type": "string" + }, "config": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "The MirrorMaker producer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, sasl., security., interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols).", "type": "object", - "description": "The MirrorMaker producer config. Properties with the following prefixes cannot be set: ssl., bootstrap.servers, sasl., security., interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)." + "x-kubernetes-preserve-unknown-fields": true }, "tls": { - "type": "object", + "description": "TLS configuration for connecting MirrorMaker to the cluster.", "properties": { "trustedCertificates": { - "type": "array", + "description": "Trusted certificates for TLS connection.", "items": { - "type": "object", "properties": { "certificate": { - "type": "string", - "description": "The name of the file certificate in the Secret." + "description": "The name of the file certificate in the Secret.", + "type": "string" }, "secretName": { - "type": "string", - "description": "The name of the Secret containing the certificate." + "description": "The name of the Secret containing the certificate.", + "type": "string" } }, "required": [ "certificate", "secretName" ], + "type": "object", "additionalProperties": false }, - "description": "Trusted certificates for TLS connection." + "type": "array" } }, - "description": "TLS configuration for connecting MirrorMaker to the cluster.", + "type": "object", "additionalProperties": false } }, "required": [ "bootstrapServers" ], - "description": "Configuration of target cluster.", - "additionalProperties": false - }, - "resources": { "type": "object", - "properties": { - "limits": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "requests": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "description": "CPU and memory resources to reserve.", "additionalProperties": false }, - "whitelist": { - "type": "string", - "description": "List of topics which are included for mirroring. This option allows any regular expression using Java-style regular expressions. Mirroring two topics named A and B is achieved by using the expression `A\\|B`. Or, as a special case, you can mirror all topics using the regular expression `*`. You can also specify multiple regular expressions separated by commas." - }, - "include": { - "type": "string", - "description": "List of topics which are included for mirroring. This option allows any regular expression using Java-style regular expressions. Mirroring two topics named A and B is achieved by using the expression `A\\|B`. Or, as a special case, you can mirror all topics using the regular expression `*`. You can also specify multiple regular expressions separated by commas." - }, - "jvmOptions": { - "type": "object", + "readinessProbe": { + "description": "Pod readiness checking.", "properties": { - "-XX": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "A map of -XX options to the JVM." + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "-Xms": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xms option to to the JVM." + "initialDelaySeconds": { + "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0.", + "minimum": 0, + "type": "integer" }, - "-Xmx": { - "type": "string", - "pattern": "^[0-9]+[mMgG]?$", - "description": "-Xmx option to to the JVM." + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "gcLoggingEnabled": { - "type": "boolean", - "description": "Specifies whether the Garbage Collection logging is enabled. The default is false." + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", + "minimum": 1, + "type": "integer" }, - "javaSystemProperties": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The system property name." - }, - "value": { - "type": "string", - "description": "The system property value." - } - }, - "additionalProperties": false - }, - "description": "A map of additional system properties which will be passed using the `-D` option to the JVM." + "timeoutSeconds": { + "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1.", + "minimum": 1, + "type": "integer" } }, - "description": "JVM Options for pods.", - "additionalProperties": false - }, - "logging": { "type": "object", - "properties": { - "loggers": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "A Map from logger name to logger level." - }, - "type": { - "type": "string", - "enum": [ - "inline", - "external" - ], - "description": "Logging type, must be either 'inline' or 'external'." - }, - "valueFrom": { - "type": "object", - "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to the key in the ConfigMap containing the configuration.", - "additionalProperties": false - } - }, - "description": "`ConfigMap` entry where the logging configuration is stored. ", - "additionalProperties": false - } - }, - "required": [ - "type" - ], - "description": "Logging configuration for MirrorMaker.", "additionalProperties": false }, - "metricsConfig": { - "type": "object", + "replicas": { + "description": "The number of pods in the `Deployment`.", + "minimum": 0, + "type": "integer" + }, + "resources": { + "description": "CPU and memory resources to reserve.", "properties": { - "type": { - "type": "string", - "enum": [ - "jmxPrometheusExporter" - ], - "description": "Metrics type. Only 'jmxPrometheusExporter' supported currently." + "limits": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true }, - "valueFrom": { + "requests": { "type": "object", - "properties": { - "configMapKeyRef": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "description": "Reference to the key in the ConfigMap containing the configuration.", - "additionalProperties": false - } - }, - "description": "ConfigMap entry where the Prometheus JMX Exporter configuration is stored. For details of the structure of this configuration, see the {JMXExporter}.", - "additionalProperties": false + "x-kubernetes-preserve-unknown-fields": true } }, - "required": [ - "type", - "valueFrom" - ], - "description": "Metrics configuration.", - "additionalProperties": false - }, - "tracing": { "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "jaeger" - ], - "description": "Type of the tracing used. Currently the only supported type is `jaeger` for Jaeger tracing." - } - }, - "required": [ - "type" - ], - "description": "The configuration of tracing in Kafka MirrorMaker.", "additionalProperties": false }, "template": { - "type": "object", + "description": "Template to specify how Kafka MirrorMaker resources, `Deployments` and `Pods`, are generated.", "properties": { "deployment": { - "type": "object", + "description": "Template for Kafka MirrorMaker `Deployment`.", "properties": { - "metadata": { - "type": "object", - "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." - } - }, - "description": "Metadata applied to the resource.", - "additionalProperties": false - }, "deploymentStrategy": { - "type": "string", + "description": "Pod replacement strategy for deployment configuration changes. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`.", "enum": [ "RollingUpdate", "Recreate" ], - "description": "DeploymentStrategy which will be used for this Deployment. Valid values are `RollingUpdate` and `Recreate`. Defaults to `RollingUpdate`." - } - }, - "description": "Template for Kafka MirrorMaker `Deployment`.", - "additionalProperties": false - }, - "pod": { - "type": "object", - "properties": { + "type": "string" + }, "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false - }, - "imagePullSecrets": { - "type": "array", + } + }, + "type": "object", + "additionalProperties": false + }, + "mirrorMakerContainer": { + "description": "Template for Kafka MirrorMaker container.", + "properties": { + "env": { + "description": "Environment variables which should be applied to the container.", "items": { - "type": "object", "properties": { "name": { + "description": "The environment variable key.", + "type": "string" + }, + "value": { + "description": "The environment variable value.", "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored." + "type": "array" }, "securityContext": { - "type": "object", + "description": "Security context for the container.", "properties": { - "fsGroup": { - "type": "integer" + "allowPrivilegeEscalation": { + "type": "boolean" }, - "fsGroupChangePolicy": { + "capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "privileged": { + "type": "boolean" + }, + "procMount": { "type": "string" }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, "runAsGroup": { "type": "integer" }, @@ -755,7 +831,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -770,10 +845,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -782,31 +857,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sysctls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - } - }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -821,35 +875,32 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Configures pod-level security attributes and common container settings.", + "type": "object", "additionalProperties": false - }, - "terminationGracePeriodSeconds": { - "type": "integer", - "minimum": 0, - "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds." - }, + } + }, + "type": "object", + "additionalProperties": false + }, + "pod": { + "description": "Template for Kafka MirrorMaker `Pods`.", + "properties": { "affinity": { - "type": "object", + "description": "The pod's affinity rules.", "properties": { "nodeAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "preference": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -858,19 +909,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -879,37 +930,37 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "object", "properties": { "nodeSelectorTerms": { - "type": "array", "items": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -918,19 +969,19 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchFields": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -939,43 +990,42 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, + "type": "object", "additionalProperties": false }, "podAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -984,29 +1034,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1015,53 +1065,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1070,29 +1121,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1101,56 +1152,55 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false }, "podAntiAffinity": { - "type": "object", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "podAffinityTerm": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1159,29 +1209,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1190,53 +1240,54 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false }, "weight": { "type": "integer" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", "items": { - "type": "object", "properties": { "labelSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1245,29 +1296,29 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaceSelector": { - "type": "object", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -1276,240 +1327,118 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, + "type": "object", "additionalProperties": false }, "namespaces": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "topologyKey": { "type": "string" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false } }, - "description": "The pod's affinity rules.", + "type": "object", "additionalProperties": false }, - "tolerations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "effect": { - "type": "string" - }, - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "tolerationSeconds": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "additionalProperties": false - }, - "description": "The pod's tolerations." - }, - "priorityClassName": { - "type": "string", - "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}." - }, - "schedulerName": { - "type": "string", - "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used." + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into Pod's environment variables.", + "type": "boolean" }, "hostAliases": { - "type": "array", + "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified.", "items": { - "type": "object", "properties": { "hostnames": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" }, "ip": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's HostAliases. HostAliases is an optional list of hosts and IPs that will be injected into the Pod's hosts file if specified." - }, - "tmpDirSizeLimit": { - "type": "string", - "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", - "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`." - }, - "enableServiceLinks": { - "type": "boolean", - "description": "Indicates whether information about services should be injected into Pod's environment variables." + "type": "array" }, - "topologySpreadConstraints": { - "type": "array", + "imagePullSecrets": { + "description": "List of references to secrets in the same namespace to use for pulling any of the images used by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment variable in Cluster Operator and the `imagePullSecrets` option are specified, only the `imagePullSecrets` variable is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable is ignored.", "items": { - "type": "object", "properties": { - "labelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - } - }, - "additionalProperties": false - }, - "maxSkew": { - "type": "integer" - }, - "topologyKey": { - "type": "string" - }, - "whenUnsatisfiable": { + "name": { "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "The pod's topology spread constraints." - } - }, - "description": "Template for Kafka MirrorMaker `Pods`.", - "additionalProperties": false - }, - "podDisruptionBudget": { - "type": "object", - "properties": { + "type": "array" + }, "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", + "type": "object", "additionalProperties": false }, - "maxUnavailable": { - "type": "integer", - "minimum": 0, - "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1." - } - }, - "description": "Template for Kafka MirrorMaker `PodDisruptionBudget`.", - "additionalProperties": false - }, - "mirrorMakerContainer": { - "type": "object", - "properties": { - "env": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The environment variable key." - }, - "value": { - "type": "string", - "description": "The environment variable value." - } - }, - "additionalProperties": false - }, - "description": "Environment variables which should be applied to the container." + "priorityClassName": { + "description": "The name of the priority class used to assign priority to the pods. For more information about priority classes, see {K8sPriorityClass}.", + "type": "string" + }, + "schedulerName": { + "description": "The name of the scheduler used to dispatch this `Pod`. If not specified, the default scheduler will be used.", + "type": "string" }, "securityContext": { - "type": "object", + "description": "Configures pod-level security attributes and common container settings.", "properties": { - "allowPrivilegeEscalation": { - "type": "boolean" - }, - "capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - } - }, - "drop": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "privileged": { - "type": "boolean" + "fsGroup": { + "type": "integer" }, - "procMount": { + "fsGroupChangePolicy": { "type": "string" }, - "readOnlyRootFilesystem": { - "type": "boolean" - }, "runAsGroup": { "type": "integer" }, @@ -1520,7 +1449,6 @@ "type": "integer" }, "seLinuxOptions": { - "type": "object", "properties": { "level": { "type": "string" @@ -1535,10 +1463,10 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, "seccompProfile": { - "type": "object", "properties": { "localhostProfile": { "type": "string" @@ -1547,10 +1475,31 @@ "type": "string" } }, + "type": "object", "additionalProperties": false }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "sysctls": { + "items": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, "windowsOptions": { - "type": "object", "properties": { "gmsaCredentialSpec": { "type": "string" @@ -1565,183 +1514,258 @@ "type": "string" } }, + "type": "object", "additionalProperties": false } }, - "description": "Security context for the container.", + "type": "object", "additionalProperties": false + }, + "terminationGracePeriodSeconds": { + "description": "The grace period is the duration in seconds after the processes running in the pod are sent a termination signal, and the time when the processes are forcibly halted with a kill signal. Set this value to longer than the expected cleanup time for your process. Value must be a non-negative integer. A zero value indicates delete immediately. You might need to increase the grace period for very large Kafka clusters, so that the Kafka brokers have enough time to transfer their work to another broker before they are terminated. Defaults to 30 seconds.", + "minimum": 0, + "type": "integer" + }, + "tmpDirSizeLimit": { + "description": "Defines the total amount (for example `1Gi`) of local storage required for temporary EmptyDir volume (`/tmp`). Default value is `5Mi`.", + "pattern": "^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$", + "type": "string" + }, + "tolerations": { + "description": "The pod's tolerations.", + "items": { + "properties": { + "effect": { + "type": "string" + }, + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "topologySpreadConstraints": { + "description": "The pod's topology spread constraints.", + "items": { + "properties": { + "labelSelector": { + "properties": { + "matchExpressions": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "matchLabelKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "maxSkew": { + "type": "integer" + }, + "minDomains": { + "type": "integer" + }, + "nodeAffinityPolicy": { + "type": "string" + }, + "nodeTaintsPolicy": { + "type": "string" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" } }, - "description": "Template for Kafka MirrorMaker container.", + "type": "object", "additionalProperties": false }, - "serviceAccount": { - "type": "object", + "podDisruptionBudget": { + "description": "Template for Kafka MirrorMaker `PodDisruptionBudget`.", "properties": { + "maxUnavailable": { + "description": "Maximum number of unavailable pods to allow automatic Pod eviction. A Pod eviction is allowed when the `maxUnavailable` number of pods or fewer are unavailable after the eviction. Setting this value to 0 prevents all voluntary evictions, so the pods must be evicted manually. Defaults to 1.", + "minimum": 0, + "type": "integer" + }, "metadata": { - "type": "object", + "description": "Metadata to apply to the `PodDisruptionBudgetTemplate` resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, + "type": "object", + "additionalProperties": false + }, + "serviceAccount": { "description": "Template for the Kafka MirrorMaker service account.", + "properties": { + "metadata": { + "description": "Metadata applied to the resource.", + "properties": { + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", "additionalProperties": false } }, - "description": "Template to specify how Kafka MirrorMaker resources, `Deployments` and `Pods`, are generated.", - "additionalProperties": false - }, - "livenessProbe": { "type": "object", - "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." - } - }, - "description": "Pod liveness checking.", "additionalProperties": false }, - "readinessProbe": { - "type": "object", + "tracing": { + "description": "The configuration of tracing in Kafka MirrorMaker.", "properties": { - "failureThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1." - }, - "initialDelaySeconds": { - "type": "integer", - "minimum": 0, - "description": "The initial delay before first the health is first checked. Default to 15 seconds. Minimum value is 0." - }, - "periodSeconds": { - "type": "integer", - "minimum": 1, - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." - }, - "successThreshold": { - "type": "integer", - "minimum": 1, - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1." - }, - "timeoutSeconds": { - "type": "integer", - "minimum": 1, - "description": "The timeout for each attempted health check. Default to 5 seconds. Minimum value is 1." + "type": { + "description": "Type of the tracing used. Currently the only supported types are `jaeger` for OpenTracing (Jaeger) tracing and `opentelemetry` for OpenTelemetry tracing. The OpenTracing (Jaeger) tracing is deprecated.", + "enum": [ + "jaeger", + "opentelemetry" + ], + "type": "string" } }, - "description": "Pod readiness checking.", - "additionalProperties": false - } - }, - "oneOf": [ - { - "properties": { - "include": {} - }, "required": [ - "include" - ] + "type" + ], + "type": "object", + "additionalProperties": false }, - { - "properties": { - "whitelist": {} - }, - "required": [ - "whitelist" - ] + "version": { + "description": "The Kafka MirrorMaker version. Defaults to {DefaultKafkaVersion}. Consult the documentation to understand the process required to upgrade or downgrade the version.", + "type": "string" + }, + "whitelist": { + "description": "List of topics which are included for mirroring. This option allows any regular expression using Java-style regular expressions. Mirroring two topics named A and B is achieved by using the expression `A\\|B`. Or, as a special case, you can mirror all topics using the regular expression `*`. You can also specify multiple regular expressions separated by commas.", + "type": "string" } - ], + }, "required": [ "replicas", "consumer", "producer" ], - "description": "The specification of Kafka MirrorMaker.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of Kafka MirrorMaker.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." - }, - "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." + "type": "array" }, "labelSelector": { - "type": "string", - "description": "Label selector for pods providing this resource." + "description": "Label selector for pods providing this resource.", + "type": "string" + }, + "observedGeneration": { + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "replicas": { - "type": "integer", - "description": "The current number of pods being used to provide this resource." + "description": "The current number of pods being used to provide this resource.", + "type": "integer" } }, - "description": "The status of Kafka MirrorMaker.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkarebalance_v1beta2.json b/kafka.strimzi.io/kafkarebalance_v1beta2.json index 053d46c9..f6122d9e 100644 --- a/kafka.strimzi.io/kafkarebalance_v1beta2.json +++ b/kafka.strimzi.io/kafkarebalance_v1beta2.json @@ -1,124 +1,124 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the Kafka rebalance.", "properties": { - "mode": { - "type": "string", - "enum": [ - "full", - "add-brokers", - "remove-brokers" - ], - "description": "Mode to run the rebalancing. The supported modes are `full`, `add-brokers`, `remove-brokers`.\nIf not specified, the `full` mode is used by default. \n\n* `full` mode runs the rebalancing across all the brokers in the cluster.\n* `add-brokers` mode can be used after scaling up the cluster to move some replicas to the newly added brokers.\n* `remove-brokers` mode can be used before scaling down the cluster to move replicas out of the brokers to be removed.\n" - }, "brokers": { - "type": "array", + "description": "The list of newly added brokers in case of scaling up or the ones to be removed in case of scaling down to use for rebalancing. This list can be used only with rebalancing mode `add-brokers` and `removed-brokers`. It is ignored with `full` mode.", "items": { "type": "integer" }, - "description": "The list of newly added brokers in case of scaling up or the ones to be removed in case of scaling down to use for rebalancing. This list can be used only with rebalancing mode `add-brokers` and `removed-brokers`. It is ignored with `full` mode." - }, - "goals": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of goals, ordered by decreasing priority, to use for generating and executing the rebalance proposal. The supported goals are available at https://github.com/linkedin/cruise-control#goals. If an empty goals list is provided, the goals declared in the default.goals Cruise Control configuration parameter are used." - }, - "skipHardGoalCheck": { - "type": "boolean", - "description": "Whether to allow the hard goals specified in the Kafka CR to be skipped in optimization proposal generation. This can be useful when some of those hard goals are preventing a balance solution being found. Default is false." - }, - "rebalanceDisk": { - "type": "boolean", - "description": "Enables intra-broker disk balancing, which balances disk space utilization between disks on the same broker. Only applies to Kafka deployments that use JBOD storage with multiple disks. When enabled, inter-broker balancing is disabled. Default is false." - }, - "excludedTopics": { - "type": "string", - "description": "A regular expression where any matching topics will be excluded from the calculation of optimization proposals. This expression will be parsed by the java.util.regex.Pattern class; for more information on the supported format consult the documentation for that class." - }, - "concurrentPartitionMovementsPerBroker": { - "type": "integer", - "minimum": 0, - "description": "The upper bound of ongoing partition replica movements going into/out of each broker. Default is 5." + "type": "array" }, "concurrentIntraBrokerPartitionMovements": { - "type": "integer", + "description": "The upper bound of ongoing partition replica movements between disks within each broker. Default is 2.", "minimum": 0, - "description": "The upper bound of ongoing partition replica movements between disks within each broker. Default is 2." + "type": "integer" }, "concurrentLeaderMovements": { - "type": "integer", + "description": "The upper bound of ongoing partition leadership movements. Default is 1000.", "minimum": 0, - "description": "The upper bound of ongoing partition leadership movements. Default is 1000." + "type": "integer" }, - "replicationThrottle": { - "type": "integer", + "concurrentPartitionMovementsPerBroker": { + "description": "The upper bound of ongoing partition replica movements going into/out of each broker. Default is 5.", "minimum": 0, - "description": "The upper bound, in bytes per second, on the bandwidth used to move replicas. There is no limit by default." + "type": "integer" + }, + "excludedTopics": { + "description": "A regular expression where any matching topics will be excluded from the calculation of optimization proposals. This expression will be parsed by the java.util.regex.Pattern class; for more information on the supported format consult the documentation for that class.", + "type": "string" + }, + "goals": { + "description": "A list of goals, ordered by decreasing priority, to use for generating and executing the rebalance proposal. The supported goals are available at https://github.com/linkedin/cruise-control#goals. If an empty goals list is provided, the goals declared in the default.goals Cruise Control configuration parameter are used.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mode": { + "description": "Mode to run the rebalancing. The supported modes are `full`, `add-brokers`, `remove-brokers`.\nIf not specified, the `full` mode is used by default. \n\n* `full` mode runs the rebalancing across all the brokers in the cluster.\n* `add-brokers` mode can be used after scaling up the cluster to move some replicas to the newly added brokers.\n* `remove-brokers` mode can be used before scaling down the cluster to move replicas out of the brokers to be removed.\n", + "enum": [ + "full", + "add-brokers", + "remove-brokers" + ], + "type": "string" + }, + "rebalanceDisk": { + "description": "Enables intra-broker disk balancing, which balances disk space utilization between disks on the same broker. Only applies to Kafka deployments that use JBOD storage with multiple disks. When enabled, inter-broker balancing is disabled. Default is false.", + "type": "boolean" }, "replicaMovementStrategies": { - "type": "array", + "description": "A list of strategy class names used to determine the execution order for the replica movements in the generated optimization proposal. By default BaseReplicaMovementStrategy is used, which will execute the replica movements in the order that they were generated.", "items": { "type": "string" }, - "description": "A list of strategy class names used to determine the execution order for the replica movements in the generated optimization proposal. By default BaseReplicaMovementStrategy is used, which will execute the replica movements in the order that they were generated." + "type": "array" + }, + "replicationThrottle": { + "description": "The upper bound, in bytes per second, on the bandwidth used to move replicas. There is no limit by default.", + "minimum": 0, + "type": "integer" + }, + "skipHardGoalCheck": { + "description": "Whether to allow the hard goals specified in the Kafka CR to be skipped in optimization proposal generation. This can be useful when some of those hard goals are preventing a balance solution being found. Default is false.", + "type": "boolean" } }, - "description": "The specification of the Kafka rebalance.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the Kafka rebalance.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." + "type": "array" }, "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." - }, - "sessionId": { - "type": "string", - "description": "The session identifier for requests to Cruise Control pertaining to this KafkaRebalance resource. This is used by the Kafka Rebalance operator to track the status of ongoing rebalancing operations." + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "optimizationResult": { - "x-kubernetes-preserve-unknown-fields": true, + "description": "A JSON object describing the optimization result.", "type": "object", - "description": "A JSON object describing the optimization result." + "x-kubernetes-preserve-unknown-fields": true + }, + "sessionId": { + "description": "The session identifier for requests to Cruise Control pertaining to this KafkaRebalance resource. This is used by the Kafka Rebalance operator to track the status of ongoing rebalancing operations.", + "type": "string" } }, - "description": "The status of the Kafka rebalance.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkatopic_v1alpha1.json b/kafka.strimzi.io/kafkatopic_v1alpha1.json index 7fc5292a..ea6357ff 100644 --- a/kafka.strimzi.io/kafkatopic_v1alpha1.json +++ b/kafka.strimzi.io/kafkatopic_v1alpha1.json @@ -1,77 +1,77 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the topic.", "properties": { + "config": { + "description": "The topic configuration.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, "partitions": { - "type": "integer", + "description": "The number of partitions the topic should have. This cannot be decreased after topic creation. It can be increased after topic creation, but it is important to understand the consequences that has, especially for topics with semantic partitioning. When absent this will default to the broker configuration for `num.partitions`.", "minimum": 1, - "description": "The number of partitions the topic should have. This cannot be decreased after topic creation. It can be increased after topic creation, but it is important to understand the consequences that has, especially for topics with semantic partitioning. When absent this will default to the broker configuration for `num.partitions`." + "type": "integer" }, "replicas": { - "type": "integer", - "minimum": 1, + "description": "The number of replicas the topic should have. When absent this will default to the broker configuration for `default.replication.factor`.", "maximum": 32767, - "description": "The number of replicas the topic should have. When absent this will default to the broker configuration for `default.replication.factor`." - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "The topic configuration." + "minimum": 1, + "type": "integer" }, "topicName": { - "type": "string", - "description": "The name of the topic. When absent this will default to the metadata.name of the topic. It is recommended to not set this unless the topic name is not a valid Kubernetes resource name." + "description": "The name of the topic. When absent this will default to the metadata.name of the topic. It is recommended to not set this unless the topic name is not a valid Kubernetes resource name.", + "type": "string" } }, - "description": "The specification of the topic.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the topic.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." + "type": "array" }, "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "topicName": { - "type": "string", - "description": "Topic name." + "description": "Topic name.", + "type": "string" } }, - "description": "The status of the topic.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkatopic_v1beta1.json b/kafka.strimzi.io/kafkatopic_v1beta1.json index 7fc5292a..ea6357ff 100644 --- a/kafka.strimzi.io/kafkatopic_v1beta1.json +++ b/kafka.strimzi.io/kafkatopic_v1beta1.json @@ -1,77 +1,77 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the topic.", "properties": { + "config": { + "description": "The topic configuration.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, "partitions": { - "type": "integer", + "description": "The number of partitions the topic should have. This cannot be decreased after topic creation. It can be increased after topic creation, but it is important to understand the consequences that has, especially for topics with semantic partitioning. When absent this will default to the broker configuration for `num.partitions`.", "minimum": 1, - "description": "The number of partitions the topic should have. This cannot be decreased after topic creation. It can be increased after topic creation, but it is important to understand the consequences that has, especially for topics with semantic partitioning. When absent this will default to the broker configuration for `num.partitions`." + "type": "integer" }, "replicas": { - "type": "integer", - "minimum": 1, + "description": "The number of replicas the topic should have. When absent this will default to the broker configuration for `default.replication.factor`.", "maximum": 32767, - "description": "The number of replicas the topic should have. When absent this will default to the broker configuration for `default.replication.factor`." - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "The topic configuration." + "minimum": 1, + "type": "integer" }, "topicName": { - "type": "string", - "description": "The name of the topic. When absent this will default to the metadata.name of the topic. It is recommended to not set this unless the topic name is not a valid Kubernetes resource name." + "description": "The name of the topic. When absent this will default to the metadata.name of the topic. It is recommended to not set this unless the topic name is not a valid Kubernetes resource name.", + "type": "string" } }, - "description": "The specification of the topic.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the topic.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." + "type": "array" }, "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "topicName": { - "type": "string", - "description": "Topic name." + "description": "Topic name.", + "type": "string" } }, - "description": "The status of the topic.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkatopic_v1beta2.json b/kafka.strimzi.io/kafkatopic_v1beta2.json index 7fc5292a..ea6357ff 100644 --- a/kafka.strimzi.io/kafkatopic_v1beta2.json +++ b/kafka.strimzi.io/kafkatopic_v1beta2.json @@ -1,77 +1,77 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the topic.", "properties": { + "config": { + "description": "The topic configuration.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, "partitions": { - "type": "integer", + "description": "The number of partitions the topic should have. This cannot be decreased after topic creation. It can be increased after topic creation, but it is important to understand the consequences that has, especially for topics with semantic partitioning. When absent this will default to the broker configuration for `num.partitions`.", "minimum": 1, - "description": "The number of partitions the topic should have. This cannot be decreased after topic creation. It can be increased after topic creation, but it is important to understand the consequences that has, especially for topics with semantic partitioning. When absent this will default to the broker configuration for `num.partitions`." + "type": "integer" }, "replicas": { - "type": "integer", - "minimum": 1, + "description": "The number of replicas the topic should have. When absent this will default to the broker configuration for `default.replication.factor`.", "maximum": 32767, - "description": "The number of replicas the topic should have. When absent this will default to the broker configuration for `default.replication.factor`." - }, - "config": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object", - "description": "The topic configuration." + "minimum": 1, + "type": "integer" }, "topicName": { - "type": "string", - "description": "The name of the topic. When absent this will default to the metadata.name of the topic. It is recommended to not set this unless the topic name is not a valid Kubernetes resource name." + "description": "The name of the topic. When absent this will default to the metadata.name of the topic. It is recommended to not set this unless the topic name is not a valid Kubernetes resource name.", + "type": "string" } }, - "description": "The specification of the topic.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the topic.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." + "type": "array" }, "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "topicName": { - "type": "string", - "description": "Topic name." + "description": "Topic name.", + "type": "string" } }, - "description": "The status of the topic.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkatopiccontrolacls_v1alpha1.json b/kafka.strimzi.io/kafkatopiccontrolacls_v1alpha1.json new file mode 100644 index 00000000..92cb50a6 --- /dev/null +++ b/kafka.strimzi.io/kafkatopiccontrolacls_v1alpha1.json @@ -0,0 +1,208 @@ +{ + "properties": { + "metadata": { + "properties": { + "name": { + "maxLength": 63, + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "spec": { + "properties": { + "enforcementAction": { + "type": "string" + }, + "match": { + "properties": { + "excludedNamespaces": { + "description": "`excludedNamespaces` is a list of namespace names. If defined, a constraint only applies to resources not in a listed namespace. ExcludedNamespaces also supports a prefix-based glob. For example, `excludedNamespaces: [kube-*]` matches both `kube-system` and `kube-public`.", + "items": { + "pattern": "^(\\*|\\*-)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\*|-\\*)?$", + "type": "string" + }, + "type": "array" + }, + "kinds": { + "items": { + "description": "The Group and Kind of objects that should be matched. If multiple groups/kinds combinations are specified, an incoming resource need only match one to be in scope.", + "properties": { + "apiGroups": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "kinds": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "labelSelector": { + "description": "`labelSelector` is the combination of two optional fields: `matchLabels` and `matchExpressions`. These two fields provide different methods of selecting or excluding k8s objects based on the label keys and values included in object metadata. All selection expressions from both sections are ANDed to determine if an object meets the cumulative requirements of the selector.", + "properties": { + "matchExpressions": { + "description": "a list of label selection expressions. A selected resource will match all of these expressions.", + "items": { + "description": "a selector that specifies a label key, a set of label values, an operator that defines the relationship between the two that will match the selector.", + "properties": { + "key": { + "description": "the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "the relationship between the label and value set that defines a matching selection.", + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist" + ], + "type": "string" + }, + "values": { + "description": "a set of label values.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of label keys to sets of allowed label values for those keys. A selected resource will match all of these expressions.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "name": { + "description": "`name` is the name of an object. If defined, it matches against objects with the specified name. Name also supports a prefix-based glob. For example, `name: pod-*` matches both `pod-a` and `pod-b`.", + "pattern": "^(\\*|\\*-)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\*|-\\*)?$", + "type": "string" + }, + "namespaceSelector": { + "description": "`namespaceSelector` is a label selector against an object's containing namespace or the object itself, if the object is a namespace.", + "properties": { + "matchExpressions": { + "description": "a list of label selection expressions. A selected resource will match all of these expressions.", + "items": { + "description": "a selector that specifies a label key, a set of label values, an operator that defines the relationship between the two that will match the selector.", + "properties": { + "key": { + "description": "the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "the relationship between the label and value set that defines a matching selection.", + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist" + ], + "type": "string" + }, + "values": { + "description": "a set of label values.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of label keys to sets of allowed label values for those keys. A selected resource will match all of these expressions.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "namespaces": { + "description": "`namespaces` is a list of namespace names. If defined, a constraint only applies to resources in a listed namespace. Namespaces also supports a prefix-based glob. For example, `namespaces: [kube-*]` matches both `kube-system` and `kube-public`.", + "items": { + "pattern": "^(\\*|\\*-)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\*|-\\*)?$", + "type": "string" + }, + "type": "array" + }, + "scope": { + "description": "`scope` determines if cluster-scoped and/or namespaced-scoped resources are matched. Accepts `*`, `Cluster`, or `Namespaced`. (defaults to `*`)", + "enum": [ + "*", + "Cluster", + "Namespaced" + ], + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "parameters": { + "properties": { + "kafkaUserExceptions": { + "description": "The list of KafkaUsers who may decalare permissions for topics that do not exist as KafkaTopics", + "items": { + "type": "string" + }, + "type": "array" + }, + "kafkaUserNoReadTopics": { + "description": "The list of KafkaUsers who may not declare a topic acl other than describe operations", + "items": { + "type": "string" + }, + "type": "array" + }, + "kafkaUsersAllowedToDeleteTopics": { + "description": "The list of KafkaUsers who may not declare a topic acl other than describe operations", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "status": { + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object" +} diff --git a/kafka.strimzi.io/kafkatopiccontrolacls_v1beta1.json b/kafka.strimzi.io/kafkatopiccontrolacls_v1beta1.json new file mode 100644 index 00000000..92cb50a6 --- /dev/null +++ b/kafka.strimzi.io/kafkatopiccontrolacls_v1beta1.json @@ -0,0 +1,208 @@ +{ + "properties": { + "metadata": { + "properties": { + "name": { + "maxLength": 63, + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "spec": { + "properties": { + "enforcementAction": { + "type": "string" + }, + "match": { + "properties": { + "excludedNamespaces": { + "description": "`excludedNamespaces` is a list of namespace names. If defined, a constraint only applies to resources not in a listed namespace. ExcludedNamespaces also supports a prefix-based glob. For example, `excludedNamespaces: [kube-*]` matches both `kube-system` and `kube-public`.", + "items": { + "pattern": "^(\\*|\\*-)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\*|-\\*)?$", + "type": "string" + }, + "type": "array" + }, + "kinds": { + "items": { + "description": "The Group and Kind of objects that should be matched. If multiple groups/kinds combinations are specified, an incoming resource need only match one to be in scope.", + "properties": { + "apiGroups": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + }, + "kinds": { + "items": { + "nullable": true, + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "labelSelector": { + "description": "`labelSelector` is the combination of two optional fields: `matchLabels` and `matchExpressions`. These two fields provide different methods of selecting or excluding k8s objects based on the label keys and values included in object metadata. All selection expressions from both sections are ANDed to determine if an object meets the cumulative requirements of the selector.", + "properties": { + "matchExpressions": { + "description": "a list of label selection expressions. A selected resource will match all of these expressions.", + "items": { + "description": "a selector that specifies a label key, a set of label values, an operator that defines the relationship between the two that will match the selector.", + "properties": { + "key": { + "description": "the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "the relationship between the label and value set that defines a matching selection.", + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist" + ], + "type": "string" + }, + "values": { + "description": "a set of label values.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of label keys to sets of allowed label values for those keys. A selected resource will match all of these expressions.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "name": { + "description": "`name` is the name of an object. If defined, it matches against objects with the specified name. Name also supports a prefix-based glob. For example, `name: pod-*` matches both `pod-a` and `pod-b`.", + "pattern": "^(\\*|\\*-)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\*|-\\*)?$", + "type": "string" + }, + "namespaceSelector": { + "description": "`namespaceSelector` is a label selector against an object's containing namespace or the object itself, if the object is a namespace.", + "properties": { + "matchExpressions": { + "description": "a list of label selection expressions. A selected resource will match all of these expressions.", + "items": { + "description": "a selector that specifies a label key, a set of label values, an operator that defines the relationship between the two that will match the selector.", + "properties": { + "key": { + "description": "the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "the relationship between the label and value set that defines a matching selection.", + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist" + ], + "type": "string" + }, + "values": { + "description": "a set of label values.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "matchLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "A mapping of label keys to sets of allowed label values for those keys. A selected resource will match all of these expressions.", + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object", + "additionalProperties": false + }, + "namespaces": { + "description": "`namespaces` is a list of namespace names. If defined, a constraint only applies to resources in a listed namespace. Namespaces also supports a prefix-based glob. For example, `namespaces: [kube-*]` matches both `kube-system` and `kube-public`.", + "items": { + "pattern": "^(\\*|\\*-)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\*|-\\*)?$", + "type": "string" + }, + "type": "array" + }, + "scope": { + "description": "`scope` determines if cluster-scoped and/or namespaced-scoped resources are matched. Accepts `*`, `Cluster`, or `Namespaced`. (defaults to `*`)", + "enum": [ + "*", + "Cluster", + "Namespaced" + ], + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "parameters": { + "properties": { + "kafkaUserExceptions": { + "description": "The list of KafkaUsers who may decalare permissions for topics that do not exist as KafkaTopics", + "items": { + "type": "string" + }, + "type": "array" + }, + "kafkaUserNoReadTopics": { + "description": "The list of KafkaUsers who may not declare a topic acl other than describe operations", + "items": { + "type": "string" + }, + "type": "array" + }, + "kafkaUsersAllowedToDeleteTopics": { + "description": "The list of KafkaUsers who may not declare a topic acl other than describe operations", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false + }, + "status": { + "x-kubernetes-preserve-unknown-fields": true + } + }, + "type": "object" +} diff --git a/kafka.strimzi.io/kafkauser_v1alpha1.json b/kafka.strimzi.io/kafkauser_v1alpha1.json index ce547e69..3dd375e9 100644 --- a/kafka.strimzi.io/kafkauser_v1alpha1.json +++ b/kafka.strimzi.io/kafkauser_v1alpha1.json @@ -1,20 +1,19 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the user.", "properties": { "authentication": { - "type": "object", + "description": "Authentication mechanism enabled for this Kafka user. The supported authentication mechanisms are `scram-sha-512`, `tls`, and `tls-external`. \n\n* `scram-sha-512` generates a secret with SASL SCRAM-SHA-512 credentials.\n* `tls` generates a secret with user certificate for mutual TLS authentication.\n* `tls-external` does not generate a user certificate. But prepares the user for using mutual TLS authentication using a user certificate generated outside the User Operator.\n ACLs and quotas set for this user are configured in the `CN=` format.\n\nAuthentication is optional. If authentication is not configured, no credentials are generated. ACLs and quotas set for the user are configured in the `` format suitable for SASL authentication.", "properties": { "password": { - "type": "object", + "description": "Specify the password for the user. If not set, a new password is generated by the User Operator.", "properties": { "valueFrom": { - "type": "object", + "description": "Secret from which the password should be read.", "properties": { "secretKeyRef": { - "type": "object", + "description": "Selects a key of a Secret in the resource's namespace.", "properties": { "key": { "type": "string" @@ -26,50 +25,49 @@ "type": "boolean" } }, - "description": "Selects a key of a Secret in the resource's namespace.", + "type": "object", "additionalProperties": false } }, - "description": "Secret from which the password should be read.", + "type": "object", "additionalProperties": false } }, "required": [ "valueFrom" ], - "description": "Specify the password for the user. If not set, a new password is generated by the User Operator.", + "type": "object", "additionalProperties": false }, "type": { - "type": "string", + "description": "Authentication type.", "enum": [ "tls", "tls-external", "scram-sha-512" ], - "description": "Authentication type." + "type": "string" } }, "required": [ "type" ], - "description": "Authentication mechanism enabled for this Kafka user. The supported authentication mechanisms are `scram-sha-512`, `tls`, and `tls-external`. \n\n* `scram-sha-512` generates a secret with SASL SCRAM-SHA-512 credentials.\n* `tls` generates a secret with user certificate for mutual TLS authentication.\n* `tls-external` does not generate a user certificate. But prepares the user for using mutual TLS authentication using a user certificate generated outside the User Operator.\n ACLs and quotas set for this user are configured in the `CN=` format.\n\nAuthentication is optional. If authentication is not configured, no credentials are generated. ACLs and quotas set for the user are configured in the `` format suitable for SASL authentication.", + "type": "object", "additionalProperties": false }, "authorization": { - "type": "object", + "description": "Authorization rules for this Kafka user.", "properties": { "acls": { - "type": "array", + "description": "List of ACL rules which should be applied to this user.", "items": { - "type": "object", "properties": { "host": { - "type": "string", - "description": "The host from which the action described in the ACL rule is allowed or denied." + "description": "The host from which the action described in the ACL rule is allowed or denied.", + "type": "string" }, "operation": { - "type": "string", + "description": "Operation which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All.", "enum": [ "Read", "Write", @@ -83,182 +81,203 @@ "IdempotentWrite", "All" ], - "description": "Operation which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All." + "type": "string" + }, + "operations": { + "description": "List of operations which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All.", + "items": { + "enum": [ + "Read", + "Write", + "Create", + "Delete", + "Alter", + "Describe", + "ClusterAction", + "AlterConfigs", + "DescribeConfigs", + "IdempotentWrite", + "All" + ], + "type": "string" + }, + "type": "array" }, "resource": { - "type": "object", + "description": "Indicates the resource for which given ACL rule applies.", "properties": { "name": { - "type": "string", - "description": "Name of resource for which given ACL rule applies. Can be combined with `patternType` field to use prefix pattern." + "description": "Name of resource for which given ACL rule applies. Can be combined with `patternType` field to use prefix pattern.", + "type": "string" }, "patternType": { - "type": "string", + "description": "Describes the pattern used in the resource field. The supported types are `literal` and `prefix`. With `literal` pattern type, the resource field will be used as a definition of a full name. With `prefix` pattern type, the resource name will be used only as a prefix. Default value is `literal`.", "enum": [ "literal", "prefix" ], - "description": "Describes the pattern used in the resource field. The supported types are `literal` and `prefix`. With `literal` pattern type, the resource field will be used as a definition of a full name. With `prefix` pattern type, the resource name will be used only as a prefix. Default value is `literal`." + "type": "string" }, "type": { - "type": "string", + "description": "Resource type. The available resource types are `topic`, `group`, `cluster`, and `transactionalId`.", "enum": [ "topic", "group", "cluster", "transactionalId" ], - "description": "Resource type. The available resource types are `topic`, `group`, `cluster`, and `transactionalId`." + "type": "string" } }, "required": [ "type" ], - "description": "Indicates the resource for which given ACL rule applies.", + "type": "object", "additionalProperties": false }, "type": { - "type": "string", + "description": "The type of the rule. Currently the only supported type is `allow`. ACL rules with type `allow` are used to allow user to execute the specified operations. Default value is `allow`.", "enum": [ "allow", "deny" ], - "description": "The type of the rule. Currently the only supported type is `allow`. ACL rules with type `allow` are used to allow user to execute the specified operations. Default value is `allow`." + "type": "string" } }, "required": [ - "operation", "resource" ], + "type": "object", "additionalProperties": false }, - "description": "List of ACL rules which should be applied to this user." + "type": "array" }, "type": { - "type": "string", + "description": "Authorization type. Currently the only supported type is `simple`. `simple` authorization type uses Kafka's `kafka.security.authorizer.AclAuthorizer` class for authorization.", "enum": [ "simple" ], - "description": "Authorization type. Currently the only supported type is `simple`. `simple` authorization type uses Kafka's `kafka.security.authorizer.AclAuthorizer` class for authorization." + "type": "string" } }, "required": [ "acls", "type" ], - "description": "Authorization rules for this Kafka user.", + "type": "object", "additionalProperties": false }, "quotas": { - "type": "object", + "description": "Quotas on requests to control the broker resources used by clients. Network bandwidth and request rate quotas can be enforced.Kafka documentation for Kafka User quotas can be found at http://kafka.apache.org/documentation/#design_quotas.", "properties": { "consumerByteRate": { - "type": "integer", + "description": "A quota on the maximum bytes per-second that each client group can fetch from a broker before the clients in the group are throttled. Defined on a per-broker basis.", "minimum": 0, - "description": "A quota on the maximum bytes per-second that each client group can fetch from a broker before the clients in the group are throttled. Defined on a per-broker basis." + "type": "integer" }, "controllerMutationRate": { - "type": "number", + "description": "A quota on the rate at which mutations are accepted for the create topics request, the create partitions request and the delete topics request. The rate is accumulated by the number of partitions created or deleted.", "minimum": 0, - "description": "A quota on the rate at which mutations are accepted for the create topics request, the create partitions request and the delete topics request. The rate is accumulated by the number of partitions created or deleted." + "type": "number" }, "producerByteRate": { - "type": "integer", + "description": "A quota on the maximum bytes per-second that each client group can publish to a broker before the clients in the group are throttled. Defined on a per-broker basis.", "minimum": 0, - "description": "A quota on the maximum bytes per-second that each client group can publish to a broker before the clients in the group are throttled. Defined on a per-broker basis." + "type": "integer" }, "requestPercentage": { - "type": "integer", + "description": "A quota on the maximum CPU utilization of each client group as a percentage of network and I/O threads.", "minimum": 0, - "description": "A quota on the maximum CPU utilization of each client group as a percentage of network and I/O threads." + "type": "integer" } }, - "description": "Quotas on requests to control the broker resources used by clients. Network bandwidth and request rate quotas can be enforced.Kafka documentation for Kafka User quotas can be found at http://kafka.apache.org/documentation/#design_quotas.", + "type": "object", "additionalProperties": false }, "template": { - "type": "object", + "description": "Template to specify how Kafka User `Secrets` are generated.", "properties": { "secret": { - "type": "object", + "description": "Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated.", + "type": "object", "additionalProperties": false } }, - "description": "Template to specify how Kafka User `Secrets` are generated.", + "type": "object", "additionalProperties": false } }, - "description": "The specification of the user.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the Kafka User.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." + "type": "array" }, "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." - }, - "username": { - "type": "string", - "description": "Username." + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "secret": { - "type": "string", - "description": "The name of `Secret` where the credentials are stored." + "description": "The name of `Secret` where the credentials are stored.", + "type": "string" + }, + "username": { + "description": "Username.", + "type": "string" } }, - "description": "The status of the Kafka User.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkauser_v1beta1.json b/kafka.strimzi.io/kafkauser_v1beta1.json index ce547e69..3dd375e9 100644 --- a/kafka.strimzi.io/kafkauser_v1beta1.json +++ b/kafka.strimzi.io/kafkauser_v1beta1.json @@ -1,20 +1,19 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the user.", "properties": { "authentication": { - "type": "object", + "description": "Authentication mechanism enabled for this Kafka user. The supported authentication mechanisms are `scram-sha-512`, `tls`, and `tls-external`. \n\n* `scram-sha-512` generates a secret with SASL SCRAM-SHA-512 credentials.\n* `tls` generates a secret with user certificate for mutual TLS authentication.\n* `tls-external` does not generate a user certificate. But prepares the user for using mutual TLS authentication using a user certificate generated outside the User Operator.\n ACLs and quotas set for this user are configured in the `CN=` format.\n\nAuthentication is optional. If authentication is not configured, no credentials are generated. ACLs and quotas set for the user are configured in the `` format suitable for SASL authentication.", "properties": { "password": { - "type": "object", + "description": "Specify the password for the user. If not set, a new password is generated by the User Operator.", "properties": { "valueFrom": { - "type": "object", + "description": "Secret from which the password should be read.", "properties": { "secretKeyRef": { - "type": "object", + "description": "Selects a key of a Secret in the resource's namespace.", "properties": { "key": { "type": "string" @@ -26,50 +25,49 @@ "type": "boolean" } }, - "description": "Selects a key of a Secret in the resource's namespace.", + "type": "object", "additionalProperties": false } }, - "description": "Secret from which the password should be read.", + "type": "object", "additionalProperties": false } }, "required": [ "valueFrom" ], - "description": "Specify the password for the user. If not set, a new password is generated by the User Operator.", + "type": "object", "additionalProperties": false }, "type": { - "type": "string", + "description": "Authentication type.", "enum": [ "tls", "tls-external", "scram-sha-512" ], - "description": "Authentication type." + "type": "string" } }, "required": [ "type" ], - "description": "Authentication mechanism enabled for this Kafka user. The supported authentication mechanisms are `scram-sha-512`, `tls`, and `tls-external`. \n\n* `scram-sha-512` generates a secret with SASL SCRAM-SHA-512 credentials.\n* `tls` generates a secret with user certificate for mutual TLS authentication.\n* `tls-external` does not generate a user certificate. But prepares the user for using mutual TLS authentication using a user certificate generated outside the User Operator.\n ACLs and quotas set for this user are configured in the `CN=` format.\n\nAuthentication is optional. If authentication is not configured, no credentials are generated. ACLs and quotas set for the user are configured in the `` format suitable for SASL authentication.", + "type": "object", "additionalProperties": false }, "authorization": { - "type": "object", + "description": "Authorization rules for this Kafka user.", "properties": { "acls": { - "type": "array", + "description": "List of ACL rules which should be applied to this user.", "items": { - "type": "object", "properties": { "host": { - "type": "string", - "description": "The host from which the action described in the ACL rule is allowed or denied." + "description": "The host from which the action described in the ACL rule is allowed or denied.", + "type": "string" }, "operation": { - "type": "string", + "description": "Operation which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All.", "enum": [ "Read", "Write", @@ -83,182 +81,203 @@ "IdempotentWrite", "All" ], - "description": "Operation which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All." + "type": "string" + }, + "operations": { + "description": "List of operations which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All.", + "items": { + "enum": [ + "Read", + "Write", + "Create", + "Delete", + "Alter", + "Describe", + "ClusterAction", + "AlterConfigs", + "DescribeConfigs", + "IdempotentWrite", + "All" + ], + "type": "string" + }, + "type": "array" }, "resource": { - "type": "object", + "description": "Indicates the resource for which given ACL rule applies.", "properties": { "name": { - "type": "string", - "description": "Name of resource for which given ACL rule applies. Can be combined with `patternType` field to use prefix pattern." + "description": "Name of resource for which given ACL rule applies. Can be combined with `patternType` field to use prefix pattern.", + "type": "string" }, "patternType": { - "type": "string", + "description": "Describes the pattern used in the resource field. The supported types are `literal` and `prefix`. With `literal` pattern type, the resource field will be used as a definition of a full name. With `prefix` pattern type, the resource name will be used only as a prefix. Default value is `literal`.", "enum": [ "literal", "prefix" ], - "description": "Describes the pattern used in the resource field. The supported types are `literal` and `prefix`. With `literal` pattern type, the resource field will be used as a definition of a full name. With `prefix` pattern type, the resource name will be used only as a prefix. Default value is `literal`." + "type": "string" }, "type": { - "type": "string", + "description": "Resource type. The available resource types are `topic`, `group`, `cluster`, and `transactionalId`.", "enum": [ "topic", "group", "cluster", "transactionalId" ], - "description": "Resource type. The available resource types are `topic`, `group`, `cluster`, and `transactionalId`." + "type": "string" } }, "required": [ "type" ], - "description": "Indicates the resource for which given ACL rule applies.", + "type": "object", "additionalProperties": false }, "type": { - "type": "string", + "description": "The type of the rule. Currently the only supported type is `allow`. ACL rules with type `allow` are used to allow user to execute the specified operations. Default value is `allow`.", "enum": [ "allow", "deny" ], - "description": "The type of the rule. Currently the only supported type is `allow`. ACL rules with type `allow` are used to allow user to execute the specified operations. Default value is `allow`." + "type": "string" } }, "required": [ - "operation", "resource" ], + "type": "object", "additionalProperties": false }, - "description": "List of ACL rules which should be applied to this user." + "type": "array" }, "type": { - "type": "string", + "description": "Authorization type. Currently the only supported type is `simple`. `simple` authorization type uses Kafka's `kafka.security.authorizer.AclAuthorizer` class for authorization.", "enum": [ "simple" ], - "description": "Authorization type. Currently the only supported type is `simple`. `simple` authorization type uses Kafka's `kafka.security.authorizer.AclAuthorizer` class for authorization." + "type": "string" } }, "required": [ "acls", "type" ], - "description": "Authorization rules for this Kafka user.", + "type": "object", "additionalProperties": false }, "quotas": { - "type": "object", + "description": "Quotas on requests to control the broker resources used by clients. Network bandwidth and request rate quotas can be enforced.Kafka documentation for Kafka User quotas can be found at http://kafka.apache.org/documentation/#design_quotas.", "properties": { "consumerByteRate": { - "type": "integer", + "description": "A quota on the maximum bytes per-second that each client group can fetch from a broker before the clients in the group are throttled. Defined on a per-broker basis.", "minimum": 0, - "description": "A quota on the maximum bytes per-second that each client group can fetch from a broker before the clients in the group are throttled. Defined on a per-broker basis." + "type": "integer" }, "controllerMutationRate": { - "type": "number", + "description": "A quota on the rate at which mutations are accepted for the create topics request, the create partitions request and the delete topics request. The rate is accumulated by the number of partitions created or deleted.", "minimum": 0, - "description": "A quota on the rate at which mutations are accepted for the create topics request, the create partitions request and the delete topics request. The rate is accumulated by the number of partitions created or deleted." + "type": "number" }, "producerByteRate": { - "type": "integer", + "description": "A quota on the maximum bytes per-second that each client group can publish to a broker before the clients in the group are throttled. Defined on a per-broker basis.", "minimum": 0, - "description": "A quota on the maximum bytes per-second that each client group can publish to a broker before the clients in the group are throttled. Defined on a per-broker basis." + "type": "integer" }, "requestPercentage": { - "type": "integer", + "description": "A quota on the maximum CPU utilization of each client group as a percentage of network and I/O threads.", "minimum": 0, - "description": "A quota on the maximum CPU utilization of each client group as a percentage of network and I/O threads." + "type": "integer" } }, - "description": "Quotas on requests to control the broker resources used by clients. Network bandwidth and request rate quotas can be enforced.Kafka documentation for Kafka User quotas can be found at http://kafka.apache.org/documentation/#design_quotas.", + "type": "object", "additionalProperties": false }, "template": { - "type": "object", + "description": "Template to specify how Kafka User `Secrets` are generated.", "properties": { "secret": { - "type": "object", + "description": "Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated.", + "type": "object", "additionalProperties": false } }, - "description": "Template to specify how Kafka User `Secrets` are generated.", + "type": "object", "additionalProperties": false } }, - "description": "The specification of the user.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the Kafka User.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." + "type": "array" }, "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." - }, - "username": { - "type": "string", - "description": "Username." + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "secret": { - "type": "string", - "description": "The name of `Secret` where the credentials are stored." + "description": "The name of `Secret` where the credentials are stored.", + "type": "string" + }, + "username": { + "description": "Username.", + "type": "string" } }, - "description": "The status of the Kafka User.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/kafkauser_v1beta2.json b/kafka.strimzi.io/kafkauser_v1beta2.json index ce547e69..3dd375e9 100644 --- a/kafka.strimzi.io/kafkauser_v1beta2.json +++ b/kafka.strimzi.io/kafkauser_v1beta2.json @@ -1,20 +1,19 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the user.", "properties": { "authentication": { - "type": "object", + "description": "Authentication mechanism enabled for this Kafka user. The supported authentication mechanisms are `scram-sha-512`, `tls`, and `tls-external`. \n\n* `scram-sha-512` generates a secret with SASL SCRAM-SHA-512 credentials.\n* `tls` generates a secret with user certificate for mutual TLS authentication.\n* `tls-external` does not generate a user certificate. But prepares the user for using mutual TLS authentication using a user certificate generated outside the User Operator.\n ACLs and quotas set for this user are configured in the `CN=` format.\n\nAuthentication is optional. If authentication is not configured, no credentials are generated. ACLs and quotas set for the user are configured in the `` format suitable for SASL authentication.", "properties": { "password": { - "type": "object", + "description": "Specify the password for the user. If not set, a new password is generated by the User Operator.", "properties": { "valueFrom": { - "type": "object", + "description": "Secret from which the password should be read.", "properties": { "secretKeyRef": { - "type": "object", + "description": "Selects a key of a Secret in the resource's namespace.", "properties": { "key": { "type": "string" @@ -26,50 +25,49 @@ "type": "boolean" } }, - "description": "Selects a key of a Secret in the resource's namespace.", + "type": "object", "additionalProperties": false } }, - "description": "Secret from which the password should be read.", + "type": "object", "additionalProperties": false } }, "required": [ "valueFrom" ], - "description": "Specify the password for the user. If not set, a new password is generated by the User Operator.", + "type": "object", "additionalProperties": false }, "type": { - "type": "string", + "description": "Authentication type.", "enum": [ "tls", "tls-external", "scram-sha-512" ], - "description": "Authentication type." + "type": "string" } }, "required": [ "type" ], - "description": "Authentication mechanism enabled for this Kafka user. The supported authentication mechanisms are `scram-sha-512`, `tls`, and `tls-external`. \n\n* `scram-sha-512` generates a secret with SASL SCRAM-SHA-512 credentials.\n* `tls` generates a secret with user certificate for mutual TLS authentication.\n* `tls-external` does not generate a user certificate. But prepares the user for using mutual TLS authentication using a user certificate generated outside the User Operator.\n ACLs and quotas set for this user are configured in the `CN=` format.\n\nAuthentication is optional. If authentication is not configured, no credentials are generated. ACLs and quotas set for the user are configured in the `` format suitable for SASL authentication.", + "type": "object", "additionalProperties": false }, "authorization": { - "type": "object", + "description": "Authorization rules for this Kafka user.", "properties": { "acls": { - "type": "array", + "description": "List of ACL rules which should be applied to this user.", "items": { - "type": "object", "properties": { "host": { - "type": "string", - "description": "The host from which the action described in the ACL rule is allowed or denied." + "description": "The host from which the action described in the ACL rule is allowed or denied.", + "type": "string" }, "operation": { - "type": "string", + "description": "Operation which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All.", "enum": [ "Read", "Write", @@ -83,182 +81,203 @@ "IdempotentWrite", "All" ], - "description": "Operation which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All." + "type": "string" + }, + "operations": { + "description": "List of operations which will be allowed or denied. Supported operations are: Read, Write, Create, Delete, Alter, Describe, ClusterAction, AlterConfigs, DescribeConfigs, IdempotentWrite and All.", + "items": { + "enum": [ + "Read", + "Write", + "Create", + "Delete", + "Alter", + "Describe", + "ClusterAction", + "AlterConfigs", + "DescribeConfigs", + "IdempotentWrite", + "All" + ], + "type": "string" + }, + "type": "array" }, "resource": { - "type": "object", + "description": "Indicates the resource for which given ACL rule applies.", "properties": { "name": { - "type": "string", - "description": "Name of resource for which given ACL rule applies. Can be combined with `patternType` field to use prefix pattern." + "description": "Name of resource for which given ACL rule applies. Can be combined with `patternType` field to use prefix pattern.", + "type": "string" }, "patternType": { - "type": "string", + "description": "Describes the pattern used in the resource field. The supported types are `literal` and `prefix`. With `literal` pattern type, the resource field will be used as a definition of a full name. With `prefix` pattern type, the resource name will be used only as a prefix. Default value is `literal`.", "enum": [ "literal", "prefix" ], - "description": "Describes the pattern used in the resource field. The supported types are `literal` and `prefix`. With `literal` pattern type, the resource field will be used as a definition of a full name. With `prefix` pattern type, the resource name will be used only as a prefix. Default value is `literal`." + "type": "string" }, "type": { - "type": "string", + "description": "Resource type. The available resource types are `topic`, `group`, `cluster`, and `transactionalId`.", "enum": [ "topic", "group", "cluster", "transactionalId" ], - "description": "Resource type. The available resource types are `topic`, `group`, `cluster`, and `transactionalId`." + "type": "string" } }, "required": [ "type" ], - "description": "Indicates the resource for which given ACL rule applies.", + "type": "object", "additionalProperties": false }, "type": { - "type": "string", + "description": "The type of the rule. Currently the only supported type is `allow`. ACL rules with type `allow` are used to allow user to execute the specified operations. Default value is `allow`.", "enum": [ "allow", "deny" ], - "description": "The type of the rule. Currently the only supported type is `allow`. ACL rules with type `allow` are used to allow user to execute the specified operations. Default value is `allow`." + "type": "string" } }, "required": [ - "operation", "resource" ], + "type": "object", "additionalProperties": false }, - "description": "List of ACL rules which should be applied to this user." + "type": "array" }, "type": { - "type": "string", + "description": "Authorization type. Currently the only supported type is `simple`. `simple` authorization type uses Kafka's `kafka.security.authorizer.AclAuthorizer` class for authorization.", "enum": [ "simple" ], - "description": "Authorization type. Currently the only supported type is `simple`. `simple` authorization type uses Kafka's `kafka.security.authorizer.AclAuthorizer` class for authorization." + "type": "string" } }, "required": [ "acls", "type" ], - "description": "Authorization rules for this Kafka user.", + "type": "object", "additionalProperties": false }, "quotas": { - "type": "object", + "description": "Quotas on requests to control the broker resources used by clients. Network bandwidth and request rate quotas can be enforced.Kafka documentation for Kafka User quotas can be found at http://kafka.apache.org/documentation/#design_quotas.", "properties": { "consumerByteRate": { - "type": "integer", + "description": "A quota on the maximum bytes per-second that each client group can fetch from a broker before the clients in the group are throttled. Defined on a per-broker basis.", "minimum": 0, - "description": "A quota on the maximum bytes per-second that each client group can fetch from a broker before the clients in the group are throttled. Defined on a per-broker basis." + "type": "integer" }, "controllerMutationRate": { - "type": "number", + "description": "A quota on the rate at which mutations are accepted for the create topics request, the create partitions request and the delete topics request. The rate is accumulated by the number of partitions created or deleted.", "minimum": 0, - "description": "A quota on the rate at which mutations are accepted for the create topics request, the create partitions request and the delete topics request. The rate is accumulated by the number of partitions created or deleted." + "type": "number" }, "producerByteRate": { - "type": "integer", + "description": "A quota on the maximum bytes per-second that each client group can publish to a broker before the clients in the group are throttled. Defined on a per-broker basis.", "minimum": 0, - "description": "A quota on the maximum bytes per-second that each client group can publish to a broker before the clients in the group are throttled. Defined on a per-broker basis." + "type": "integer" }, "requestPercentage": { - "type": "integer", + "description": "A quota on the maximum CPU utilization of each client group as a percentage of network and I/O threads.", "minimum": 0, - "description": "A quota on the maximum CPU utilization of each client group as a percentage of network and I/O threads." + "type": "integer" } }, - "description": "Quotas on requests to control the broker resources used by clients. Network bandwidth and request rate quotas can be enforced.Kafka documentation for Kafka User quotas can be found at http://kafka.apache.org/documentation/#design_quotas.", + "type": "object", "additionalProperties": false }, "template": { - "type": "object", + "description": "Template to specify how Kafka User `Secrets` are generated.", "properties": { "secret": { - "type": "object", + "description": "Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated.", "properties": { "metadata": { - "type": "object", + "description": "Metadata applied to the resource.", "properties": { - "labels": { - "x-kubernetes-preserve-unknown-fields": true, + "annotations": { + "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true }, - "annotations": { - "x-kubernetes-preserve-unknown-fields": true, + "labels": { + "description": "Labels added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`.", "type": "object", - "description": "Annotations added to the resource template. Can be applied to different resources such as `StatefulSets`, `Deployments`, `Pods`, and `Services`." + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Metadata applied to the resource.", + "type": "object", "additionalProperties": false } }, - "description": "Template for KafkaUser resources. The template allows users to specify how the `Secret` with password or TLS certificates is generated.", + "type": "object", "additionalProperties": false } }, - "description": "Template to specify how Kafka User `Secrets` are generated.", + "type": "object", "additionalProperties": false } }, - "description": "The specification of the user.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the Kafka User.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." + "type": "array" }, "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." - }, - "username": { - "type": "string", - "description": "Username." + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "secret": { - "type": "string", - "description": "The name of `Secret` where the credentials are stored." + "description": "The name of `Secret` where the credentials are stored.", + "type": "string" + }, + "username": { + "description": "Username.", + "type": "string" } }, - "description": "The status of the Kafka User.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" } diff --git a/kafka.strimzi.io/strimzipodset_v1beta2.json b/kafka.strimzi.io/strimzipodset_v1beta2.json index b1bc10be..ee02728d 100644 --- a/kafka.strimzi.io/strimzipodset_v1beta2.json +++ b/kafka.strimzi.io/strimzipodset_v1beta2.json @@ -1,16 +1,21 @@ { - "type": "object", "properties": { "spec": { - "type": "object", + "description": "The specification of the StrimziPodSet.", "properties": { + "pods": { + "description": "The Pods managed by this StrimziPodSet.", + "items": { + "type": "object", + "x-kubernetes-preserve-unknown-fields": true + }, + "type": "array" + }, "selector": { - "type": "object", + "description": "Selector is a label query which matches all the pods managed by this `StrimziPodSet`. Only `matchLabels` is supported. If `matchExpressions` is set, it will be ignored.", "properties": { "matchExpressions": { - "type": "array", "items": { - "type": "object", "properties": { "key": { "type": "string" @@ -19,91 +24,86 @@ "type": "string" }, "values": { - "type": "array", "items": { "type": "string" - } + }, + "type": "array" } }, + "type": "object", "additionalProperties": false - } + }, + "type": "array" }, "matchLabels": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" + "type": "object", + "x-kubernetes-preserve-unknown-fields": true } }, - "description": "Selector is a label query which matches all the pods managed by this `StrimziPodSet`. Only `matchLabels` is supported. If `matchExpressions` is set, it will be ignored.", + "type": "object", "additionalProperties": false - }, - "pods": { - "type": "array", - "items": { - "x-kubernetes-preserve-unknown-fields": true, - "type": "object" - }, - "description": "The Pods managed by this StrimziPodSet." } }, "required": [ "selector", "pods" ], - "description": "The specification of the StrimziPodSet.", + "type": "object", "additionalProperties": false }, "status": { - "type": "object", + "description": "The status of the StrimziPodSet.", "properties": { "conditions": { - "type": "array", + "description": "List of status conditions.", "items": { - "type": "object", "properties": { - "type": { - "type": "string", - "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource." - }, - "status": { - "type": "string", - "description": "The status of the condition, either True, False or Unknown." - }, "lastTransitionTime": { - "type": "string", - "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone." + "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone.", + "type": "string" + }, + "message": { + "description": "Human-readable message indicating details about the condition's last transition.", + "type": "string" }, "reason": { - "type": "string", - "description": "The reason for the condition's last transition (a single word in CamelCase)." + "description": "The reason for the condition's last transition (a single word in CamelCase).", + "type": "string" }, - "message": { - "type": "string", - "description": "Human-readable message indicating details about the condition's last transition." + "status": { + "description": "The status of the condition, either True, False or Unknown.", + "type": "string" + }, + "type": { + "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource.", + "type": "string" } }, + "type": "object", "additionalProperties": false }, - "description": "List of status conditions." + "type": "array" + }, + "currentPods": { + "description": "Number of pods managed by the StrimziPodSet controller that have the current revision.", + "type": "integer" }, "observedGeneration": { - "type": "integer", - "description": "The generation of the CRD that was last reconciled by the operator." + "description": "The generation of the CRD that was last reconciled by the operator.", + "type": "integer" }, "pods": { - "type": "integer", - "description": "Number of pods managed by the StrimziPodSet controller." + "description": "Number of pods managed by the StrimziPodSet controller.", + "type": "integer" }, "readyPods": { - "type": "integer", - "description": "Number of pods managed by the StrimziPodSet controller that are ready." - }, - "currentPods": { - "type": "integer", - "description": "Number of pods managed by the StrimziPodSet controller that have the current revision." + "description": "Number of pods managed by the StrimziPodSet controller that are ready.", + "type": "integer" } }, - "description": "The status of the StrimziPodSet.", + "type": "object", "additionalProperties": false } - } + }, + "type": "object" }