Skip to content

Commit

Permalink
Update platform.confluent.io (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
Namoshek authored Oct 26, 2023
1 parent 26a4d69 commit 1fe9ce4
Show file tree
Hide file tree
Showing 9 changed files with 8,348 additions and 913 deletions.
46 changes: 37 additions & 9 deletions platform.confluent.io/connect_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"type": "array"
},
"locationType": {
"description": "locationType specifies where to get connector plugins. Valid options are `confluentHub` and `url`.",
"description": "This field is deprecated and will be ignored if set.",
"enum": [
"confluentHub",
"url"
Expand Down Expand Up @@ -187,9 +187,6 @@
"type": "array"
}
},
"required": [
"locationType"
],
"type": "object",
"additionalProperties": false
},
Expand Down Expand Up @@ -1176,6 +1173,14 @@
"pattern": "^https?://.*",
"type": "string"
},
"ssoProtocol": {
"description": "sso protocol, valid options are ldap and oidc.",
"enum": [
"ldap",
"oidc"
],
"type": "string"
},
"tls": {
"description": "ClientTLSConfig specifies the TLS configuration for the Confluent component (dependencies, listeners).",
"properties": {
Expand Down Expand Up @@ -1231,6 +1236,10 @@
"minLength": 1,
"type": "string"
},
"encryptedTokenKey": {
"description": "EncryptedTokenKey boolean value indicating whether the tokenKeypair(private used for signing) is encrypted using a passphrase. If true, cfk operator will look for a file named mdsTokenKeyPassphrase.txt containing key value pair mdsTokenKeyPassphrase=<passphrase>. Relevant only for mds server. Ignored if set for a client configuration.",
"type": "boolean"
},
"secretRef": {
"description": "secretRef references the name of the secret that contains the MDS token key pair.",
"maxLength": 30,
Expand Down Expand Up @@ -1545,14 +1554,14 @@
"description": "loadBalancer specifies the configuration to create a Kubernetes load balancer service.",
"properties": {
"advertisedURL": {
"description": "advertisedURL specifies the configuration for advertised listener per pod. It is only supported for MDS currently. If it is enabled, instead of using internal endpoint, the MDS advertised listener for each broker will be set to: `<httpSchema>://<advertisedUrl.prefix><podId>.<domain>` where podId starts from `0` to `replicaCount -1`. This is only recommended if you cannot add internal SANs to the TLS certificates for MDS and the external DNS must be resolved inside the Kubernetes cluster.",
"description": "advertisedURL specifies the configuration for advertised listener per pod. It is only supported for MDS currently. If it is enabled, instead of using internal endpoint, the MDS advertised listener for each broker will be set to: `<httpSchema>://<advertisedUrl.prefix><podId>.<domain>` where podId starts from `0` to `replicaCount -1`. This is only recommended if you cannot add internal SANs to the TLS certificates for MDS and the external DNS must be resolved inside the Kubernetes cluster. This configuration will not take effect if MDS enabled dual listener setup.",
"properties": {
"enabled": {
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker.",
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker. Has no effect with Zookeeper, which will always create a listener per pod.",
"type": "boolean"
},
"prefix": {
"description": "prefix specifies the broker prefix for MDS advertised endpoint if using loadBalancer external access. If not configured, it uses `b` as default prefix, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`.",
"description": "prefix specifies the broker prefix for MDS/Zookeeper advertised endpoint. If not configured, it uses `b` as default prefix for MDS, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`. It uses 'zookeeper' as default prefix for Zookeeper in the same way.",
"minLength": 1,
"type": "string"
}
Expand Down Expand Up @@ -1699,11 +1708,11 @@
"description": "advertisedURL specifies the configuration for advertised listener per pod. It is only supported for MDS currently. If it is enabled, instead of using internal endpoint, the MDS advertised listener for each broker will be set to `<httpSchema>://<host>:<nodePortOffset + podId + 1>, where`podId` starts from `0` to `replicaCount - 1`. This is only recommended if you cannot add internal SANs to the TLS certificates for MDS and the external DNS must be resolved inside the Kubernetes cluster.",
"properties": {
"enabled": {
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker.",
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker. Has no effect with Zookeeper, which will always create a listener per pod.",
"type": "boolean"
},
"prefix": {
"description": "prefix specifies the broker prefix for MDS advertised endpoint if using loadBalancer external access. If not configured, it uses `b` as default prefix, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`.",
"description": "prefix specifies the broker prefix for MDS/Zookeeper advertised endpoint. If not configured, it uses `b` as default prefix for MDS, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`. It uses 'zookeeper' as default prefix for Zookeeper in the same way.",
"minLength": 1,
"type": "string"
}
Expand Down Expand Up @@ -1836,6 +1845,25 @@
"route": {
"description": "route specifies the configuration to create a route service in OpenShift.",
"properties": {
"advertisedURL": {
"description": "advertisedURL specifies the configuration for advertised listener per pod. It is only supported for MDS currently. If it is enabled, instead of using internal endpoint, the MDS advertised listener for each broker will be set to: `<httpSchema>://<advertisedUrl.prefix>-http-external<podId>.<domain>` where podId starts from `0` to `replicaCount -1`. This is only recommended if you cannot add internal SANs to the TLS certificates for MDS and the external DNS must be resolved inside the Kubernetes cluster. This configuration will not take effect if MDS enabled dual listener setup.",
"properties": {
"enabled": {
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker. Has no effect with Zookeeper, which will always create a listener per pod.",
"type": "boolean"
},
"prefix": {
"description": "prefix specifies the broker prefix for MDS/Zookeeper advertised endpoint. If not configured, it uses `b` as default prefix for MDS, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`. It uses 'zookeeper' as default prefix for Zookeeper in the same way.",
"minLength": 1,
"type": "string"
}
},
"required": [
"enabled"
],
"type": "object",
"additionalProperties": false
},
"annotations": {
"additionalProperties": {
"type": "string"
Expand Down
41 changes: 36 additions & 5 deletions platform.confluent.io/controlcenter_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,14 @@
"pattern": "^https?://.*",
"type": "string"
},
"ssoProtocol": {
"description": "sso protocol, valid options are ldap and oidc.",
"enum": [
"ldap",
"oidc"
],
"type": "string"
},
"tls": {
"description": "ClientTLSConfig specifies the TLS configuration for the Confluent component (dependencies, listeners).",
"properties": {
Expand Down Expand Up @@ -720,6 +728,10 @@
"minLength": 1,
"type": "string"
},
"encryptedTokenKey": {
"description": "EncryptedTokenKey boolean value indicating whether the tokenKeypair(private used for signing) is encrypted using a passphrase. If true, cfk operator will look for a file named mdsTokenKeyPassphrase.txt containing key value pair mdsTokenKeyPassphrase=<passphrase>. Relevant only for mds server. Ignored if set for a client configuration.",
"type": "boolean"
},
"secretRef": {
"description": "secretRef references the name of the secret that contains the MDS token key pair.",
"maxLength": 30,
Expand Down Expand Up @@ -999,14 +1011,14 @@
"description": "loadBalancer specifies the configuration to create a Kubernetes load balancer service.",
"properties": {
"advertisedURL": {
"description": "advertisedURL specifies the configuration for advertised listener per pod. It is only supported for MDS currently. If it is enabled, instead of using internal endpoint, the MDS advertised listener for each broker will be set to: `<httpSchema>://<advertisedUrl.prefix><podId>.<domain>` where podId starts from `0` to `replicaCount -1`. This is only recommended if you cannot add internal SANs to the TLS certificates for MDS and the external DNS must be resolved inside the Kubernetes cluster.",
"description": "advertisedURL specifies the configuration for advertised listener per pod. It is only supported for MDS currently. If it is enabled, instead of using internal endpoint, the MDS advertised listener for each broker will be set to: `<httpSchema>://<advertisedUrl.prefix><podId>.<domain>` where podId starts from `0` to `replicaCount -1`. This is only recommended if you cannot add internal SANs to the TLS certificates for MDS and the external DNS must be resolved inside the Kubernetes cluster. This configuration will not take effect if MDS enabled dual listener setup.",
"properties": {
"enabled": {
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker.",
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker. Has no effect with Zookeeper, which will always create a listener per pod.",
"type": "boolean"
},
"prefix": {
"description": "prefix specifies the broker prefix for MDS advertised endpoint if using loadBalancer external access. If not configured, it uses `b` as default prefix, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`.",
"description": "prefix specifies the broker prefix for MDS/Zookeeper advertised endpoint. If not configured, it uses `b` as default prefix for MDS, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`. It uses 'zookeeper' as default prefix for Zookeeper in the same way.",
"minLength": 1,
"type": "string"
}
Expand Down Expand Up @@ -1153,11 +1165,11 @@
"description": "advertisedURL specifies the configuration for advertised listener per pod. It is only supported for MDS currently. If it is enabled, instead of using internal endpoint, the MDS advertised listener for each broker will be set to `<httpSchema>://<host>:<nodePortOffset + podId + 1>, where`podId` starts from `0` to `replicaCount - 1`. This is only recommended if you cannot add internal SANs to the TLS certificates for MDS and the external DNS must be resolved inside the Kubernetes cluster.",
"properties": {
"enabled": {
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker.",
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker. Has no effect with Zookeeper, which will always create a listener per pod.",
"type": "boolean"
},
"prefix": {
"description": "prefix specifies the broker prefix for MDS advertised endpoint if using loadBalancer external access. If not configured, it uses `b` as default prefix, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`.",
"description": "prefix specifies the broker prefix for MDS/Zookeeper advertised endpoint. If not configured, it uses `b` as default prefix for MDS, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`. It uses 'zookeeper' as default prefix for Zookeeper in the same way.",
"minLength": 1,
"type": "string"
}
Expand Down Expand Up @@ -1290,6 +1302,25 @@
"route": {
"description": "route specifies the configuration to create a route service in OpenShift.",
"properties": {
"advertisedURL": {
"description": "advertisedURL specifies the configuration for advertised listener per pod. It is only supported for MDS currently. If it is enabled, instead of using internal endpoint, the MDS advertised listener for each broker will be set to: `<httpSchema>://<advertisedUrl.prefix>-http-external<podId>.<domain>` where podId starts from `0` to `replicaCount -1`. This is only recommended if you cannot add internal SANs to the TLS certificates for MDS and the external DNS must be resolved inside the Kubernetes cluster. This configuration will not take effect if MDS enabled dual listener setup.",
"properties": {
"enabled": {
"description": "enabled indicates whether to set the MDS advertised listener url with external endpoint for each broker. Has no effect with Zookeeper, which will always create a listener per pod.",
"type": "boolean"
},
"prefix": {
"description": "prefix specifies the broker prefix for MDS/Zookeeper advertised endpoint. If not configured, it uses `b` as default prefix for MDS, such as `b#.domain` where `#` will start from `0` to `replicaCount -1`. It uses 'zookeeper' as default prefix for Zookeeper in the same way.",
"minLength": 1,
"type": "string"
}
},
"required": [
"enabled"
],
"type": "object",
"additionalProperties": false
},
"annotations": {
"additionalProperties": {
"type": "string"
Expand Down
Loading

0 comments on commit 1fe9ce4

Please sign in to comment.