forked from OT-CONTAINER-KIT/redis-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from OT-CONTAINER-KIT:master #2
Open
pull
wants to merge
183
commits into
evrardjp:master
Choose a base branch
from
OT-CONTAINER-KIT:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: drivebyer <[email protected]>
* fix: redis cluster update as scale out Signed-off-by: drivebyer <[email protected]> * add e2e test step && remove unnecessary test assert Signed-off-by: drivebyer <[email protected]> * add newline Signed-off-by: drivebyer <[email protected]> * add newline Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.29.3 to 0.29.4. - [Commits](kubernetes/api@v0.29.3...v0.29.4) --- updated-dependencies: - dependency-name: k8s.io/api dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Mahesh Kumar <[email protected]>
Signed-off-by: drivebyer <[email protected]>
* fix: should get the really leader count when scale in Signed-off-by: drivebyer <[email protected]> * fix timeout Signed-off-by: drivebyer <[email protected]> * fix test Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
Signed-off-by: Mahesh Kumar <[email protected]>
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/helm/kind-action/releases) - [Commits](helm/kind-action@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: helm/kind-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: drivebyer <[email protected]>
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 5. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v4...v5) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.32.0 to 1.33.0. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.32.0...v1.33.0) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: wkd-woo <[email protected]>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.17.1 to 2.17.2. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.17.1...v2.17.2) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.33.0 to 1.33.1. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.33.0...v1.33.1) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: drivebyer <[email protected]>
* feat: probe use built-in, discarded healthcheck.sh Signed-off-by: drivebyer <[email protected]> * use shell Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
* build: add ghcr release process Signed-off-by: drivebyer <[email protected]> * fix: env Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
* fix runtime panic when storage param is empty Signed-off-by: Teo <[email protected]> * Update redis-cluster.go * remove blank * Update redis-cluster.go --------- Signed-off-by: Teo <[email protected]> Co-authored-by: yangw <[email protected]>
Update standalone pod name Signed-off-by: Mathieu Cesbron <[email protected]>
* feat: WATCH_NAMESPACE support multi namespace Signed-off-by: drivebyer <[email protected]> * format Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
…922) Signed-off-by: drivebyer <[email protected]>
* feat: add redis-role label to redis replication Signed-off-by: drivebyer <[email protected]> * fix lint Signed-off-by: drivebyer <[email protected]> * fix lint Signed-off-by: drivebyer <[email protected]> * fix test Signed-off-by: drivebyer <[email protected]> * fix test Signed-off-by: drivebyer <[email protected]> * fix test Signed-off-by: drivebyer <[email protected]> * fix test Signed-off-by: drivebyer <[email protected]> * fix test Signed-off-by: drivebyer <[email protected]> * fix test Signed-off-by: drivebyer <[email protected]> * fix test Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.17.2 to 2.17.3. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.17.2...v2.17.3) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v5...v6) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](docker/setup-buildx-action@v2...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3. - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](docker/setup-qemu-action@v2...v3) --- updated-dependencies: - dependency-name: docker/setup-qemu-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: drivebyer <[email protected]>
…e is false (#1202) Signed-off-by: Husni Alhamdani <[email protected]>
* feat: check data consistent by external tool - Added a new command-line tool `data-assert` for managing Redis data, including commands to generate data, check data consistency, and create resource YAML files. - Introduced `go.mod` and `go.sum` for dependency management, incorporating Redis and Cobra libraries. - Created a template for generating Kubernetes resources, including a ConfigMap and Pod specifications. - Updated e2e tests to utilize the new data-assert functionality for data generation and validation. This enhancement improves the management and verification of data in Redis clusters. Signed-off-by: drivebyer <[email protected]> * generate Signed-off-by: drivebyer <[email protected]> * ignore Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
Signed-off-by: Husni Alhamdani <[email protected]>
Updated the version in Chart.yaml to reflect the new release of the redis-operator chart. This change ensures that users are aware of the latest updates and improvements in the chart. Signed-off-by: drivebyer <[email protected]>
Signed-off-by: Husni Alhamdani <[email protected]>
…1201) Added actions to publish charts to github container registry Signed-off-by: Allen Conlon <[email protected]>
* test: enhance Redis cluster testing with data assertion scripts - Added new steps in the e2e test for Redis cluster to apply a data assertion tool, `data-assert`, for generating and validating data in the Redis cluster. - Replaced the previous Redis GET/SET checks with a more comprehensive data generation and validation process using the `data-assert` tool. - Introduced additional assertions to ensure data consistency after scaling operations. This update improves the reliability of e2e tests by ensuring data integrity in Redis clusters. Signed-off-by: drivebyer <[email protected]> * path Signed-off-by: drivebyer <[email protected]> * password Signed-off-by: drivebyer <[email protected]> * password Signed-off-by: drivebyer <[email protected]> * password Signed-off-by: drivebyer <[email protected]> * ha Signed-off-by: drivebyer <[email protected]> * update Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
* feat: add headless service configuration support - Introduced a new `Headless` service configuration in `ServiceConfig` struct - Added method `GetHeadlessServiceAnnotations()` to retrieve headless service annotations - Updated CRD bases to include headless service configuration - Modified service creation logic in Redis cluster and standalone services to support headless service annotations - Added e2e test cases for standalone Redis with headless service configuration This enhancement provides more flexibility in configuring headless services for Redis deployments. Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
…1218) Signed-off-by: Husni Alhamdani <[email protected]>
* fix: update redis-operator chart configuration and documentation. - Removed Chart.lock file for cert-manager dependency - Updated Chart.yaml to remove explicit cert-manager dependency - Bumped chart version to 0.19.2 - Updated README.md to clarify cert-manager installation instructions - Modified values.yaml to improve cert-manager and webhook configuration documentation - Added configuration validation helper in _helpers.tpl - Introduced NOTES.txt template for helm chart installation guidance Signed-off-by: drivebyer <[email protected]> * docs Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
Signed-off-by: Husni Alhamdani <[email protected]>
Signed-off-by: Muhammad Qadora <[email protected]>
…1228) - Introduced `Additional` service configuration in `ServiceConfig` struct - Added `Enabled` field to `Service` struct with default value of true - Implemented `ShouldCreateAdditionalService()` method to control additional service creation - Updated CRD bases to include additional service configuration - Modified service creation logic in Redis cluster and standalone services to respect additional service configuration - Added unit test for `ShouldCreateAdditionalService()` method This enhancement provides more flexibility in configuring additional services for Redis deployments. Signed-off-by: drivebyer <[email protected]>
Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/helm/chart-releaser-action/releases) - [Commits](helm/chart-releaser-action@v1.6.0...v1.7.0) --- updated-dependencies: - dependency-name: helm/chart-releaser-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [helm/chart-testing-action](https://github.com/helm/chart-testing-action) from 2.6.0 to 2.7.0. - [Release notes](https://github.com/helm/chart-testing-action/releases) - [Commits](helm/chart-testing-action@v2.6.0...v2.7.0) --- updated-dependencies: - dependency-name: helm/chart-testing-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.22.1 to 2.22.2. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.22.1...v2.22.2) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…sm (#1231) fix: improve pod label patching with error handling and retry mechanism - Added JSON pointer escaping for label keys - Implemented retry mechanism for label patching - Enhanced error handling and logging - Added validation for empty labels - Created utility function for JSON pointer escaping in util package Signed-off-by: drivebyer <[email protected]>
* feat: enhance Redis HA and node scheduling strategy - Updated e2e test to simulate node shutdown instead of pod deletion - Added pod anti-affinity configuration for Redis replication and sentinel nodes - Removed unnecessary StatefulSet readiness check in Redis replication controller - Improved node scheduling to distribute Redis pods across different worker nodes Signed-off-by: drivebyer <[email protected]>
feat: add securityContext config for redis-exporter Add ability to configure securityContext for redis-exporter in redis helm charts: - redis - redis-cluster - redis-replication - redis-sentinel Supported in: - v1beta1 & v1beta2: Redis, RedisCluster, RedisReplication Operator CRDs - v1beta2 only: RedisSentinel Operator CRD This aligns with existing redis operator CRD functionality. Signed-off-by: Hexoplon <[email protected]>
Signed-off-by: Husni Alhamdani <[email protected]>
* feat: add dynamic Redis configuration support for Redis Cluster - Added `DynamicConfig` field to `RedisConfig` struct in common types - Implemented `GetRedisDynamicConfig()` method in RedisCluster spec - Created `SetRedisClusterDynamicConfig()` utility function to apply dynamic configuration - Updated reconciliation process to set dynamic configuration when cluster is ready - Added e2e test to verify dynamic configuration application This feature allows users to dynamically configure Redis instances at runtime with top-level configuration parameters. Signed-off-by: drivebyer <[email protected]> * fix lint Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
* feat: configurable operator maxConcurrentReconciles Signed-off-by: Husni Alhamdani <[email protected]> * feat: configurable operator maxConcurrentReconciles Signed-off-by: Husni Alhamdani <[email protected]> * feat: configurable operator maxConcurrentReconciles Signed-off-by: Husni Alhamdani <[email protected]> * feat: configurable operator maxConcurrentReconciles Signed-off-by: Husni Alhamdani <[email protected]> * feat: configurable operator maxConcurrentReconciles Signed-off-by: Husni Alhamdani <[email protected]> --------- Signed-off-by: Husni Alhamdani <[email protected]>
Add a GitHub Actions workflow to enable automatic rebasing of pull requests via comment commands `/rebase` and `/autosquash` The workflow allows repository collaborators to trigger a rebase of a pull request by commenting `/rebase` or perform an autosquash rebase with `/autosquash`. Signed-off-by: drivebyer <[email protected]>
Signed-off-by: drivebyer <[email protected]>
* refactor: remove v1beta1 API version and migrate to v1beta2 This commit removes the v1beta1 API version across the entire project, including: - Deleting v1beta1 API type definitions - Removing v1beta1 CRD configurations - Updating example manifests to use v1beta2 - Cleaning up test suite configurations - Updating documentation references The migration focuses on consolidating the project to use only the v1beta2 API version, simplifying the codebase and reducing maintenance overhead. Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
* feat: Sentinel - support hostname resolve and annonce master Signed-off-by: Michael Kanchuker <[email protected]> * fix Signed-off-by: yangw <[email protected]> * fix Signed-off-by: yangw <[email protected]> --------- Signed-off-by: Michael Kanchuker <[email protected]> Signed-off-by: yangw <[email protected]> Co-authored-by: yangw <[email protected]>
…1256) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.7.0 to 3.8.1. - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](sigstore/cosign-installer@v3.7.0...v3.8.1) --- updated-dependencies: - dependency-name: sigstore/cosign-installer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* move main Signed-off-by: drivebyer <[email protected]> * feat: add redis agent with bootstrap configuration generation - Introduced new agent package for Redis and Sentinel configuration management - Added Cobra CLI support for agent bootstrap command - Implemented configuration generation for Sentinel with environment-based customization - Created Dockerfile for agent image - Added utility functions for environment variable handling - Prepared foundation for Redis and Sentinel configuration bootstrapping Signed-off-by: Redis Operator Team Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]> Signed-off-by: Redis Operator Team
…t bootstrap (#1260) * feat: Implement comprehensive Redis configuration generation for agent bootstrap This commit adds a detailed implementation of Redis configuration generation with support for: - Cluster and standalone modes - TLS configuration - ACL setup - Persistence options - Port and network configurations - Dynamic IP and hostname resolution - External configuration file inclusion The implementation uses environment variables to customize Redis configuration dynamically and handles various deployment scenarios. Signed-off-by: drivebyer <[email protected]> * fix Signed-off-by: drivebyer <[email protected]> --------- Signed-off-by: drivebyer <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )