Skip to content

feat(restarter): switch to rancher/kubectl image with auto versioning - #500

Merged
witalisoft merged 2 commits into
netdata:masterfrom
witalisoft:fix/bitnami-image
Sep 2, 2025
Merged

feat(restarter): switch to rancher/kubectl image with auto versioning#500
witalisoft merged 2 commits into
netdata:masterfrom
witalisoft:fix/bitnami-image

Conversation

@witalisoft

Copy link
Copy Markdown
Contributor

bitnami will only release container images with the latest tag (announcement)

@witalisoft
witalisoft requested review from a team and ilyam8 as code owners September 2, 2025 06:24
@witalisoft
witalisoft requested a review from mtblz September 2, 2025 06:24
@CLAassistant

CLAassistant commented Sep 2, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@ilyam8
ilyam8 requested a review from Copilot September 2, 2025 06:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the restarter component from the bitnami/kubectl image to rancher/kubectl with automatic Kubernetes version alignment. The change addresses Bitnami's decision to only release container images with the latest tag going forward.

  • Switches from bitnami/kubectl to rancher/kubectl image repository
  • Implements automatic version tagging that matches the Kubernetes cluster version when tag is set to .auto
  • Refactors the CronJob template to use kubectl args instead of bash commands

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
charts/netdata/values.yaml Updates default image repository to rancher/kubectl and sets tag to .auto
charts/netdata/templates/restarter/cronjob.yaml Refactors command execution from bash script to kubectl args and implements auto-versioning logic
charts/netdata/README.md Updates documentation to reflect new image repository and auto-versioning feature

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread charts/netdata/templates/restarter/cronjob.yaml
Comment thread charts/netdata/templates/restarter/cronjob.yaml
Comment thread charts/netdata/templates/restarter/cronjob.yaml
@witalisoft
witalisoft requested a review from ilyam8 September 2, 2025 07:24
@witalisoft
witalisoft merged commit d5430fa into netdata:master Sep 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants