Skip to content

Conversation

@rahulait
Copy link
Contributor

@rahulait rahulait commented Jan 9, 2025

What this PR does / why we need it:
This PR allows CCM to work with different environments. Support to allow CAPL to work with different environments was added in #546. This PR fixes CCM for child clusters. Along with other necessary vars required to provision a cluster, following vars also need to be set accordingly:

export LINODE_URL=<path of env's API>
export LINODE_CA=<env's CA file path on disk>
export LINODE_EXTERNAL_SUBNET=<network to be marked as public network>
export LINODE_CA_BASE64=<base64 encoded value of LINODE_CA>

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@rahulait rahulait force-pushed the support-ccm-in-different-envs branch from 19aaa3d to 46323a8 Compare January 9, 2025 03:29
@codecov
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.70%. Comparing base (0ca9ce1) to head (f379624).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #614   +/-   ##
=======================================
  Coverage   63.70%   63.70%           
=======================================
  Files          70       70           
  Lines        6053     6053           
=======================================
  Hits         3856     3856           
  Misses       1942     1942           
  Partials      255      255           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

komer3
komer3 previously approved these changes Jan 9, 2025
@rahulait rahulait force-pushed the support-ccm-in-different-envs branch from 85fdee6 to 5af7281 Compare January 10, 2025 15:15
Copy link
Collaborator

@AshleyDumaine AshleyDumaine left a comment

Choose a reason for hiding this comment

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

LGTM

@rahulait rahulait merged commit 05dd7df into main Jan 10, 2025
29 checks passed
@AshleyDumaine AshleyDumaine deleted the support-ccm-in-different-envs branch January 14, 2025 15:50
AshleyDumaine pushed a commit that referenced this pull request Jan 14, 2025
…#614)

* allow CCM to work with different environments

* address review comment

* update other flavors as well for ccm env vars

* add optional env vars for cilium-bgp mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants