Skip to content

Conversation

@yolabingo
Copy link
Contributor

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

2. What is the scope of this PR (e.g. component or file name):

scripts/install-kusion.sh

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

  • Other

Install script uses base64 to encode kubeconfig key. The base64 args changed in the latest OS X (Tahoe)

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

  • N
  • Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test
  • Integration test
  • Benchmark (add benchmark stats below)
  • Manual test (add detailed scripts or steps below)
  • Other

bash install-kusion.sh kubeconfig_key1=/path/to/key

works in latest OS X

6. Release note

The fix addresses compatibility issues where the base64 command parameters differ between operating systems and macOS versions. This ensures the Kusion Helm chart installation works correctly regardless of the platform.

  • Fixed base64 encoding on macOS: Updated the install script to properly handle base64 encoding across different macOS versions

    • macOS 15+ (Darwin kernel 25+): Uses base64 -w 0 -i
    • Earlier macOS versions: Uses base64 -b 0 -i
    • Linux: Continues to use base64 -w 0
  • Enhanced cross-platform support: The script now automatically detects the operating system and applies the correct base64 parameters

Files Changed:

  • scripts/install-kusion.sh: Updated base64 encoding logic for cross-platform compatibility

Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Dec 23, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@yolabingo
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@ruquanzhao
Copy link
Collaborator

@yolabingo Thanks so much for your contribution! Hope Kusion helps you!

Copy link
Collaborator

@ruquanzhao ruquanzhao left a comment

Choose a reason for hiding this comment

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

/lgtm

@ruquanzhao ruquanzhao merged commit b6a7942 into KusionStack:master Dec 24, 2025
5 of 6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update install-kusion.sh for OS X Tahoe base64 change

2 participants