Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2022 The KubeBlocks Authors
# Copyright (C) 2022-2026 ApeCloud Co., Ltd
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KubeBlocks Project, (C) 2022-2023 ApeCloud Co., Ltd.
KubeBlocks Project, (C) 2022-2026 ApeCloud Co., Ltd.

This product includes software developed at ApeCloud Co., Ltd.

Expand Down
2 changes: 1 addition & 1 deletion cmd/cli/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
10 changes: 5 additions & 5 deletions docs/user_docs/cli/kbcli.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ KubeBlocks CLI.
```

=============================================
__ __ _______ ______ __ ______
__ __ _______ ______ __ ______
| \ / \ \ / \| \ | \
| ▓▓ / ▓▓ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓\ ▓▓ \▓▓▓▓▓▓
| ▓▓/ ▓▓| ▓▓__/ ▓▓ ▓▓ \▓▓ ▓▓ | ▓▓
| ▓▓ ▓▓ | ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓
| ▓▓▓▓▓\ | ▓▓▓▓▓▓▓\ ▓▓ __| ▓▓ | ▓▓
| ▓▓ \▓▓\| ▓▓__/ ▓▓ ▓▓__/ \ ▓▓_____ _| ▓▓_
| ▓▓/ ▓▓| ▓▓__/ ▓▓ ▓▓ \▓▓ ▓▓ | ▓▓
| ▓▓ ▓▓ | ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓
| ▓▓▓▓▓\ | ▓▓▓▓▓▓▓\ ▓▓ __| ▓▓ | ▓▓
| ▓▓ \▓▓\| ▓▓__/ ▓▓ ▓▓__/ \ ▓▓_____ _| ▓▓_
| ▓▓ \▓▓\ ▓▓ ▓▓\▓▓ ▓▓ ▓▓ \ ▓▓ \
\▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓▓▓\▓▓▓▓▓▓

Expand Down
6 changes: 3 additions & 3 deletions docs/user_docs/cli/kbcli_addon_enable.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ kbcli addon enable ADDON_NAME [flags]
--replicas stringArray Sets addon component replica count (--replicas [extraName:]<number>) (can specify multiple if has extra items))
--set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2), it's only being processed if addon's type is helm.
--show-managed-fields If true, keep the managedFields when printing objects in JSON or YAML format.
--storage stringArray Sets addon storage size (--storage [extraName:]<request>) (can specify multiple if has extra items)).
--storage stringArray Sets addon storage size (--storage [extraName:]<request>) (can specify multiple if has extra items)).
Additional notes:
1. Specify '0' value will remove storage values settings and explicitly disable 'persistentVolumeEnabled' attribute.
2. For Helm type Addon, that resizing storage will fail if modified value is a storage request size
that belongs to StatefulSet's volume claim template, to resolve 'Failed' Addon status possible action is disable and
2. For Helm type Addon, that resizing storage will fail if modified value is a storage request size
that belongs to StatefulSet's volume claim template, to resolve 'Failed' Addon status possible action is disable and
re-enable the addon (More info on how-to resize a PVC: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources).

--storage-class stringArray Sets addon storage class name (--storage-class [extraName:]<storage class name>) (can specify multiple if has extra items))
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate.cue.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
// Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate.go.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate_apache2.go.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
8 changes: 4 additions & 4 deletions hack/client-sdk-gen.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/env bash
#
# Copyright (C) 2022-2025 ApeCloud Co., Ltd
#
# Copyright (C) 2022-2026 ApeCloud Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down
2 changes: 1 addition & 1 deletion hack/docgen/cli/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion hack/install_cli.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# Copyright (C) 2022-2025 ApeCloud Co., Ltd
# Copyright (C) 2022-2026 ApeCloud Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
8 changes: 4 additions & 4 deletions hack/install_cli_docker.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash
#
# Copyright (C) 2022-2025 ApeCloud Co., Ltd
#
# Copyright (C) 2022-2026 ApeCloud Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down
6 changes: 3 additions & 3 deletions hack/license/header-check.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2022-2025 ApeCloud Co., Ltd
# Copyright (C) 2022-2026 ApeCloud Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,7 +29,7 @@ APACHE2_DIRS="apis/\|externalapis/"

for file in $(git ls-files | grep '\.cue\|\.go$' | grep -v ${EXCLUDES_DIRS}); do
echo -n "Header check: $file... "
if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2025 ApeCloud Co., Ltd\|Code generated by") ]]; then
if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2026 ApeCloud Co., Ltd\|Code generated by") ]]; then
ERR=true
fi
if [ $ERR == true ]; then
Expand All @@ -52,7 +52,7 @@ done

for file in $(git ls-files | grep '\.go$' | grep ${APACHE2_DIRS}); do
echo -n "Header check: $file... "
if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2025 ApeCloud Co., Ltd\|Code generated by") ]]; then
if [[ -z $(cat ${file} | grep "Copyright (C) 2022-2026 ApeCloud Co., Ltd\|Code generated by") ]]; then
ERR=true
fi
if [ $ERR == true ]; then
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/create.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/create_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/custom_edit.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/custom_edit_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/delete.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/delete_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/edit.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/edit_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/exec.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/exec_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/list.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/list_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/patch.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/patch_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/cluster_operations_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/cluster_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/create_template_test.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/dns_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
// Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/http_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
// Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/io_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
// Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/migration_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/network_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
// Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/node_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
// Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/opsrequest_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/pod_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
// Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/stress_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
// Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/time_chaos_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2022-2025 ApeCloud Co., Ltd
// Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
// This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/trace_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/action/template/volumesnapshotclass_template.cue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Copyright (C) 2022-2025 ApeCloud Co., Ltd
//Copyright (C) 2022-2026 ApeCloud Co., Ltd
//
//This file is part of KubeBlocks project
//
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/interface.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/k3d.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/k3d_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/provider.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/terraform.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd
Copyright (C) 2022-2026 ApeCloud Co., Ltd

This file is part of KubeBlocks project

Expand Down
Loading