GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — replace kubectl with the alpine version by arikalon1 · Pull Request #479 · robusta-dev/krr

Conversation

@arikalon1

@arikalon1 arikalon1 commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

allow overriding the kubectl image

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@arikalon1
replace kubectl with the alpine version
04deb1f
allow overriding the kubectl image
@arikalon1
arikalon1 requested a review from aantn October 8, 2025 18:11
@coderabbitai

coderabbitai Bot commented Oct 8, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Walkthrough

Bumps Helm chart and app versions to 0.3.4. Introduces configurable cert job image and a toggle to install OpenSSL during the certificate job. Updates the job template to use values-driven image and conditionally install OpenSSL before running the existing certificate generation steps.

Changes

Cohort / File(s) Summary
Helm chart metadata
helm/krr-enforcer/Chart.yaml
Updated version and appVersion from 0.3.1 to 0.3.4.
Certificate job template
helm/krr-enforcer/templates/enforcer-cert-job.yaml
Switched static image to {{ .Values.certJob.image }}; added conditional OpenSSL install controlled by Values.certJob.installOpenssl; certificate generation flow retained.
Values configuration
helm/krr-enforcer/values.yaml
Added certJob block with image: "alpine/k8s:1.30.0" and installOpenssl: true; updated image.tag to 0.3.4.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User as Helm User
  participant Helm as Helm Template/Install
  participant K8s as Kubernetes
  participant Job as Cert Job Pod
  participant Script as Init Script

  User->>Helm: helm install/upgrade (values)
  Helm->>K8s: Rendered manifests (job uses .Values.certJob.image)
  K8s-->>User: Resources created
  K8s->>Job: Schedule Pod
  Job->>Script: Run init script

  alt installOpenssl == true
    Script->>Script: apk add --no-cache openssl
  else installOpenssl == false
    Note over Script: Skip OpenSSL installation
  end

  Script->>Script: Generate CA and server certs
  Script->>K8s: Create/Update Secret with certs
  Script-->>Job: Exit 0
  Job-->>K8s: Complete
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The title describes swapping the kubectl image for an Alpine variant, which reflects part of the change, but it omits that the PR’s main purpose is to make the image configurable rather than hard-coded. It therefore only partially summarizes the primary change.
Description Check ✅ Passed The description clearly states that the PR allows overriding the kubectl image, which directly corresponds to the modifications in the Helm templates and values, making it relevant and on-topic.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch alpine-kubectl

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6e84f09 and 04deb1f.

📒 Files selected for processing (3)
  • helm/krr-enforcer/Chart.yaml (1 hunks)
  • helm/krr-enforcer/templates/enforcer-cert-job.yaml (2 hunks)
  • helm/krr-enforcer/values.yaml (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aantn
aantn approved these changes Oct 8, 2025
View reviewed changes
@arikalon1
arikalon1 merged commit f5d9744 into main Oct 9, 2025
@arikalon1
arikalon1 deleted the alpine-kubectl branch October 9, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@aantn aantn aantn approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@arikalon1 @aantn
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.