-
Notifications
You must be signed in to change notification settings - Fork 694
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
Seperate call to retrieve namespace list and retrieve KubeObject for only a single namespace #4680
Merged
Saranya-jena
merged 24 commits into
litmuschaos:master
from
Calvinaud:feature/seperate-namespace-call
Sep 6, 2024
Merged
Seperate call to retrieve namespace list and retrieve KubeObject for only a single namespace #4680
Saranya-jena
merged 24 commits into
litmuschaos:master
from
Calvinaud:feature/seperate-namespace-call
Sep 6, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Calvin Audier <[email protected]>
…ted) Signed-off-by: Calvin Audier <[email protected]>
Update objectmodel and subscriber to incldue KubeNamespace Signed-off-by: Calvin Audier <[email protected]>
Regenerating model with gqlgen. Signed-off-by: Calvin Audier <[email protected]>
Rename getKubeNamespace function that didn't match graphqls operation in Subscription Add missing function for the graphql server to retrieve list of namespace Signed-off-by: Calvin Audier <[email protected]>
…space Signed-off-by: Calvin Audier <[email protected]>
…ince subscriber will only return one element. Signed-off-by: Calvin Audier <[email protected]>
Signed-off-by: Calvin Audier <[email protected]>
Calvinaud
changed the title
Feature/seperate namespace call
Seperate call to retrieve namespace list and only retrieve KubeObject for only a single namespace
May 30, 2024
Signed-off-by: Calvin Audier <[email protected]>
Signed-off-by: Calvin Audier <[email protected]>
…b workflow Signed-off-by: Calvin Audier <[email protected]>
Signed-off-by: Calvin Audier <[email protected]>
…d by trivy. Signed-off-by: Calvin Audier <[email protected]>
Fix a comment Signed-off-by: Calvin Audier <[email protected]>
Calvinaud
changed the title
Seperate call to retrieve namespace list and only retrieve KubeObject for only a single namespace
Seperate call to retrieve namespace list and retrieve KubeObject for only a single namespace
May 30, 2024
Removing some unused code Signed-off-by: Calvin Audier <[email protected]>
hrishavjha
approved these changes
May 31, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FE changes LGTM!
- Add some trailing comma - Trying transform subscription function to resolve "non-arrow functions are forbidden" - Add null check Signed-off-by: Calvin Audier <[email protected]>
- Adding trailing comma - Re-ordering by alphabetic order some parameters Signed-off-by: Calvin Audier <[email protected]>
Hi @Calvinaud , Thanks for this contribution. |
amityt
approved these changes
Sep 6, 2024
Jonsy13
approved these changes
Sep 6, 2024
andoriyaprashant
pushed a commit
to andoriyaprashant/litmus
that referenced
this pull request
Sep 7, 2024
…only a single namespace (litmuschaos#4680) * Create a seperate function to get Namespace in subscriber Signed-off-by: Calvin Audier <[email protected]> * Update graphql server to include KubeNamespace call (model not generated) Signed-off-by: Calvin Audier <[email protected]> * Update graphqls to include KubeNamespace model Update objectmodel and subscriber to incldue KubeNamespace Signed-off-by: Calvin Audier <[email protected]> * Fix issue in graphqls and adding KubeNamespace type. Regenerating model with gqlgen. Signed-off-by: Calvin Audier <[email protected]> * Update model to includude missing field in KubeNamespaceData Rename getKubeNamespace function that didn't match graphqls operation in Subscription Add missing function for the graphql server to retrieve list of namespace Signed-off-by: Calvin Audier <[email protected]> * Add remaining function in k8s pkg and requests to return list of namespace Signed-off-by: Calvin Audier <[email protected]> * Update graphql/subscriber to transform KubeObject to not be a array since subscriber will only return one element. Signed-off-by: Calvin Audier <[email protected]> * Update web server to seperate call for KubeObject and KubeNamespace. Signed-off-by: Calvin Audier <[email protected]> * Fix import with goimports Signed-off-by: Calvin Audier <[email protected]> * Reverting upgrade of webpack-dev-server so it's compatible with github workflow Signed-off-by: Calvin Audier <[email protected]> * Run gofmt with correct version. Signed-off-by: Calvin Audier <[email protected]> * Bumping ubi-minimal:8.8 to 8.10 to fix some HIGH CVE severity detected by trivy. Signed-off-by: Calvin Audier <[email protected]> * Updating chaos_infrastructure mock to include KubeNamespace. Fix a comment Signed-off-by: Calvin Audier <[email protected]> * Fix issue from Codacy Removing some unused code Signed-off-by: Calvin Audier <[email protected]> * Fix codacy issue: - Add some trailing comma - Trying transform subscription function to resolve "non-arrow functions are forbidden" - Add null check Signed-off-by: Calvin Audier <[email protected]> * Continue fix Codacy issue - Adding trailing comma - Re-ordering by alphabetic order some parameters Signed-off-by: Calvin Audier <[email protected]> --------- Signed-off-by: Calvin Audier <[email protected]> Signed-off-by: Calvinaud <[email protected]> Co-authored-by: Namkyu Park <[email protected]> Co-authored-by: Saranya Jena <[email protected]> Signed-off-by: andoriyaprashant <[email protected]>
andoriyaprashant
pushed a commit
to andoriyaprashant/litmus
that referenced
this pull request
Sep 7, 2024
…only a single namespace (litmuschaos#4680) * Create a seperate function to get Namespace in subscriber Signed-off-by: Calvin Audier <[email protected]> * Update graphql server to include KubeNamespace call (model not generated) Signed-off-by: Calvin Audier <[email protected]> * Update graphqls to include KubeNamespace model Update objectmodel and subscriber to incldue KubeNamespace Signed-off-by: Calvin Audier <[email protected]> * Fix issue in graphqls and adding KubeNamespace type. Regenerating model with gqlgen. Signed-off-by: Calvin Audier <[email protected]> * Update model to includude missing field in KubeNamespaceData Rename getKubeNamespace function that didn't match graphqls operation in Subscription Add missing function for the graphql server to retrieve list of namespace Signed-off-by: Calvin Audier <[email protected]> * Add remaining function in k8s pkg and requests to return list of namespace Signed-off-by: Calvin Audier <[email protected]> * Update graphql/subscriber to transform KubeObject to not be a array since subscriber will only return one element. Signed-off-by: Calvin Audier <[email protected]> * Update web server to seperate call for KubeObject and KubeNamespace. Signed-off-by: Calvin Audier <[email protected]> * Fix import with goimports Signed-off-by: Calvin Audier <[email protected]> * Reverting upgrade of webpack-dev-server so it's compatible with github workflow Signed-off-by: Calvin Audier <[email protected]> * Run gofmt with correct version. Signed-off-by: Calvin Audier <[email protected]> * Bumping ubi-minimal:8.8 to 8.10 to fix some HIGH CVE severity detected by trivy. Signed-off-by: Calvin Audier <[email protected]> * Updating chaos_infrastructure mock to include KubeNamespace. Fix a comment Signed-off-by: Calvin Audier <[email protected]> * Fix issue from Codacy Removing some unused code Signed-off-by: Calvin Audier <[email protected]> * Fix codacy issue: - Add some trailing comma - Trying transform subscription function to resolve "non-arrow functions are forbidden" - Add null check Signed-off-by: Calvin Audier <[email protected]> * Continue fix Codacy issue - Adding trailing comma - Re-ordering by alphabetic order some parameters Signed-off-by: Calvin Audier <[email protected]> --------- Signed-off-by: Calvin Audier <[email protected]> Signed-off-by: Calvinaud <[email protected]> Co-authored-by: Namkyu Park <[email protected]> Co-authored-by: Saranya Jena <[email protected]> Signed-off-by: andoriyaprashant <[email protected]>
sagnik3788
pushed a commit
to sagnik3788/litmus
that referenced
this pull request
Oct 5, 2024
…only a single namespace (litmuschaos#4680) * Create a seperate function to get Namespace in subscriber Signed-off-by: Calvin Audier <[email protected]> * Update graphql server to include KubeNamespace call (model not generated) Signed-off-by: Calvin Audier <[email protected]> * Update graphqls to include KubeNamespace model Update objectmodel and subscriber to incldue KubeNamespace Signed-off-by: Calvin Audier <[email protected]> * Fix issue in graphqls and adding KubeNamespace type. Regenerating model with gqlgen. Signed-off-by: Calvin Audier <[email protected]> * Update model to includude missing field in KubeNamespaceData Rename getKubeNamespace function that didn't match graphqls operation in Subscription Add missing function for the graphql server to retrieve list of namespace Signed-off-by: Calvin Audier <[email protected]> * Add remaining function in k8s pkg and requests to return list of namespace Signed-off-by: Calvin Audier <[email protected]> * Update graphql/subscriber to transform KubeObject to not be a array since subscriber will only return one element. Signed-off-by: Calvin Audier <[email protected]> * Update web server to seperate call for KubeObject and KubeNamespace. Signed-off-by: Calvin Audier <[email protected]> * Fix import with goimports Signed-off-by: Calvin Audier <[email protected]> * Reverting upgrade of webpack-dev-server so it's compatible with github workflow Signed-off-by: Calvin Audier <[email protected]> * Run gofmt with correct version. Signed-off-by: Calvin Audier <[email protected]> * Bumping ubi-minimal:8.8 to 8.10 to fix some HIGH CVE severity detected by trivy. Signed-off-by: Calvin Audier <[email protected]> * Updating chaos_infrastructure mock to include KubeNamespace. Fix a comment Signed-off-by: Calvin Audier <[email protected]> * Fix issue from Codacy Removing some unused code Signed-off-by: Calvin Audier <[email protected]> * Fix codacy issue: - Add some trailing comma - Trying transform subscription function to resolve "non-arrow functions are forbidden" - Add null check Signed-off-by: Calvin Audier <[email protected]> * Continue fix Codacy issue - Adding trailing comma - Re-ordering by alphabetic order some parameters Signed-off-by: Calvin Audier <[email protected]> --------- Signed-off-by: Calvin Audier <[email protected]> Signed-off-by: Calvinaud <[email protected]> Co-authored-by: Namkyu Park <[email protected]> Co-authored-by: Saranya Jena <[email protected]> Signed-off-by: sagnik3788 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed changes
Split the KubeObject in two to avoid timeout.
Fix: Reaching timeout when getting KubeObject on big cluster #4616
Types of changes
What types of changes does your code introduce to Litmus? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Dependency
Special notes for your reviewer: