Skip to content

install script updates [KS-35]#130

Open
yajith wants to merge 1 commit intodevelopfrom
fix/install-script-issues
Open

install script updates [KS-35]#130
yajith wants to merge 1 commit intodevelopfrom
fix/install-script-issues

Conversation

@yajith
Copy link
Copy Markdown
Member

@yajith yajith commented Mar 27, 2026

  • fixing an issue with --download-only option
  • reorg. the script by adding some bash functions
  • to-do: more bash functions for things like kubeconfig setup (under separate PRs)

Ref: KS-35

@yajith yajith requested a review from stevensbkang as a code owner March 27, 2026 00:38
@linear
Copy link
Copy Markdown

linear bot commented Mar 27, 2026

Copy link
Copy Markdown

Copilot AI left a comment

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 refactors the install.sh installer by extracting logic into functions and adjusts the --download-only flow so it runs before root checks and pre-flight validation, aligning with the goal of preparing offline bundles from non-root developer machines (KS-35).

Changes:

  • Moves --download-only into an early “no-root” path and factors downloading into download_bundle().
  • Refactors installer responsibilities into additional bash/sh functions (download/install/service creation).
  • Updates installation docs to clarify --download-only doesn’t require root and removes sudo from the examples.

Reviewed changes

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

File Description
install.sh Reorganizes the installer into functions; adds early download-only entry path and helper functions for downloading/installing.
docs/installation/flags.md Updates --download-only documentation and usage examples to run without root.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@deviantony
Copy link
Copy Markdown
Member

Dropping my 2c on this, but usually when I see a bash script reaching > 1000 LOC I start asking myself questions 🕵

@yajith yajith changed the title install script updates install script updates [KS-35] Mar 30, 2026
add a fix for intall script terminating itself on offline install mode

attempt to fix self terminate and updating informational message

adding fixes

adding fixes
@yajith yajith force-pushed the fix/install-script-issues branch from 1aa4263 to ff4192c Compare April 1, 2026 01:15
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.

3 participants