mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
build(kafka-operator): vendor Strimzi 1.3.1 (#5372)
## What this PR does
Moves the Kafka operator from Strimzi 1.2.0 to 1.3.1, the only Strimzi
release rebuilt on an OpenJDK that fixes CVE-2026-114938 ("Java4Shell").
The CVE is an out-of-bounds write in the AVX-512 VBMI Base64 decoder of
OpenJDK 17.0.6 and later. A broker decodes Base64 in SASL/SCRAM before
the client is authenticated, so on an x86-64 node with AVX-512 VBMI a
tenant's cluster can be attacked by anyone who reaches its listeners.
Strimzi [rebuilt 1.3.1 and does not plan to rebuild
1.2.0](https://github.com/strimzi/strimzi-kafka-operator/issues/13394).
| Image | Bundled OpenJDK |
|---|---|
| `quay.io/strimzi/kafka:1.2.0-kafka-4.3.1`,
`quay.io/strimzi/operator:1.2.0` (today) | 21.0.12, affected |
| `quay.io/strimzi/kafka:1.3.1-1-kafka-4.3.1`,
`quay.io/strimzi/operator:1.3.1-1` (this PR) | 21.0.13.1, fixed |
What changes:
- The vendored chart is 1.3.1 as published, with no local patches. It
keeps Kafka 4.2.1 and 4.3.1, the two versions the `kafka` application
offers, so no tenant has to change `version`.
- The images are pinned to the suffixed rebuild tags (`1.3.1-1`, bridge
`1.2.1-1`). Strimzi moved the plain `1.3.1` tags onto the rebuild, so a
node that pulled the first build would keep the affected JDK under an
unchanged tag. All ten images the chart references exist under the
suffixed tags.
- The chart drops Kaniko (Buildah is the only Connect builder) and
grants the operator `serviceaccounts/token` and cert-manager
`certificates`, for two features that are off by default.
- The example backup scripts fall back to the same Kafka image and
follow it.
- A first commit makes the Kafka backup strategies (the platform's
topic-metadata strategy and the topic-data demo strategy) SigV4-sign
their S3 requests themselves with `openssl` and `sha256sum` instead of
`curl --aws-sigv4`. The Strimzi 1.3.1-1 images ship curl
`7.76.1-43.el9`, whose RHEL backport of the S3 payload handling signs
`x-amz-content-sha256` without sending it, so SeaweedFS answered every
backup upload and download with 403; that is what failed
`kafka-2-backup-roundtrip` and `kafka-3-metadata-roundtrip` on the first
run of this PR. The commit comes first because it works with the Strimzi
1.2 curl as well, so each commit is green on its own.
Not verified here: nothing was run on a live cluster. The check that
matters is the Kafka E2E on this PR, an upgrade of running clusters from
1.2.0 included. The signing was run against SeaweedFS 4.45 on a
non-default port inside both `quay.io/strimzi/kafka:1.2.0-kafka-4.3.1`
and `1.3.1-1-kafka-4.3.1` (metadata backup, restore and cleanup; demo
upload and download of a binary tarball), and the bats suites hold the
signature to the one botocore computes for the same request.
Notes for the reviewer:
- Strimzi 1.3 requires Kubernetes 1.32 or newer on the cluster the
operator runs on.
- Upgrading rolls every Kafka cluster once.
- This changes CRDs, so it does not reach the release lines, which are
on Strimzi 0.45.1 anyway. Those are covered by the JVM flag in #5371.
- #5371 stays useful after this merges only for the release lines; on
`main` the two do not conflict.
### Screenshots
N/A — no UI changes.
### Downstream repositories
Walked the trigger map against the diff: the vendored chart under
`packages/system/kafka-operator`, its wrapper values, the Kafka strategy
script in `packages/system/backupstrategy-controller/files`, the Kafka
backup examples and their bats suites. No package added or renamed, no
`values.schema.json` or README of an app, no version enum
(`packages/apps/kafka/files/versions.yaml` is unchanged), no platform
values, no `hack/` tooling or make target.
- [x] No downstream repository is affected by this change
- [ ] [cozystack/website](https://github.com/cozystack/website) -
follow-up:
- [ ]
[cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack)
- follow-up:
- [ ]
[cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack)
- follow-up:
- [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up:
- [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up:
- [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) -
follow-up:
- [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) -
follow-up:
- [ ]
[cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server)
- follow-up:
- [ ]
[cozystack/external-apps-example](https://github.com/cozystack/external-apps-example)
- follow-up:
- [ ] [cozystack/examples](https://github.com/cozystack/examples) -
follow-up:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:
### Release note
```release-note
build(kafka-operator): update Strimzi to 1.3.1, whose images carry an OpenJDK with the fix for CVE-2026-114938 (Java4Shell). Every Kafka cluster rolls once on upgrade. Strimzi 1.3 requires Kubernetes 1.32 or newer. Kafka backups now sign their S3 requests in the strategy script, so they keep working with the curl the new Kafka images ship.
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **New Features**
* Added support for projected service-account-token volumes, additional
volume ownership settings, and bind-mount options across Kafka
components.
* Added cert-manager support for cluster and client certificate
authorities.
* Expanded Kafka version options and added broker health panels to the
monitoring dashboard.
* **Updates**
* Updated Strimzi operator, Kafka, and Kafka Bridge images. Kubernetes
1.32 or newer is now required.
* S3 backup and restore requests now support signed requests to
custom-port endpoints.
* **Removals**
* Removed Kaniko executor configuration and documentation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
23 files changed
+1400
-422
No files matched your search
@@ -63,7 +63,7 @@ export CA_MOUNT_DIR="${CA_MOUNT_DIR:-/etc/ssl/kafka-backup-ca}"
|
||||
# the target broker's own image at reconcile time and renders it as the
|
||||
# strategy's .ClientImage. Override this only to match your operator's image if
|
||||
# the CLI it carries differs.
|
||||
export KAFKA_IMAGE="${KAFKA_IMAGE:-quay.io/strimzi/kafka:1.2.0-kafka-4.3.1@sha256:fef34b5438e8556cc08c01f3e254e47346f061b53a4e38d4289853777e0ea7f1}"
|
||||
export KAFKA_IMAGE="${KAFKA_IMAGE:-quay.io/strimzi/kafka:1.3.1-1-kafka-4.3.1@sha256:a15f05b54941937d3bc6881985679d9f429f7af2025bcbcc045c069cf9a48905}"
|
||||
export KAFKA_BIN="${KAFKA_BIN:-/opt/kafka/bin}"
|
||||
# Name of that long-lived CLI Pod; cleanup.sh removes it.
|
||||
export KAFKA_CLI_POD="${KAFKA_CLI_POD:-kafka-cli}"
|
||||
|
||||
@@ -92,8 +92,8 @@ resolve_kafka_image() {
|
||||
# is being assumed. On an air-gapped or operator-less cluster - the persona
|
||||
# the README's override note is for - that literal is unreachable, so the
|
||||
# run must set KAFKA_IMAGE to an image the nodes can actually pull.
|
||||
echo "! could not read STRIMZI_KAFKA_IMAGES from deploy/strimzi-cluster-operator in cozy-kafka-operator; assuming quay.io/strimzi/kafka:1.2.0-kafka-4.3.1. Set KAFKA_IMAGE explicitly if that image is wrong or unreachable (e.g. air-gapped)." >&2
|
||||
echo "quay.io/strimzi/kafka:1.2.0-kafka-4.3.1"
|
||||
echo "! could not read STRIMZI_KAFKA_IMAGES from deploy/strimzi-cluster-operator in cozy-kafka-operator; assuming quay.io/strimzi/kafka:1.3.1-1-kafka-4.3.1. Set KAFKA_IMAGE explicitly if that image is wrong or unreachable (e.g. air-gapped)." >&2
|
||||
echo "quay.io/strimzi/kafka:1.3.1-1-kafka-4.3.1"
|
||||
}
|
||||
export KAFKA_IMAGE="${KAFKA_IMAGE:-$(resolve_kafka_image)}"
|
||||
export KAFKA_BIN="${KAFKA_BIN:-/opt/kafka/bin}"
|
||||
|
||||
@@ -137,45 +137,65 @@ spec:
|
||||
*) BASE="https://\${S3_ENDPOINT}" ;;
|
||||
esac
|
||||
|
||||
# Split the endpoint into scheme/host/port. The Strimzi image ships
|
||||
# curl 7.76.1, whose --aws-sigv4 has a bug fixed only in 7.87.0: it
|
||||
# omits a non-default port from the SigV4 canonical Host even though
|
||||
# it sends the port in the Host header. seaweedfs recomputes the
|
||||
# signature from the received "host:port" and so rejects the PUT
|
||||
# with 403 whenever the endpoint carries a non-default port (the
|
||||
# e2e harness points S3_ENDPOINT at the :8333 in-cluster Service).
|
||||
# Strip the port from the signed/sent URL and redirect the
|
||||
# connection to the real port with --connect-to, so the signed,
|
||||
# sent and server-side Host all agree on the bare host. This is
|
||||
# also correct on curl >= 7.87, which drops the default port too.
|
||||
# Demo-scope parse: handles the "scheme://host[:port]" that
|
||||
# BucketInfo advertises. An IPv6 literal ([::1]:8333) or an
|
||||
# endpoint carrying a path prefix would be mis-split - out of
|
||||
# scope here.
|
||||
# Split the endpoint into scheme/host/port. Demo-scope parse:
|
||||
# handles the "scheme://host[:port]" that BucketInfo advertises.
|
||||
# An IPv6 literal ([::1]:8333) or an endpoint carrying a path
|
||||
# prefix would be mis-split - out of scope here.
|
||||
SCHEME="\${BASE%%://*}"
|
||||
HOSTPORT="\${BASE#*://}"; HOSTPORT="\${HOSTPORT%%/*}"
|
||||
HOST="\${HOSTPORT%%:*}"
|
||||
PORT="\${HOSTPORT##*:}"
|
||||
if [ "\${PORT}" = "\${HOSTPORT}" ]; then PORT=""; fi
|
||||
if [ "\${SCHEME}" = http ]; then DEFPORT=80; else DEFPORT=443; fi
|
||||
CONNECT_TO=""
|
||||
if [ -n "\${PORT}" ] && [ "\${PORT}" != "\${DEFPORT}" ]; then
|
||||
CONNECT_TO="--connect-to \${HOST}:\${DEFPORT}:\${HOST}:\${PORT}"
|
||||
fi
|
||||
# The Host header curl sends, which is what gets signed: curl
|
||||
# leaves the port out exactly when it is the scheme's default.
|
||||
AUTHORITY="\${HOST}"
|
||||
if [ -n "\${PORT}" ] && [ "\${PORT}" != "\${DEFPORT}" ]; then AUTHORITY="\${HOST}:\${PORT}"; fi
|
||||
|
||||
if [ "\${MODE}" = backup ]; then SRC="\${SRC_BACKUP}"; else SRC="\${SRC_RESTORE}"; fi
|
||||
KEY="\${SRC_NAMESPACE}/\${SRC}/kafka-topics.tar"
|
||||
OBJ_URL="\${SCHEME}://\${HOST}/\${S3_BUCKET}/\${KEY}"
|
||||
# Namespace and application names are DNS labels, so the path
|
||||
# needs no percent-encoding to be its own canonical URI.
|
||||
OBJ_PATH="/\${S3_BUCKET}/\${KEY}"
|
||||
OBJ_URL="\${SCHEME}://\${AUTHORITY}\${OBJ_PATH}"
|
||||
|
||||
# curl --aws-sigv4 signs the request (SigV4) so no separate S3
|
||||
# client image is needed. The certificate is verified: against the
|
||||
# CA projected from the Secret when it carries one, else
|
||||
# against the image's trust store. \${CA_OPT} and \${CONNECT_TO}
|
||||
# are deliberately unquoted so an empty value expands to no
|
||||
# argument.
|
||||
# The request is SigV4-signed here, with openssl and sha256sum,
|
||||
# so no separate S3 client image is needed. It is not left to curl
|
||||
# --aws-sigv4, because the curl in the Strimzi image cannot sign
|
||||
# for S3: 7.76.1-40.el9 (Strimzi 1.2) signs the Host without a
|
||||
# non-default port while sending it with one, and 7.76.1-43.el9
|
||||
# (Strimzi 1.3.1) carries a RHEL backport of the S3 payload
|
||||
# handling that lists x-amz-content-sha256 in SignedHeaders
|
||||
# without ever sending the header. Either way seaweedfs answers
|
||||
# 403. The certificate is verified: against the CA projected from
|
||||
# the Secret when it carries one, else against the image's trust
|
||||
# store. \${CA_OPT} is deliberately unquoted so an empty value
|
||||
# expands to no argument.
|
||||
CA_OPT=""
|
||||
if [ -s "\${CA_FILE}" ]; then CA_OPT="--cacert \${CA_FILE}"; fi
|
||||
s3() { curl -fsS \${CA_OPT} \${CONNECT_TO} --aws-sigv4 "aws:amz:\${S3_REGION}:s3" --user "\${AWS_ACCESS_KEY_ID}:\${AWS_SECRET_ACCESS_KEY}" "\$@"; }
|
||||
EMPTY_SHA256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
||||
hmac() { printf '%s' "\$2" | openssl dgst -sha256 -mac HMAC -macopt "\$1" -r | cut -d' ' -f1; }
|
||||
# s3 METHOD PAYLOAD_SHA256 [curl args...]
|
||||
s3() {
|
||||
local method=\$1 payload=\$2 now day scope creq sts k sig
|
||||
shift 2
|
||||
now=\$(date -u +%Y%m%dT%H%M%SZ)
|
||||
day=\${now%%T*}
|
||||
scope="\${day}/\${S3_REGION}/s3/aws4_request"
|
||||
creq=\$(printf '%s\n%s\n\nhost:%s\nx-amz-content-sha256:%s\nx-amz-date:%s\n\nhost;x-amz-content-sha256;x-amz-date\n%s' \\
|
||||
"\${method}" "\${OBJ_PATH}" "\${AUTHORITY}" "\${payload}" "\${now}" "\${payload}")
|
||||
sts=\$(printf 'AWS4-HMAC-SHA256\n%s\n%s\n%s' "\${now}" "\${scope}" "\$(printf '%s' "\${creq}" | sha256sum | cut -d' ' -f1)")
|
||||
k=\$(hmac "key:AWS4\${AWS_SECRET_ACCESS_KEY}" "\${day}")
|
||||
k=\$(hmac "hexkey:\${k}" "\${S3_REGION}")
|
||||
k=\$(hmac "hexkey:\${k}" s3)
|
||||
k=\$(hmac "hexkey:\${k}" aws4_request)
|
||||
sig=\$(hmac "hexkey:\${k}" "\${sts}")
|
||||
curl -fsS \${CA_OPT} -X "\${method}" \\
|
||||
-H "x-amz-date: \${now}" \\
|
||||
-H "x-amz-content-sha256: \${payload}" \\
|
||||
-H "Authorization: AWS4-HMAC-SHA256 Credential=\${AWS_ACCESS_KEY_ID}/\${scope}, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=\${sig}" \\
|
||||
"\$@" "\${OBJ_URL}"
|
||||
}
|
||||
|
||||
# Records a topic currently holds, summed over its partitions as
|
||||
# end - begin. kafka-get-offsets prints only the partitions whose
|
||||
@@ -346,11 +366,11 @@ spec:
|
||||
echo " \${t}: \${pc} partition(s), replication factor \${rf}"
|
||||
done
|
||||
tar -C "\${WORK}" -cf "\${TARBALL}" .
|
||||
s3 -X PUT --upload-file "\${TARBALL}" "\${OBJ_URL}"
|
||||
s3 PUT "\$(sha256sum < "\${TARBALL}" | cut -d' ' -f1)" --upload-file "\${TARBALL}"
|
||||
echo "uploaded s3://\${S3_BUCKET}/\${KEY}"
|
||||
else
|
||||
echo "restoring topics into \${BOOT} from s3://\${S3_BUCKET}/\${KEY}"
|
||||
s3 -o "\${TARBALL}" "\${OBJ_URL}"
|
||||
s3 GET "\${EMPTY_SHA256}" -o "\${TARBALL}"
|
||||
tar -C "\${WORK}" -xf "\${TARBALL}"
|
||||
[ -f "\${WORK}/manifest.txt" ] || { echo "manifest missing in backup" >&2; exit 1; }
|
||||
# The manifest arrives inside the downloaded tarball, so treat it
|
||||
|
||||
@@ -21,7 +21,7 @@ A cluster administrator performs the cluster-level preparation once. Tenant admi
|
||||
|
||||
| Resource | Scope | Purpose |
|
||||
|---|---|---|
|
||||
| `Job.strategy.backups.cozystack.io/kafka-job` | Cluster | PodTemplateSpec for a `quay.io/strimzi/kafka` Pod that drains the topics with `kafka-console-consumer`, replays them with `kafka-console-producer`, and moves a tarball to/from S3 with `curl --aws-sigv4` |
|
||||
| `Job.strategy.backups.cozystack.io/kafka-job` | Cluster | PodTemplateSpec for a `quay.io/strimzi/kafka` Pod that drains the topics with `kafka-console-consumer`, replays them with `kafka-console-producer`, and moves a tarball to/from S3 with `curl`, SigV4-signed by the script |
|
||||
| `BackupClass/kafka-backup` | Cluster | Maps `apps.cozystack.io/Kafka` to the strategy. `parameters.topics` selects the topics (empty = every non-internal topic); `parameters.replicationFactor`, when set, overrides the replication factor the backup captured when restore recreates a topic |
|
||||
|
||||
## How the strategy template gets rendered
|
||||
|
||||
@@ -39,7 +39,7 @@ The user's own action here, at the tenant admin level, is the `BackupJob` in ste
|
||||
- writes a manifest (`topic partition begin end replicationFactor` per
|
||||
line), `tar`s everything and `PUT`s it to
|
||||
`s3://<bucket>/<namespace>/<release>/kafka-topics.tar` using
|
||||
`curl --aws-sigv4`, verified against the CA from the Secret.
|
||||
`curl` with a SigV4 signature the script computes, verified against the CA from the Secret.
|
||||
4. The controller watches the Job's terminal condition. On `Complete` it
|
||||
creates a `Backup` CR in the same namespace, recording the BackupClass
|
||||
parameters under `spec.driverMetadata` (the `parameter/` prefix), so a later
|
||||
|
||||
@@ -5,7 +5,7 @@ This directory shows how to back up and restore the **topic data** of a Cozystac
|
||||
- **backup**: freeze each partition's end offset, drain `[begin, end)` with `kafka-console-consumer` → `tar` → `PUT` the tarball to S3.
|
||||
- **restore**: `GET` the tarball from S3 → `tar -x` → recreate the topics with their original partition count and replication factor → replay every partition file with `kafka-console-producer`.
|
||||
|
||||
The same `PodTemplateSpec` serves both directions. The strategy engine templates each string field independently — it cannot add or remove containers per mode — so the single image branches at runtime on `{{ .Mode }}` (rendered into the `MODE` env var). Backup pushes to a key scoped by the source app (`{{ .Release.Name }}`); restore reads the key scoped by the backup's source (`{{ .Backup.ApplicationRef.Name }}`), so a to-copy restore lands the source's data into a differently-named target. The upload uses `curl --aws-sigv4`, so no purpose-built backup image is needed — a stock client image plus a shell script is the whole driver.
|
||||
The same `PodTemplateSpec` serves both directions. The strategy engine templates each string field independently — it cannot add or remove containers per mode — so the single image branches at runtime on `{{ .Mode }}` (rendered into the `MODE` env var). Backup pushes to a key scoped by the source app (`{{ .Release.Name }}`); restore reads the key scoped by the backup's source (`{{ .Backup.ApplicationRef.Name }}`), so a to-copy restore lands the source's data into a differently-named target. The upload is a `curl` request the script SigV4-signs itself with `openssl` and `sha256sum`, so no purpose-built backup image is needed — a stock client image plus a shell script is the whole driver. It does not use `curl --aws-sigv4`: the curl in the Strimzi images cannot sign for S3 (see the comment above `s3()` in `01-create-strategy.sh`).
|
||||
|
||||
## Consistency model
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
# $(...) capture (set -e makes a failed command fail the test).
|
||||
#
|
||||
# Each named guard below corresponds to a mutation the script must not survive:
|
||||
# \Q literal-match on describe and alter, the --connect-to port workaround with
|
||||
# no -k (keyed off the request host in both addressing modes), the fail-closed
|
||||
# --list, the comma-value bracket grouping, the replication-factor divergence
|
||||
# guard, and the cleanup delete's HTTP handling.
|
||||
# \Q literal-match on describe and alter, the SigV4 signature (held to one
|
||||
# botocore computes for the same request, in both addressing modes) with no -k,
|
||||
# the fail-closed --list, the comma-value bracket grouping, the
|
||||
# replication-factor divergence guard, and the cleanup delete's HTTP handling.
|
||||
|
||||
load test_helper
|
||||
|
||||
@@ -150,7 +150,14 @@ if [ -n "\$out" ]; then
|
||||
fi
|
||||
exit 0
|
||||
STUB
|
||||
chmod +x "$BINDIR"/*.sh "$PATHDIR/curl"
|
||||
# date stub: a fixed signing time, so a request's signature is a constant the
|
||||
# S3 signing tests can compare with an independently computed one.
|
||||
cat > "$PATHDIR/date" <<'STUB'
|
||||
#!/usr/bin/env bash
|
||||
if [ "$*" = "-u +%Y%m%dT%H%M%SZ" ]; then echo 20261120T120000Z; exit 0; fi
|
||||
exec /bin/date "$@"
|
||||
STUB
|
||||
chmod +x "$BINDIR"/*.sh "$PATHDIR/curl" "$PATHDIR/date"
|
||||
|
||||
export BIN="$BINDIR"
|
||||
export PATH="$PATHDIR:$PATH"
|
||||
@@ -208,12 +215,26 @@ expect_fail() {
|
||||
grep -qxF "$(printf 'C\torders\tcleanup.policy\tcompact,delete')" "$STATE/s3_object"
|
||||
}
|
||||
|
||||
# ---- S3 signing (curl 7.76.1 port workaround, no -k) -----------------------
|
||||
# ---- S3 signing (SigV4 computed by the script, no -k) ------------------------
|
||||
#
|
||||
# The expected signatures were computed with botocore 1.35.99 (S3SigV4Auth,
|
||||
# payload signing on) for the same request: credentials k/s, region us-east-1
|
||||
# and the date stub's 20261120T120000Z. A signer that drifts from SigV4 — a
|
||||
# wrong canonical Host, a key encoded twice or not at all, a header signed and
|
||||
# not sent — produces a different signature and goes red here.
|
||||
|
||||
@test "ported endpoint signs with --connect-to and never -k" {
|
||||
init_stubs; seed_three
|
||||
MODE=backup S3_ENDPOINT="https://s3.example.org:8333" bash "$SCRIPT"
|
||||
grep -qF -- '--connect-to s3.example.org:443:s3.example.org:8333' "$STATE/curl_args"
|
||||
# expect_signed <url> <signature>: the request went to <url>, signed as botocore
|
||||
# signs it.
|
||||
expect_signed() {
|
||||
grep -qF -- "$1" "$STATE/curl_args" || { echo "no request to $1: $(cat "$STATE/curl_args")" >&2; return 1; }
|
||||
grep -qF -- "Signature=$2" "$STATE/curl_args" || { echo "signature is not botocore's $2: $(cat "$STATE/curl_args")" >&2; return 1; }
|
||||
}
|
||||
|
||||
@test "a ported endpoint signs the host:port curl sends, and never passes -k" {
|
||||
init_stubs
|
||||
MODE=cleanup S3_ENDPOINT="https://s3.example.org:8333" bash "$SCRIPT"
|
||||
expect_signed https://s3.example.org:8333/bkt/ns/app/run/kafka-metadata.txt \
|
||||
429859e912b812c5f16a50f45186ddaedffa32d7d6b89a0f3c781832f692046c
|
||||
# Positive form, not `! grep`: hack/cozytest.sh wraps each @test in `set -e`
|
||||
# + a trailing `return 0`, and bash exempts a `!`-negated command from errexit,
|
||||
# so a `! grep` guard can never fail under the runner CI uses (only real bats).
|
||||
@@ -222,22 +243,25 @@ expect_fail() {
|
||||
fi
|
||||
}
|
||||
|
||||
@test "default-port endpoint needs no --connect-to" {
|
||||
init_stubs; seed_three
|
||||
MODE=backup S3_ENDPOINT="https://s3.example.org" bash "$SCRIPT"
|
||||
# Positive form (see the -k note above): a `! grep` is vacuous under cozytest.
|
||||
if grep -qF -- '--connect-to' "$STATE/curl_args"; then
|
||||
echo "unexpected --connect-to on a default-port endpoint: $(cat "$STATE/curl_args")" >&2; return 1
|
||||
fi
|
||||
@test "a default-port endpoint signs the bare host and percent-encodes the key once" {
|
||||
init_stubs
|
||||
MODE=cleanup ARTIFACT_URI="s3://bkt/ns/app/run 1/ü+x.txt" S3_ENDPOINT="https://s3.example.org" bash "$SCRIPT"
|
||||
expect_signed https://s3.example.org/bkt/ns/app/run%201/%C3%BC%2Bx.txt \
|
||||
56ecae2ddc534434d56e410177f89d10795d5e29fefa5011ea38134d6e089d8e
|
||||
}
|
||||
|
||||
@test "virtual-hosted ported endpoint keys --connect-to off the bucket host" {
|
||||
@test "a virtual-hosted ported endpoint signs the bucket host" {
|
||||
init_stubs
|
||||
MODE=cleanup S3_FORCE_PATH_STYLE=false S3_ENDPOINT="https://s3.example.org:8333" bash "$SCRIPT"
|
||||
expect_signed https://bkt.s3.example.org:8333/ns/app/run/kafka-metadata.txt \
|
||||
998307c7101ca8b4506f54fa3ecd06602d1b25565409a5754e3a19b067b747c7
|
||||
}
|
||||
|
||||
@test "the upload declares the SHA-256 of the object it sends" {
|
||||
init_stubs; seed_three
|
||||
MODE=backup S3_FORCE_PATH_STYLE=false S3_ENDPOINT="https://s3.example.org:8333" bash "$SCRIPT"
|
||||
# HOST1 must be the request host (bkt.s3.example.org), else curl never
|
||||
# redirects and the request hits the wrong port.
|
||||
grep -qF -- '--connect-to bkt.s3.example.org:443:s3.example.org:8333' "$STATE/curl_args"
|
||||
grep -qF 'https://bkt.s3.example.org/ns/app/run/kafka-metadata.txt' "$STATE/curl_args"
|
||||
MODE=backup S3_ENDPOINT="https://s3.example.org" bash "$SCRIPT"
|
||||
sum=$(sha256sum < "$STATE/s3_object" | cut -d' ' -f1)
|
||||
grep -qF -- "x-amz-content-sha256: $sum" "$STATE/curl_args"
|
||||
}
|
||||
|
||||
# ---- restore --------------------------------------------------------------
|
||||
|
||||
@@ -179,7 +179,14 @@ if [ -n "$up" ]; then cp "$up" "$S3DIR/$key"; exit 0; fi
|
||||
[ -f "$S3DIR/$key" ] || { echo "curl: (22) The requested URL returned error: 404" >&2; exit 22; }
|
||||
cp "$S3DIR/$key" "$out"
|
||||
STUB
|
||||
chmod +x "$BINDIR"/*.sh "$PATHDIR/curl"
|
||||
# date stub: a fixed signing time, so a request's signature is a constant the
|
||||
# S3 transport test can compare with an independently computed one.
|
||||
cat > "$PATHDIR/date" <<'STUB'
|
||||
#!/usr/bin/env bash
|
||||
if [ "$*" = "-u +%Y%m%dT%H%M%SZ" ]; then echo 20261120T120000Z; exit 0; fi
|
||||
exec /bin/date "$@"
|
||||
STUB
|
||||
chmod +x "$BINDIR"/*.sh "$PATHDIR/curl" "$PATHDIR/date"
|
||||
}
|
||||
|
||||
# run_strategy <mode> [VAR=value ...]: runs the rendered script against the
|
||||
@@ -419,11 +426,26 @@ repack() {
|
||||
init_stubs; seed_broker "$STATE/broker"
|
||||
printf 'STUB PEM\n' > "$STATE/ca.crt"
|
||||
run_strategy backup
|
||||
grep -qF -- "--cacert $STATE/ca.crt --connect-to seaweedfs-s3.tenant-root.svc:443:seaweedfs-s3.tenant-root.svc:8333 --aws-sigv4" "$STATE/curl_args"
|
||||
grep -qF -- "-fsS --cacert $STATE/ca.crt -X PUT" "$STATE/curl_args"
|
||||
rm -f "$STATE/ca.crt" "$STATE/curl_args"
|
||||
run_strategy backup
|
||||
grep -qF -- "-fsS --connect-to seaweedfs-s3.tenant-root.svc:443" "$STATE/curl_args"
|
||||
grep -qF -- "-fsS -X PUT" "$STATE/curl_args"
|
||||
if grep -qE -- '(^| )-k( |$)|--cacert' "$STATE/curl_args"; then
|
||||
echo "unexpected TLS flags without a CA file: $(cat "$STATE/curl_args")" >&2; return 1
|
||||
fi
|
||||
}
|
||||
|
||||
# The expected signature was computed with botocore 1.35.99 (S3SigV4Auth,
|
||||
# payload signing on) for the same GET: credentials k/s, region us-east-1 and
|
||||
# the date stub's 20261120T120000Z. The endpoint carries the e2e harness's
|
||||
# non-default :8333, which the signed Host has to keep.
|
||||
@test "the restore download is SigV4-signed for the host:port curl sends" {
|
||||
init_stubs; backup_then_target
|
||||
: > "$STATE/curl_args"
|
||||
BROKER="$STATE/tgt" run_strategy restore
|
||||
grep -qF -- "-X GET" "$STATE/curl_args"
|
||||
grep -qF -- "https://seaweedfs-s3.tenant-root.svc:8333/bkt/tenant-root/kafka-test/kafka-topics.tar" "$STATE/curl_args"
|
||||
grep -qF -- "Signature=4069e37c9241b1687649dffba4a7515ee5e5100b96f48fd685a442509e695ea2" "$STATE/curl_args" || {
|
||||
echo "signature is not botocore's: $(cat "$STATE/curl_args")" >&2; return 1
|
||||
}
|
||||
}
|
||||
@@ -44,32 +44,67 @@ case "${hostport}" in
|
||||
*) host="${hostport%%:*}"; port="${hostport##*:}"; [ "${port}" = "${hostport}" ] && port="" ;;
|
||||
esac
|
||||
if [ "${scheme}" = http ]; then defport=80; else defport=443; fi
|
||||
# curl 7.76.1 (this image) omits a NON-default port from the SigV4 canonical
|
||||
# host but still sends it in the Host header, so the backend recomputes a
|
||||
# different signature and 403s every request (fixed in curl 7.86.0). Sign and
|
||||
# send a portless URL and redirect the connection to the real port with
|
||||
# --connect-to, so signed, sent and server-side host all agree; correct on
|
||||
# curl >= 7.86 too (which drops the default port anyway). No -k: TLS is
|
||||
# verified against the endpoint's certificate (the platform endpoint is the
|
||||
# ACME-valid ingress), matching strategy-rabbitmq-default.yaml.
|
||||
if [ "${S3_FORCE_PATH_STYLE}" = "false" ]; then
|
||||
reqhost="${bucket}.${host}"
|
||||
obj_url="${scheme}://${reqhost}${pathpart}/${key}"
|
||||
objpath="${pathpart}/${key}"
|
||||
else
|
||||
reqhost="${host}"
|
||||
obj_url="${scheme}://${reqhost}${pathpart}/${bucket}/${key}"
|
||||
objpath="${pathpart}/${bucket}/${key}"
|
||||
fi
|
||||
# --connect-to matches HOST1 against the request host, which differs between
|
||||
# path-style (${host}) and virtual-hosted (${bucket}.${host}) — key it off the
|
||||
# host the URL actually uses so the redirect fires in both modes; the real
|
||||
# connection target stays ${host}:${port}.
|
||||
connect_to=""
|
||||
if [ -n "${port}" ] && [ "${port}" != "${defport}" ]; then
|
||||
connect_to="--connect-to ${reqhost}:${defport}:${host}:${port}"
|
||||
fi
|
||||
# ${connect_to} is unquoted so an empty value expands to no argument.
|
||||
s3() { curl -fsS ${connect_to} --aws-sigv4 "aws:amz:${S3_REGION}:s3" \
|
||||
--user "${AWS_ACCESS_KEY_ID}:${AWS_SECRET_ACCESS_KEY}" "$@"; }
|
||||
# The Host header curl sends, which is what gets signed: curl leaves the port
|
||||
# out exactly when it is the scheme's default.
|
||||
authority="${reqhost}"
|
||||
if [ -n "${port}" ] && [ "${port}" != "${defport}" ]; then authority="${reqhost}:${port}"; fi
|
||||
|
||||
# S3 canonical URI: every byte but the unreserved ones and "/" percent-encoded,
|
||||
# once. The masked value keeps bash 3.2 from sign-extending a byte above 0x7f.
|
||||
uri_path() {
|
||||
local LC_ALL=C s=$1 out='' c i
|
||||
for ((i = 0; i < ${#s}; i++)); do
|
||||
c=${s:i:1}
|
||||
case "${c}" in
|
||||
[A-Za-z0-9._~/-]) out+=${c} ;;
|
||||
*) printf -v c '%d' "'${c}"; printf -v c '%%%02X' "$((c & 255))"; out+=${c} ;;
|
||||
esac
|
||||
done
|
||||
printf '%s' "${out}"
|
||||
}
|
||||
objpath=$(uri_path "${objpath}")
|
||||
obj_url="${scheme}://${authority}${objpath}"
|
||||
|
||||
EMPTY_SHA256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
||||
hmac() { printf '%s' "$2" | openssl dgst -sha256 -mac HMAC -macopt "$1" -r | cut -d' ' -f1; }
|
||||
# s3 METHOD PAYLOAD_SHA256 [curl args...] sends one SigV4-signed request for
|
||||
# the object. The signature is computed here, not by curl --aws-sigv4, because
|
||||
# the curl in the Strimzi image cannot sign for S3: 7.76.1-40.el9 (Strimzi
|
||||
# 1.2) signs the Host without a non-default port while sending it with one,
|
||||
# and 7.76.1-43.el9 (Strimzi 1.3.1) carries a RHEL backport of the S3 payload
|
||||
# handling that lists x-amz-content-sha256 in SignedHeaders without ever
|
||||
# sending the header. Either way the backend answers every request with 403.
|
||||
# No -k: TLS is verified against the endpoint's certificate (the platform
|
||||
# endpoint is the ACME-valid ingress), matching strategy-rabbitmq-default.yaml.
|
||||
s3() {
|
||||
local method=$1 payload=$2 now day scope creq sts k sig
|
||||
shift 2
|
||||
now=$(date -u +%Y%m%dT%H%M%SZ)
|
||||
day=${now%%T*}
|
||||
scope="${day}/${S3_REGION}/s3/aws4_request"
|
||||
creq=$(printf '%s\n%s\n\nhost:%s\nx-amz-content-sha256:%s\nx-amz-date:%s\n\nhost;x-amz-content-sha256;x-amz-date\n%s' \
|
||||
"${method}" "${objpath}" "${authority}" "${payload}" "${now}" "${payload}")
|
||||
sts=$(printf 'AWS4-HMAC-SHA256\n%s\n%s\n%s' "${now}" "${scope}" "$(printf '%s' "${creq}" | sha256sum | cut -d' ' -f1)")
|
||||
k=$(hmac "key:AWS4${AWS_SECRET_ACCESS_KEY}" "${day}")
|
||||
k=$(hmac "hexkey:${k}" "${S3_REGION}")
|
||||
k=$(hmac "hexkey:${k}" s3)
|
||||
k=$(hmac "hexkey:${k}" aws4_request)
|
||||
sig=$(hmac "hexkey:${k}" "${sts}")
|
||||
# --path-as-is: curl would otherwise resolve dot segments in a key and send
|
||||
# a path other than the one signed.
|
||||
curl --path-as-is -X "${method}" \
|
||||
-H "x-amz-date: ${now}" \
|
||||
-H "x-amz-content-sha256: ${payload}" \
|
||||
-H "Authorization: AWS4-HMAC-SHA256 Credential=${AWS_ACCESS_KEY_ID}/${scope}, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=${sig}" \
|
||||
"$@" "${obj_url}"
|
||||
}
|
||||
|
||||
# Cleanup runs when the owning Backup is deleted: delete the object and exit
|
||||
# before any broker access (the source may already be gone). A missing object
|
||||
@@ -77,10 +112,7 @@ s3() { curl -fsS ${connect_to} --aws-sigv4 "aws:amz:${S3_REGION}:s3" \
|
||||
# controller retries rather than orphaning the object.
|
||||
if [ "${MODE}" = cleanup ]; then
|
||||
echo "deleting ${ARTIFACT_URI}"
|
||||
code=$(curl -sS -o /dev/null -w '%{http_code}' ${connect_to} \
|
||||
--aws-sigv4 "aws:amz:${S3_REGION}:s3" \
|
||||
--user "${AWS_ACCESS_KEY_ID}:${AWS_SECRET_ACCESS_KEY}" \
|
||||
-X DELETE "${obj_url}" || true)
|
||||
code=$(s3 DELETE "${EMPTY_SHA256}" -sS -o /dev/null -w '%{http_code}' || true)
|
||||
case "${code}" in
|
||||
2*|404) echo "deleted (HTTP ${code})"; exit 0 ;;
|
||||
*) echo "delete failed: HTTP ${code}" >&2; exit 1 ;;
|
||||
@@ -141,11 +173,11 @@ if [ "${MODE}" = backup ]; then
|
||||
fi
|
||||
echo " ${t}: partitions=${parts} rf=${rf}"
|
||||
done
|
||||
s3 -X PUT --upload-file "${file}" "${obj_url}"
|
||||
s3 PUT "$(sha256sum < "${file}" | cut -d' ' -f1)" -fsS --upload-file "${file}"
|
||||
echo "uploaded ${ARTIFACT_URI}"
|
||||
else
|
||||
echo "restoring Kafka topic metadata into ${BOOTSTRAP} from ${ARTIFACT_URI}"
|
||||
s3 -o "${file}" "${obj_url}"
|
||||
s3 GET "${EMPTY_SHA256}" -fsS -o "${file}"
|
||||
# Probe existence with --list, fail closed: a --describe under 2>/dev/null
|
||||
# cannot tell "topic absent" from "broker unreachable" (Kafka 3.9.1 exits 1
|
||||
# for both, and the distinguishing text goes to stdout). --list instead fails
|
||||
|
||||
@@ -5,4 +5,4 @@ include ../../../hack/package.mk
|
||||
|
||||
update:
|
||||
rm -rf charts
|
||||
helm pull oci://quay.io/strimzi-helm/strimzi-kafka-operator --untar --untardir charts --version 1.2.0
|
||||
helm pull oci://quay.io/strimzi-helm/strimzi-kafka-operator --untar --untardir charts --version 1.3.1
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: v2
|
||||
appVersion: 1.2.0
|
||||
appVersion: 1.3.1
|
||||
description: 'Strimzi: Apache Kafka running on Kubernetes'
|
||||
home: https://strimzi.io/
|
||||
icon: https://raw.githubusercontent.com/strimzi/strimzi-kafka-operator/main/documentation/logo/strimzi_logo.png
|
||||
@@ -18,4 +18,4 @@ maintainers:
|
||||
name: strimzi-kafka-operator
|
||||
sources:
|
||||
- https://github.com/strimzi/strimzi-kafka-operator
|
||||
version: 1.2.0
|
||||
version: 1.3.1
|
||||
@@ -6,6 +6,9 @@ See our [website](https://strimzi.io) for more details about the project.
|
||||
|
||||
**!!! IMPORTANT !!!**
|
||||
|
||||
**From Strimzi 1.3.0 on, we support only Kubernetes 1.32 and newer.**
|
||||
Kubernetes 1.30 and 1.31 are not supported anymore.
|
||||
|
||||
**From Strimzi 1.2.0, the Helm Chart uses the default container security context that matches the [Restricted Kubernetes Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/).**
|
||||
```yaml
|
||||
securityContext:
|
||||
@@ -75,7 +78,7 @@ Strimzi is licensed under the [Apache License, Version 2.0](https://github.com/s
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.30+
|
||||
- Kubernetes 1.32+
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
@@ -112,7 +115,7 @@ See the documentation for more details.
|
||||
| `watchAnyNamespace` | Watch the whole Kubernetes cluster (all namespaces) | `false` |
|
||||
| `defaultImageRegistry` | Default image registry for all the images | `quay.io` |
|
||||
| `defaultImageRepository` | Default image registry for all the images | `strimzi` |
|
||||
| `defaultImageTag` | Default image tag for all the images except Kafka Bridge | `1.2.0` |
|
||||
| `defaultImageTag` | Default image tag for all the images except Kafka Bridge | `1.3.1` |
|
||||
| `deploymentAnnotations` | Annotations for the operator deployment | `{}` |
|
||||
| `deploymentLabels` | Labels for the operator deployment | `{}` |
|
||||
| `image.registry` | Override default Cluster Operator image registry | `nil` |
|
||||
@@ -176,7 +179,7 @@ See the documentation for more details.
|
||||
| `kafkaBridge.image.registry` | Override default Kafka Bridge image registry | `quay.io` |
|
||||
| `kafkaBridge.image.repository` | Override default Kafka Bridge image repository | `strimzi` |
|
||||
| `kafkaBridge.image.name` | Kafka Bridge image name | `kafka-bridge` |
|
||||
| `kafkaBridge.image.tag` | Override default Kafka Bridge image tag | `1.1.0` |
|
||||
| `kafkaBridge.image.tag` | Override default Kafka Bridge image tag | `1.2.1` |
|
||||
| `kafkaBridge.image.digest` | Override Kafka Bridge image tag with digest | `nil` |
|
||||
| `kafkaExporter.image.registry` | Override default Kafka Exporter image registry | `nil` |
|
||||
| `kafkaExporter.image.repository` | Override default Kafka Exporter image repository | `nil` |
|
||||
@@ -190,11 +193,6 @@ See the documentation for more details.
|
||||
| `kafkaMirrorMaker2.image.tagPrefix` | Override default Kafka Mirror Maker 2 image tag prefix | `nil` |
|
||||
| `kafkaMirrorMaker2.image.tag` | Override default Kafka Mirror Maker 2 image tag and ignore suffix | `nil` |
|
||||
| `kafkaMirrorMaker2.image.digest` | Override Kafka Mirror Maker 2 image tag with digest | `nil` |
|
||||
| `kanikoExecutor.image.registry` | Override default Kaniko Executor image registry | `nil` |
|
||||
| `kanikoExecutor.image.repository` | Override default Kaniko Executor image repository | `nil` |
|
||||
| `kanikoExecutor.image.name` | Kaniko Executor image name | `kaniko-executor` |
|
||||
| `kanikoExecutor.image.tag` | Override default Kaniko Executor image tag | `nil` |
|
||||
| `kanikoExecutor.image.digest` | Override Kaniko Executor image tag with digest | `nil` |
|
||||
| `buildah.image.registry` | Override default Buildah image registry | `nil` |
|
||||
| `buildah.image.repository` | Override default Buildah image repository | `nil` |
|
||||
| `buildah.image.name` | Buildah image name | `buildah` |
|
||||
|
||||
+375
-104
@@ -1181,26 +1181,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -1213,6 +1194,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -1266,6 +1274,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -1274,6 +1307,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
templatedVolumes:
|
||||
type: array
|
||||
@@ -1288,26 +1322,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -1320,6 +1335,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -1684,6 +1726,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -1827,6 +1873,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -2920,26 +2970,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -2952,6 +2983,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -3005,6 +3063,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -3013,6 +3096,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
hostUsers:
|
||||
type: boolean
|
||||
@@ -3145,6 +3229,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -3288,6 +3376,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -3406,6 +3498,12 @@ spec:
|
||||
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.
|
||||
type:
|
||||
type: string
|
||||
enum:
|
||||
- strimzi
|
||||
- cert-manager
|
||||
description: The type of certificate manager. The available types are `strimzi` and `cert-manager`. Default is `strimzi`.
|
||||
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`."
|
||||
@@ -3416,20 +3514,72 @@ spec:
|
||||
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."
|
||||
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 false, 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.
|
||||
certManager:
|
||||
type: object
|
||||
properties:
|
||||
issuerRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: The name of the cert-manager issuer. Required.
|
||||
kind:
|
||||
type: string
|
||||
enum:
|
||||
- Issuer
|
||||
- ClusterIssuer
|
||||
description: The kind of the cert-manager issuer. Must be either `Issuer` or `ClusterIssuer`. Required.
|
||||
group:
|
||||
type: string
|
||||
description: The group of the cert-manager issuer. Default is `cert-manager.io`.
|
||||
required:
|
||||
- name
|
||||
- kind
|
||||
description: Reference to the cert-manager issuer to use for issuing certificates. Required.
|
||||
caCertRef:
|
||||
type: object
|
||||
properties:
|
||||
secretName:
|
||||
type: string
|
||||
description: The name of the Secret. Required.
|
||||
certificate:
|
||||
type: string
|
||||
description: The key under which the CA certificate is stored in the Secret. Required.
|
||||
required:
|
||||
- secretName
|
||||
- certificate
|
||||
description: Reference to the Secret containing the CA certificate (public key) that trusts certificates issued by cert-manager. Required.
|
||||
required:
|
||||
- issuerRef
|
||||
- caCertRef
|
||||
description: Configuration for using cert-manager to issue certificates. This only applies if the CA type is set to `cert-manager`.
|
||||
description: Configuration of the cluster certificate authority.
|
||||
x-kubernetes-validations:
|
||||
- rule: (has(self.type) && self.type != 'strimzi') || !has(self.certManager)
|
||||
message: "'certManager' cannot be configured with 'type: strimzi'"
|
||||
- rule: '!has(self.type) || self.type != ''cert-manager'' || has(self.certManager)'
|
||||
message: "'certManager' must be set for 'type: cert-manager'"
|
||||
- rule: '!has(self.type) || self.type != ''cert-manager'' || (has(self.generateCertificateAuthority) && !self.generateCertificateAuthority)'
|
||||
message: "'generateCertificateAuthority' must be set to false for 'type: cert-manager'"
|
||||
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.
|
||||
type:
|
||||
type: string
|
||||
enum:
|
||||
- strimzi
|
||||
- cert-manager
|
||||
description: The type of certificate manager. The available types are `strimzi` and `cert-manager`. Default is `strimzi`.
|
||||
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`."
|
||||
@@ -3440,14 +3590,60 @@ spec:
|
||||
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."
|
||||
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 false, 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.
|
||||
certManager:
|
||||
type: object
|
||||
properties:
|
||||
issuerRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: The name of the cert-manager issuer. Required.
|
||||
kind:
|
||||
type: string
|
||||
enum:
|
||||
- Issuer
|
||||
- ClusterIssuer
|
||||
description: The kind of the cert-manager issuer. Must be either `Issuer` or `ClusterIssuer`. Required.
|
||||
group:
|
||||
type: string
|
||||
description: The group of the cert-manager issuer. Default is `cert-manager.io`.
|
||||
required:
|
||||
- name
|
||||
- kind
|
||||
description: Reference to the cert-manager issuer to use for issuing certificates. Required.
|
||||
caCertRef:
|
||||
type: object
|
||||
properties:
|
||||
secretName:
|
||||
type: string
|
||||
description: The name of the Secret. Required.
|
||||
certificate:
|
||||
type: string
|
||||
description: The key under which the CA certificate is stored in the Secret. Required.
|
||||
required:
|
||||
- secretName
|
||||
- certificate
|
||||
description: Reference to the Secret containing the CA certificate (public key) that trusts certificates issued by cert-manager. Required.
|
||||
required:
|
||||
- issuerRef
|
||||
- caCertRef
|
||||
description: Configuration for using cert-manager to issue certificates. This only applies if the CA type is set to `cert-manager`.
|
||||
description: Configuration of the clients certificate authority.
|
||||
x-kubernetes-validations:
|
||||
- rule: (has(self.type) && self.type != 'strimzi') || !has(self.certManager)
|
||||
message: "'certManager' cannot be configured with 'type: strimzi'"
|
||||
- rule: '!has(self.type) || self.type != ''cert-manager'' || has(self.certManager)'
|
||||
message: "'certManager' must be set for 'type: cert-manager'"
|
||||
- rule: '!has(self.type) || self.type != ''cert-manager'' || (has(self.generateCertificateAuthority) && !self.generateCertificateAuthority)'
|
||||
message: "'generateCertificateAuthority' must be set to false for 'type: cert-manager'"
|
||||
cruiseControl:
|
||||
type: object
|
||||
properties:
|
||||
@@ -4171,26 +4367,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -4203,6 +4380,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -4256,6 +4460,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -4264,6 +4493,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
hostUsers:
|
||||
type: boolean
|
||||
@@ -4451,6 +4681,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -4530,7 +4764,7 @@ spec:
|
||||
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)."
|
||||
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.ssl., 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)."
|
||||
metricsConfig:
|
||||
type: object
|
||||
properties:
|
||||
@@ -5300,26 +5534,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -5332,6 +5547,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -5385,6 +5627,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -5393,6 +5660,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
hostUsers:
|
||||
type: boolean
|
||||
@@ -5525,6 +5793,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -5701,7 +5973,6 @@ spec:
|
||||
description: The status of an auto-rebalancing triggered by a cluster scaling request.
|
||||
clusterSecurity:
|
||||
type: object
|
||||
properties: {}
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
description: The current security configuration of the Kafka cluster.
|
||||
description: The status of the Kafka cluster.
|
||||
|
||||
+150
-62
@@ -166,7 +166,7 @@ spec:
|
||||
config:
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
description: "The Kafka Connect configuration. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes, prometheus.metrics.reporter. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)."
|
||||
description: "The Kafka Connect configuration. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes, prometheus.metrics.reporter. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols, rest.extension.classes)."
|
||||
resources:
|
||||
type: object
|
||||
properties:
|
||||
@@ -967,26 +967,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -999,6 +980,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -1052,6 +1060,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -1060,6 +1093,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
templatedVolumes:
|
||||
type: array
|
||||
@@ -1074,26 +1108,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -1106,6 +1121,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -1322,6 +1364,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -1465,6 +1511,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -2089,26 +2139,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -2121,6 +2152,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -2174,6 +2232,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -2182,6 +2265,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
hostUsers:
|
||||
type: boolean
|
||||
@@ -2314,6 +2398,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -2398,7 +2486,7 @@ spec:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: "Configures additional options to pass to the `build` command of either Kaniko or Buildah (depending on the feature gate setting) when building a new Kafka Connect image. Allowed Kaniko options: --customPlatform, --custom-platform, --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, --registry-certificate, --registry-client-cert, --ignore-path. Allowed Buildah `build` options: --authfile, --cert-dir, --creds, --decryption-key, --retry, --retry-delay, --tls-verify. Those options are used only on Kubernetes, where Kaniko and Buildah are available. They are ignored on OpenShift. For more information, see the link:https://github.com/GoogleContainerTools/kaniko[Kaniko GitHub repository^] or the link:https://github.com/containers/buildah/blob/main/docs/buildah-build.1.md[Buildah build document^]. Changing this field does not trigger a rebuild of the Kafka Connect image."
|
||||
description: "Configures additional options to pass to the `build` command of Buildah when building a new Kafka Connect image. Allowed Buildah `build` options: --authfile, --cert-dir, --creds, --decryption-key, --retry, --retry-delay, --tls-verify. Those options are used only on Kubernetes, where Buildah is available. They are ignored on OpenShift. For more information, see the link:https://github.com/containers/buildah/blob/main/docs/buildah-build.1.md[Buildah build document^]. Changing this field does not trigger a rebuild of the Kafka Connect image."
|
||||
additionalPushOptions:
|
||||
type: array
|
||||
items:
|
||||
|
||||
+90
-40
@@ -789,26 +789,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -821,6 +802,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -874,6 +882,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -882,6 +915,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
templatedVolumes:
|
||||
type: array
|
||||
@@ -896,26 +930,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -928,6 +943,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -1150,6 +1192,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -1293,6 +1339,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
|
||||
+62
-20
@@ -1019,26 +1019,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -1051,6 +1032,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -1104,6 +1112,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -1112,6 +1145,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
hostUsers:
|
||||
type: boolean
|
||||
@@ -1299,6 +1333,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -1478,6 +1516,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
|
||||
+150
-62
@@ -173,7 +173,7 @@ spec:
|
||||
config:
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
description: "The MirrorMaker 2 cluster config. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, 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)."
|
||||
description: "The MirrorMaker 2 cluster config. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, 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, rest.extension.classes)."
|
||||
required:
|
||||
- alias
|
||||
- bootstrapServers
|
||||
@@ -285,7 +285,7 @@ spec:
|
||||
config:
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
type: object
|
||||
description: "The MirrorMaker 2 cluster config. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, 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)."
|
||||
description: "The MirrorMaker 2 cluster config. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, 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, rest.extension.classes)."
|
||||
required:
|
||||
- alias
|
||||
- bootstrapServers
|
||||
@@ -1217,26 +1217,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -1249,6 +1230,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -1302,6 +1310,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -1310,6 +1343,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
templatedVolumes:
|
||||
type: array
|
||||
@@ -1324,26 +1358,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -1356,6 +1371,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -1572,6 +1614,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -1715,6 +1761,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
@@ -2339,26 +2389,7 @@ spec:
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
@@ -2371,6 +2402,33 @@ spec:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
optional:
|
||||
type: boolean
|
||||
secretName:
|
||||
type: string
|
||||
description: '`Secret` to use to populate the volume.'
|
||||
configMap:
|
||||
type: object
|
||||
properties:
|
||||
defaultMode:
|
||||
type: integer
|
||||
defaultUser:
|
||||
type: integer
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
mode:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
@@ -2424,6 +2482,31 @@ spec:
|
||||
reference:
|
||||
type: string
|
||||
description: '`ImageVolumeSource` object to use to populate the volume.'
|
||||
projected:
|
||||
type: object
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
serviceAccountToken:
|
||||
type: object
|
||||
properties:
|
||||
audience:
|
||||
type: string
|
||||
expirationSeconds:
|
||||
type: integer
|
||||
path:
|
||||
type: string
|
||||
user:
|
||||
type: integer
|
||||
description: Information about the serviceAccountToken data to project.
|
||||
oneOf:
|
||||
- properties:
|
||||
serviceAccountToken: {}
|
||||
description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported."
|
||||
description: '`ProjectedVolume` object to use volume projection.'
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
@@ -2432,6 +2515,7 @@ spec:
|
||||
persistentVolumeClaim: {}
|
||||
csi: {}
|
||||
image: {}
|
||||
projected: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
hostUsers:
|
||||
type: boolean
|
||||
@@ -2564,6 +2648,10 @@ spec:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bindMountOptions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
mountPath:
|
||||
type: string
|
||||
mountPropagation:
|
||||
|
||||
+343
-23
@@ -669,6 +669,326 @@
|
||||
"title": "Offline Partitions Count",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"description": "Number of brokers fenced by the controller. A fenced broker cannot host partition leaders or be in the ISR",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"options": {
|
||||
"match": "null",
|
||||
"result": {
|
||||
"text": "N/A"
|
||||
}
|
||||
},
|
||||
"type": "special"
|
||||
}
|
||||
],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "#508642",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "#ef843c",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"color": "#bf1b00",
|
||||
"value": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"unit": "none"
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 4
|
||||
},
|
||||
"id": 109,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "value",
|
||||
"graphMode": "none",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "7.4.5",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"expr": "max(kafka_controller_kafkacontroller_fencedbrokercount{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"})",
|
||||
"format": "time_series",
|
||||
"hide": false,
|
||||
"intervalFactor": 1,
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"title": "Fenced Brokers",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"description": "Number of partition replicas that are offline, for example because of a failed log directory",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"options": {
|
||||
"match": "null",
|
||||
"result": {
|
||||
"text": "N/A"
|
||||
}
|
||||
},
|
||||
"type": "special"
|
||||
}
|
||||
],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "#508642",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "#ef843c",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"color": "#bf1b00",
|
||||
"value": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"unit": "none"
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 4
|
||||
},
|
||||
"id": 110,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "value",
|
||||
"graphMode": "none",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "7.4.5",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"expr": "sum(kafka_server_replicamanager_offlinereplicacount{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"})",
|
||||
"format": "time_series",
|
||||
"hide": false,
|
||||
"intervalFactor": 1,
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"title": "Offline Replicas",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"description": "Rate at which partition leaders shrink or expand their in-sync replica set. Frequent changes point to followers falling behind or brokers going up and down",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"options": {
|
||||
"match": "null",
|
||||
"result": {
|
||||
"text": "N/A"
|
||||
}
|
||||
},
|
||||
"type": "special"
|
||||
}
|
||||
],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "#299c46",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "rgba(237, 129, 40, 0.89)",
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"color": "#d44a3a"
|
||||
}
|
||||
]
|
||||
},
|
||||
"unit": "none"
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 4
|
||||
},
|
||||
"id": 111,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "value",
|
||||
"graphMode": "none",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "7.4.5",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"expr": "sum(irate(kafka_server_replicamanager_isrshrinks_total{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"}[5m]))",
|
||||
"format": "time_series",
|
||||
"hide": false,
|
||||
"intervalFactor": 1,
|
||||
"refId": "A",
|
||||
"legendFormat": "Shrinks"
|
||||
},
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"expr": "sum(irate(kafka_server_replicamanager_isrexpands_total{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"}[5m]))",
|
||||
"format": "time_series",
|
||||
"hide": false,
|
||||
"intervalFactor": 1,
|
||||
"refId": "B",
|
||||
"legendFormat": "Expands"
|
||||
}
|
||||
],
|
||||
"title": "ISR Shrink / Expand Rate",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"description": "Rate of failed attempts by partition leaders to update the in-sync replica set",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"options": {
|
||||
"match": "null",
|
||||
"result": {
|
||||
"text": "N/A"
|
||||
}
|
||||
},
|
||||
"type": "special"
|
||||
}
|
||||
],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "#299c46",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "rgba(237, 129, 40, 0.89)",
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"color": "#d44a3a"
|
||||
}
|
||||
]
|
||||
},
|
||||
"unit": "none"
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 4
|
||||
},
|
||||
"id": 112,
|
||||
"maxDataPoints": 100,
|
||||
"options": {
|
||||
"colorMode": "value",
|
||||
"graphMode": "none",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "horizontal",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "7.4.5",
|
||||
"targets": [
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"expr": "sum(irate(kafka_server_replicamanager_failedisrupdates_total{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"}[5m]))",
|
||||
"format": "time_series",
|
||||
"hide": false,
|
||||
"intervalFactor": 1,
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"title": "Failed ISR Update Rate",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"collapsed": false,
|
||||
"datasource": {
|
||||
@@ -679,7 +999,7 @@
|
||||
"h": 1,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 4
|
||||
"y": 8
|
||||
},
|
||||
"id": 28,
|
||||
"panels": [],
|
||||
@@ -757,7 +1077,7 @@
|
||||
"h": 7,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 5
|
||||
"y": 9
|
||||
},
|
||||
"id": 82,
|
||||
"options": {
|
||||
@@ -849,7 +1169,7 @@
|
||||
"h": 7,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 5
|
||||
"y": 9
|
||||
},
|
||||
"id": 81,
|
||||
"options": {
|
||||
@@ -941,7 +1261,7 @@
|
||||
"h": 7,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 5
|
||||
"y": 9
|
||||
},
|
||||
"id": 83,
|
||||
"options": {
|
||||
@@ -1033,7 +1353,7 @@
|
||||
"h": 7,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 5
|
||||
"y": 9
|
||||
},
|
||||
"id": 107,
|
||||
"options": {
|
||||
@@ -1124,7 +1444,7 @@
|
||||
"h": 7,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 12
|
||||
"y": 16
|
||||
},
|
||||
"id": 93,
|
||||
"options": {
|
||||
@@ -1214,7 +1534,7 @@
|
||||
"h": 7,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 12
|
||||
"y": 16
|
||||
},
|
||||
"id": 95,
|
||||
"options": {
|
||||
@@ -1304,7 +1624,7 @@
|
||||
"h": 7,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 12
|
||||
"y": 16
|
||||
},
|
||||
"id": 97,
|
||||
"options": {
|
||||
@@ -1395,7 +1715,7 @@
|
||||
"h": 7,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 12
|
||||
"y": 16
|
||||
},
|
||||
"id": 108,
|
||||
"options": {
|
||||
@@ -1469,7 +1789,7 @@
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 19
|
||||
"y": 23
|
||||
},
|
||||
"id": 98,
|
||||
"maxDataPoints": 100,
|
||||
@@ -1550,7 +1870,7 @@
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 19
|
||||
"y": 23
|
||||
},
|
||||
"id": 99,
|
||||
"maxDataPoints": 100,
|
||||
@@ -1631,7 +1951,7 @@
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 19
|
||||
"y": 23
|
||||
},
|
||||
"id": 100,
|
||||
"maxDataPoints": 100,
|
||||
@@ -1712,7 +2032,7 @@
|
||||
"h": 4,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 19
|
||||
"y": 23
|
||||
},
|
||||
"id": 101,
|
||||
"maxDataPoints": 100,
|
||||
@@ -1810,7 +2130,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 23
|
||||
"y": 27
|
||||
},
|
||||
"id": 44,
|
||||
"options": {
|
||||
@@ -1912,7 +2232,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 12,
|
||||
"y": 23
|
||||
"y": 27
|
||||
},
|
||||
"id": 58,
|
||||
"options": {
|
||||
@@ -2003,7 +2323,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 31
|
||||
"y": 35
|
||||
},
|
||||
"id": 50,
|
||||
"options": {
|
||||
@@ -2103,7 +2423,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 12,
|
||||
"y": 31
|
||||
"y": 35
|
||||
},
|
||||
"id": 56,
|
||||
"options": {
|
||||
@@ -2202,7 +2522,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 39
|
||||
"y": 43
|
||||
},
|
||||
"id": 60,
|
||||
"options": {
|
||||
@@ -2293,7 +2613,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 12,
|
||||
"y": 39
|
||||
"y": 43
|
||||
},
|
||||
"id": 62,
|
||||
"options": {
|
||||
@@ -2385,7 +2705,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 47
|
||||
"y": 51
|
||||
},
|
||||
"id": 104,
|
||||
"options": {
|
||||
@@ -2477,7 +2797,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 12,
|
||||
"y": 47
|
||||
"y": 51
|
||||
},
|
||||
"id": 105,
|
||||
"options": {
|
||||
@@ -2569,7 +2889,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 55
|
||||
"y": 59
|
||||
},
|
||||
"id": 106,
|
||||
"options": {
|
||||
@@ -2637,7 +2957,7 @@
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 12,
|
||||
"y": 55
|
||||
"y": 59
|
||||
},
|
||||
"id": 91,
|
||||
"links": [],
|
||||
|
||||
+18
@@ -72,6 +72,13 @@ rules:
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
# For Service Account based authentication
|
||||
- serviceaccounts/token
|
||||
verbs:
|
||||
- create
|
||||
- apiGroups:
|
||||
- "apps"
|
||||
resources:
|
||||
@@ -181,4 +188,15 @@ rules:
|
||||
- delete
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- "cert-manager.io"
|
||||
resources:
|
||||
- certificates
|
||||
verbs:
|
||||
- get
|
||||
- watch
|
||||
- create
|
||||
- delete
|
||||
- patch
|
||||
- update
|
||||
{{- end -}}
|
||||
-2
@@ -137,8 +137,6 @@ spec:
|
||||
value: {{ template "strimzi.image" (set . "key" "kafkaInit") }}
|
||||
- name: STRIMZI_DEFAULT_KAFKA_BRIDGE_IMAGE
|
||||
value: {{ template "strimzi.image" (set . "key" "kafkaBridge") }}
|
||||
- name: STRIMZI_DEFAULT_KANIKO_EXECUTOR_IMAGE
|
||||
value: {{ template "strimzi.image" (set . "key" "kanikoExecutor") }}
|
||||
- name: STRIMZI_DEFAULT_BUILDAH_IMAGE
|
||||
value: {{ template "strimzi.image" (set . "key" "buildah") }}
|
||||
- name: STRIMZI_DEFAULT_MAVEN_BUILDER
|
||||
|
||||
+8
-2
@@ -6,25 +6,31 @@
|
||||
{{/* Generate the kafka image map */}}
|
||||
{{- define "strimzi.kafka.image.map" }}
|
||||
- name: STRIMZI_DEFAULT_KAFKA_EXPORTER_IMAGE
|
||||
value: {{ template "strimzi.image" (merge . (dict "key" "kafkaExporter" "tagSuffix" "-kafka-4.3.1")) }}
|
||||
value: {{ template "strimzi.image" (merge . (dict "key" "kafkaExporter" "tagSuffix" "-kafka-4.3.2")) }}
|
||||
- name: STRIMZI_DEFAULT_CRUISE_CONTROL_IMAGE
|
||||
value: {{ template "strimzi.image" (merge . (dict "key" "cruiseControl" "tagSuffix" "-kafka-4.3.1")) }}
|
||||
value: {{ template "strimzi.image" (merge . (dict "key" "cruiseControl" "tagSuffix" "-kafka-4.3.2")) }}
|
||||
- name: STRIMZI_KAFKA_IMAGES
|
||||
value: |
|
||||
4.2.0={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.2.0")) }}
|
||||
4.2.1={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.2.1")) }}
|
||||
4.2.2={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.2.2")) }}
|
||||
4.3.0={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.3.0")) }}
|
||||
4.3.1={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.3.1")) }}
|
||||
4.3.2={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.3.2")) }}
|
||||
- name: STRIMZI_KAFKA_CONNECT_IMAGES
|
||||
value: |
|
||||
4.2.0={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.2.0")) }}
|
||||
4.2.1={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.2.1")) }}
|
||||
4.2.2={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.2.2")) }}
|
||||
4.3.0={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.3.0")) }}
|
||||
4.3.1={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.3.1")) }}
|
||||
4.3.2={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.3.2")) }}
|
||||
- name: STRIMZI_KAFKA_MIRROR_MAKER_2_IMAGES
|
||||
value: |
|
||||
4.2.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.2.0")) }}
|
||||
4.2.1={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.2.1")) }}
|
||||
4.2.2={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.2.2")) }}
|
||||
4.3.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.3.0")) }}
|
||||
4.3.1={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.3.1")) }}
|
||||
4.3.2={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.3.2")) }}
|
||||
{{- end -}}
|
||||
@@ -9,7 +9,7 @@ watchAnyNamespace: false
|
||||
|
||||
defaultImageRegistry: quay.io
|
||||
defaultImageRepository: strimzi
|
||||
defaultImageTag: 1.2.0
|
||||
defaultImageTag: 1.3.1
|
||||
|
||||
image:
|
||||
registry: ""
|
||||
@@ -160,7 +160,7 @@ kafkaBridge:
|
||||
registry: ""
|
||||
repository:
|
||||
name: kafka-bridge
|
||||
tag: 1.1.0
|
||||
tag: 1.2.1
|
||||
kafkaExporter:
|
||||
image:
|
||||
registry: ""
|
||||
@@ -179,12 +179,6 @@ cruiseControl:
|
||||
repository: ""
|
||||
name: kafka
|
||||
tagPrefix: ""
|
||||
kanikoExecutor:
|
||||
image:
|
||||
registry: ""
|
||||
repository: ""
|
||||
name: kaniko-executor
|
||||
tag: ""
|
||||
buildah:
|
||||
image:
|
||||
registry: ""
|
||||
|
||||
@@ -2,6 +2,13 @@ strimzi-kafka-operator:
|
||||
watchAnyNamespace: true
|
||||
generateNetworkPolicy: false
|
||||
kubernetesServiceDnsDomain: cozy.local
|
||||
# Strimzi rebuilt 1.3.1 on a patched OpenJDK and moved the 1.3.1 tags onto
|
||||
# the rebuild, keeping the first build as 1.3.1-0. The suffixed tags do not
|
||||
# move, so a node that cached the first build cannot keep running it.
|
||||
defaultImageTag: 1.3.1-1
|
||||
kafkaBridge:
|
||||
image:
|
||||
tag: 1.2.1-1
|
||||
resources:
|
||||
limits:
|
||||
memory: 512Mi
|
||||
Reference in new issue
Block a user