Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: handle multiple contexts during network deploy #1369

Merged
merged 6 commits into from
Feb 12, 2025

Conversation

leninmehedy
Copy link
Member

@leninmehedy leninmehedy commented Feb 12, 2025

Description

This pull request changes the following:

  • add support for multi-cluster values files
  • create secrets in multiple clusters
  • create namespace in multiple clusters as required
  • add a custom flag called networkDeploymentValuesFile to be used for solo network deployment command

Related Issues

@leninmehedy leninmehedy changed the title feat: handle multiple contexts feat: handle multiple contexts during network deploy Feb 12, 2025
Copy link
Contributor

github-actions bot commented Feb 12, 2025

Unit Test Results - Linux

  1 files   56 suites   2s ⏱️
215 tests 211 ✅ 0 💤 4 ❌
225 runs  221 ✅ 0 💤 4 ❌

For more details on these failures, see this check.

Results for commit 0d10e93.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Feb 12, 2025

Unit Test Results - Windows

  1 files   56 suites   3s ⏱️
215 tests 211 ✅ 0 💤 4 ❌
225 runs  221 ✅ 0 💤 4 ❌

For more details on these failures, see this check.

Results for commit 0d10e93.

♻️ This comment has been updated with latest results.

@leninmehedy leninmehedy marked this pull request as ready for review February 12, 2025 10:51
@leninmehedy leninmehedy requested a review from a team as a code owner February 12, 2025 10:51
@leninmehedy leninmehedy requested review from tomzhenghedera and removed request for tomzhenghedera February 12, 2025 10:51
@leninmehedy leninmehedy force-pushed the 01357-lenin branch 2 times, most recently from 997ec50 to 6eaa35d Compare February 12, 2025 11:04
@jeromy-cannon jeromy-cannon merged commit 5b3d68a into 01357-multi-cluster-network-deploy-part-3 Feb 12, 2025
15 of 37 checks passed
@jeromy-cannon jeromy-cannon deleted the 01357-lenin branch February 12, 2025 12:37
jeromy-cannon added a commit that referenced this pull request Feb 12, 2025
commit 5b3d68a
Author: Lenin Mehedy <[email protected]>
Date:   Wed Feb 12 23:37:56 2025 +1100

    feat: handle multiple contexts during network deploy (#1369)

    Signed-off-by: Lenin Mehedy <[email protected]>

commit ea24bc4
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 00:19:23 2025 +0000

    more todos

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 71388dd
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 00:10:26 2025 +0000

    pushing latest

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 209c2cd
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 21:53:15 2025 +0000

    updated cluster ref flag description

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 1a0a337
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 21:52:12 2025 +0000

    renamed flag clusterName to clusterRef

    Signed-off-by: Jeromy Cannon <[email protected]>

commit f4087bf
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 21:41:02 2025 +0000

    saving progress

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 537fc1a
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 20:51:03 2025 +0000

    set the networks deploy config with the contexts and the consensus nodes for later use

    Signed-off-by: Jeromy Cannon <[email protected]>

commit e86e94c
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 20:07:53 2025 +0000

    added base test for getContexts

    Signed-off-by: Jeromy Cannon <[email protected]>

Signed-off-by: Jeromy Cannon <[email protected]>
jeromy-cannon added a commit that referenced this pull request Feb 12, 2025
commit 5b3d68a
Author: Lenin Mehedy <[email protected]>
Date:   Wed Feb 12 23:37:56 2025 +1100

    feat: handle multiple contexts during network deploy (#1369)

    Signed-off-by: Lenin Mehedy <[email protected]>

commit ea24bc4
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 00:19:23 2025 +0000

    more todos

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 71388dd
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 00:10:26 2025 +0000

    pushing latest

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 209c2cd
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 21:53:15 2025 +0000

    updated cluster ref flag description

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 1a0a337
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 21:52:12 2025 +0000

    renamed flag clusterName to clusterRef

    Signed-off-by: Jeromy Cannon <[email protected]>

commit f4087bf
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 21:41:02 2025 +0000

    saving progress

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 537fc1a
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 20:51:03 2025 +0000

    set the networks deploy config with the contexts and the consensus nodes for later use

    Signed-off-by: Jeromy Cannon <[email protected]>

commit e86e94c
Author: Jeromy Cannon <[email protected]>
Date:   Tue Feb 11 20:07:53 2025 +0000

    added base test for getContexts

    Signed-off-by: Jeromy Cannon <[email protected]>

Signed-off-by: Jeromy Cannon <[email protected]>
jeromy-cannon added a commit that referenced this pull request Feb 12, 2025
commit 40f5cc4
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 23:00:17 2025 +0000

    added dns templating for fully qualified domain name

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 929fdaa
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 19:10:33 2025 +0000

    got further into node add

    Signed-off-by: Jeromy Cannon <[email protected]>

commit b9f6d10
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 17:24:29 2025 +0000

    removed final todo for network deploy

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 03ad78f
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:55:15 2025 +0000

    removed todo in addNodesAndProxies

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 54cc58f
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:42:13 2025 +0000

    removed todo in title: 'Check auxiliary pods are ready'

    Signed-off-by: Jeromy Cannon <[email protected]>

commit e060218
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:38:09 2025 +0000

    removed todo in title: 'Check proxy pods are running', envoy proxy

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 9b43649
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:36:45 2025 +0000

    removed todo in title: 'Check proxy pods are running'

    Signed-off-by: Jeromy Cannon <[email protected]>

commit d08a239
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:28:25 2025 +0000

    removed todo in           title: 'Check node pods are running',

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 075051d
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:25:16 2025 +0000

    removed todo in           title: 'Check if cluster setup chart is installed',

    Signed-off-by: Jeromy Cannon <[email protected]>

commit ad56068
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:10:16 2025 +0000

    fixed minor issue

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 310a1cb
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 15:36:06 2025 +0000

    patched NetworkCommand to work for test cases

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 98ba704
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 14:40:42 2025 +0000

    fixed keysConfigBuilder

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 04dce8d
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 14:34:45 2025 +0000

    fixed import error

    Signed-off-by: Jeromy Cannon <[email protected]>

commit d15efd7
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 14:34:23 2025 +0000

    fixed unit test cases

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 40200a7
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 13:26:24 2025 +0000

    fixed some unit test cases

    Signed-off-by: Jeromy Cannon <[email protected]>

commit d6ca20e
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 12:38:54 2025 +0000

    Squashed commit of the following:

    commit 5b3d68a
    Author: Lenin Mehedy <[email protected]>
    Date:   Wed Feb 12 23:37:56 2025 +1100

        feat: handle multiple contexts during network deploy (#1369)

        Signed-off-by: Lenin Mehedy <[email protected]>

    commit ea24bc4
    Author: Jeromy Cannon <[email protected]>
    Date:   Wed Feb 12 00:19:23 2025 +0000

        more todos

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit 71388dd
    Author: Jeromy Cannon <[email protected]>
    Date:   Wed Feb 12 00:10:26 2025 +0000

        pushing latest

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit 209c2cd
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 21:53:15 2025 +0000

        updated cluster ref flag description

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit 1a0a337
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 21:52:12 2025 +0000

        renamed flag clusterName to clusterRef

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit f4087bf
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 21:41:02 2025 +0000

        saving progress

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit 537fc1a
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 20:51:03 2025 +0000

        set the networks deploy config with the contexts and the consensus nodes for later use

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit e86e94c
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 20:07:53 2025 +0000

        added base test for getContexts

        Signed-off-by: Jeromy Cannon <[email protected]>

    Signed-off-by: Jeromy Cannon <[email protected]>

Signed-off-by: Jeromy Cannon <[email protected]>
leninmehedy pushed a commit that referenced this pull request Feb 13, 2025
commit 40f5cc4
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 23:00:17 2025 +0000

    added dns templating for fully qualified domain name

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 929fdaa
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 19:10:33 2025 +0000

    got further into node add

    Signed-off-by: Jeromy Cannon <[email protected]>

commit b9f6d10
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 17:24:29 2025 +0000

    removed final todo for network deploy

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 03ad78f
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:55:15 2025 +0000

    removed todo in addNodesAndProxies

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 54cc58f
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:42:13 2025 +0000

    removed todo in title: 'Check auxiliary pods are ready'

    Signed-off-by: Jeromy Cannon <[email protected]>

commit e060218
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:38:09 2025 +0000

    removed todo in title: 'Check proxy pods are running', envoy proxy

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 9b43649
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:36:45 2025 +0000

    removed todo in title: 'Check proxy pods are running'

    Signed-off-by: Jeromy Cannon <[email protected]>

commit d08a239
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:28:25 2025 +0000

    removed todo in           title: 'Check node pods are running',

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 075051d
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:25:16 2025 +0000

    removed todo in           title: 'Check if cluster setup chart is installed',

    Signed-off-by: Jeromy Cannon <[email protected]>

commit ad56068
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 16:10:16 2025 +0000

    fixed minor issue

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 310a1cb
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 15:36:06 2025 +0000

    patched NetworkCommand to work for test cases

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 98ba704
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 14:40:42 2025 +0000

    fixed keysConfigBuilder

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 04dce8d
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 14:34:45 2025 +0000

    fixed import error

    Signed-off-by: Jeromy Cannon <[email protected]>

commit d15efd7
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 14:34:23 2025 +0000

    fixed unit test cases

    Signed-off-by: Jeromy Cannon <[email protected]>

commit 40200a7
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 13:26:24 2025 +0000

    fixed some unit test cases

    Signed-off-by: Jeromy Cannon <[email protected]>

commit d6ca20e
Author: Jeromy Cannon <[email protected]>
Date:   Wed Feb 12 12:38:54 2025 +0000

    Squashed commit of the following:

    commit 5b3d68a
    Author: Lenin Mehedy <[email protected]>
    Date:   Wed Feb 12 23:37:56 2025 +1100

        feat: handle multiple contexts during network deploy (#1369)

        Signed-off-by: Lenin Mehedy <[email protected]>

    commit ea24bc4
    Author: Jeromy Cannon <[email protected]>
    Date:   Wed Feb 12 00:19:23 2025 +0000

        more todos

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit 71388dd
    Author: Jeromy Cannon <[email protected]>
    Date:   Wed Feb 12 00:10:26 2025 +0000

        pushing latest

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit 209c2cd
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 21:53:15 2025 +0000

        updated cluster ref flag description

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit 1a0a337
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 21:52:12 2025 +0000

        renamed flag clusterName to clusterRef

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit f4087bf
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 21:41:02 2025 +0000

        saving progress

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit 537fc1a
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 20:51:03 2025 +0000

        set the networks deploy config with the contexts and the consensus nodes for later use

        Signed-off-by: Jeromy Cannon <[email protected]>

    commit e86e94c
    Author: Jeromy Cannon <[email protected]>
    Date:   Tue Feb 11 20:07:53 2025 +0000

        added base test for getContexts

        Signed-off-by: Jeromy Cannon <[email protected]>

    Signed-off-by: Jeromy Cannon <[email protected]>

Signed-off-by: Jeromy Cannon <[email protected]>
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.

2 participants