Skip to content

Commit a3553fd

Browse files
committed
Merging #1556
Bump version in examples and docs
1 parent 31b889d commit a3553fd

File tree

65 files changed

+312
-316
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+312
-316
lines changed

.github/workflows/run_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
driver: docker
4949
container-runtime: containerd
50-
kubernetes-version: v1.31.0
50+
kubernetes-version: v1.31.2
5151
cpus: max
5252
memory: max
5353

@@ -116,7 +116,7 @@ jobs:
116116
with:
117117
name: testflows-report
118118
path: |
119-
tests/report.html
119+
tests/*.html
120120
if-no-files-found: error
121121
retention-days: 90
122122

config/chi/templates.d/001-templates.json.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"containers" : [
3030
{
3131
"name": "clickhouse",
32-
"image": "clickhouse/clickhouse-server:23.8",
32+
"image": "clickhouse/clickhouse-server:24.8",
3333
"ports": [
3434
{
3535
"name": "http",

deploy/minio/install-minio-operator.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo "External value for \$MINIO_NAMESPACE=$MINIO_NAMESPACE"
44
echo "External value for \$MINIO_OPERATOR_VERSION=$MINIO_OPERATOR_VERSION"
55

66
MINIO_NAMESPACE="${MINIO_NAMESPACE:-minio}"
7-
MINIO_OPERATOR_VERSION="${MINIO_OPERATOR_VERSION:-v4.1.3}"
7+
MINIO_OPERATOR_VERSION="${MINIO_OPERATOR_VERSION:-v6.0.4}"
88

99
echo "Setup minio.io"
1010
echo "OPTIONS"
@@ -63,7 +63,9 @@ echo "Setup minio.io operator ${MINIO_OPERATOR_VERSION} into ${MINIO_NAMESPACE}
6363
## TODO: need to refactor after next minio-operator release
6464

6565
MINIO_KUSTOMIZE_DIR="${MINIO_OPERATOR_DIR}/resources"
66+
sed -i -e "s/replicas: 2/replicas: 1/" $MINIO_KUSTOMIZE_DIR/base/deployment.yaml
6667
sed -i -e "s/name: minio-operator/name: ${MINIO_NAMESPACE}/" $MINIO_KUSTOMIZE_DIR/base/namespace.yaml
68+
sed -i -e "s/: restricted/: baseline/" $MINIO_KUSTOMIZE_DIR/base/namespace.yaml
6769
sed -i -e "s/namespace: default/namespace: ${MINIO_NAMESPACE}/" $MINIO_KUSTOMIZE_DIR/base/*.yaml
6870
sed -i -e "s/namespace: minio-operator/namespace: ${MINIO_NAMESPACE}/" $MINIO_KUSTOMIZE_DIR/base/*.yaml
6971
sed -i -e "s/namespace: minio-operator/namespace: ${MINIO_NAMESPACE}/" $MINIO_KUSTOMIZE_DIR/kustomization.yaml

deploy/minio/install-minio-tenant.sh

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
11
export MINIO_BACKUP_BUCKET=${MINIO_BACKUP_BUCKET:-clickhouse-backup}
22

33
export MINIO_NAMESPACE="${MINIO_NAMESPACE:-minio}"
4-
# look to https://github.com/minio/operator/blob/v4.1.3/examples/tenant.yaml
5-
export MINIO_VERSION="${MINIO_VERSION:-RELEASE.2021-06-17T00-10-46Z}"
6-
# export MINIO_VERSION="${MINIO_VERSION:-latest}"
7-
export MINIO_CLIENT_VERSION="${MINIO_CLIENT_VERSION:-latest}"
8-
export MINIO_CONSOLE_VERSION="${MINIO_CONSOLE_VERSION:-latest}"
4+
# look to https://github.com/minio/operator/blob/master/examples/kustomization/base/tenant.yaml
5+
export MINIO_VERSION="${MINIO_VERSION:-RELEASE.2024-10-02T17-50-41Z}"
6+
export MINIO_CLIENT_VERSION="${MINIO_CLIENT_VERSION:-RELEASE.2024-10-29T15-34-59Z}"
97

108
export MINIO_ACCESS_KEY="${MINIO_ACCESS_KEY:-minio-access-key}"
11-
export MINIO_ACCESS_KEY_B64=$(echo -n "$MINIO_ACCESS_KEY" | base64)
12-
139
export MINIO_SECRET_KEY="${MINIO_SECRET_KEY:-minio-secret-key}"
14-
export MINIO_SECRET_KEY_B64=$(echo -n "$MINIO_SECRET_KEY" | base64)
15-
16-
export MINIO_CONSOLE_PBKDF_PASSPHRASE="${MINIO_CONSOLE_PBKDF_PASSPHRASE}:-SECRET"
17-
export MINIO_CONSOLE_PBKDF_PASSPHRASE_B64=$(echo -n "${MINIO_CONSOLE_PBKDF_PASSPHRASE}" | base64)
18-
19-
export MINIO_CONSOLE_PBKDF_SALT="${MINIO_CONSOLE_PBKDF_SALT}:-SECRET"
20-
export MINIO_CONSOLE_PBKDF_SALT_B64=$(echo -n "${MINIO_CONSOLE_PBKDF_SALT}" | base64)
21-
2210
export MINIO_CONSOLE_ACCESS_KEY="${MINIO_CONSOLE_ACCESS_KEY:-minio_console}"
23-
export MINIO_CONSOLE_ACCESS_KEY_B64=$(echo -n "${MINIO_CONSOLE_ACCESS_KEY}" | base64)
24-
2511
export MINIO_CONSOLE_SECRET_KEY="${MINIO_CONSOLE_SECRET_KEY:-minio_console}"
26-
export MINIO_CONSOLE_SECRET_KEY_B64=$(echo -n "${MINIO_CONSOLE_SECRET_KEY}" | base64)
2712

2813

2914

@@ -36,8 +21,7 @@ export MINIO_CONSOLE_SECRET_KEY_B64=$(echo -n "${MINIO_CONSOLE_SECRET_KEY}" | ba
3621
function wait_minio_to_start() {
3722
# Fetch Minio's deployment_name and namespace from params
3823
local namespace=$1
39-
local deployment_name=$2
40-
local pod_name=$3
24+
local pod_name=$2
4125

4226
echo -n "Waiting Minio pod '${namespace}/${pod_name}' to start"
4327
# Check minio tenatna have all pods ready
@@ -47,13 +31,6 @@ function wait_minio_to_start() {
4731
done
4832
echo "...DONE"
4933

50-
echo -n "Waiting Minio Console Deployment '${namespace}/${deployment_name}' to start"
51-
# Check minio-console deployment have all pods ready
52-
while [[ $(kubectl --namespace="${namespace}" get deployments | grep "${deployment_name}" | grep -c "1/1") == "0" ]]; do
53-
printf "."
54-
sleep 1
55-
done
56-
echo "...DONE"
5734
}
5835

5936

@@ -78,7 +55,7 @@ kubectl apply -n "${MINIO_NAMESPACE}" -f <(
7855
envsubst < "$CUR_DIR/minio-tenant-template.yaml"
7956
)
8057

81-
wait_minio_to_start "$MINIO_NAMESPACE" minio-console minio-pool-0-0
58+
wait_minio_to_start "$MINIO_NAMESPACE" minio-pool-0-0
8259

8360
kubectl apply -n "${MINIO_NAMESPACE}" -f <(
8461
envsubst < "$CUR_DIR/minio-tenant-create-bucket-template.yaml"

deploy/minio/minio-tenant-create-bucket-template.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ spec:
99
restartPolicy: Never
1010
containers:
1111
- name: minio-client
12-
image: "minio/mc:${MINIO_CLIENT_VERSION}"
12+
image: "quay.io/minio/mc:${MINIO_CLIENT_VERSION}"
1313
imagePullPolicy: IfNotPresent
1414
command:
1515
- /bin/bash
1616
- -xc
17-
- mc alias set miniok8s https://minio-hl.minio:9000 ${MINIO_ACCESS_KEY} ${MINIO_SECRET_KEY} --insecure && mc mb miniok8s/${MINIO_BACKUP_BUCKET} --ignore-existing --insecure
18-
17+
- mc alias set miniok8s http://minio-hl.${MINIO_NAMESPACE}:9000 ${MINIO_ACCESS_KEY} ${MINIO_SECRET_KEY} && mc mb miniok8s/${MINIO_BACKUP_BUCKET} --ignore-existing --insecure
1918
backoffLimit: 10

0 commit comments

Comments
 (0)