-
Notifications
You must be signed in to change notification settings - Fork 716
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 <calvinaudier@gmail.com>
…ted) Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
Update objectmodel and subscriber to incldue KubeNamespace Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
Regenerating model with gqlgen. Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
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 <calvinaudier@gmail.com>
…space Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
…ince subscriber will only return one element. Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
…b workflow Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
…d by trivy. Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
Fix a comment Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
Removing some unused code Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
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!
Signed-off-by: Calvinaud <calvinaudier@gmail.com>
- Add some trailing comma - Trying transform subscription function to resolve "non-arrow functions are forbidden" - Add null check Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
- Adding trailing comma - Re-ordering by alphabetic order some parameters Signed-off-by: Calvin Audier <calvinaudier@gmail.com>
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 <calvinaudier@gmail.com> * Update graphql server to include KubeNamespace call (model not generated) Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Update graphqls to include KubeNamespace model Update objectmodel and subscriber to incldue KubeNamespace Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Fix issue in graphqls and adding KubeNamespace type. Regenerating model with gqlgen. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * 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 <calvinaudier@gmail.com> * Add remaining function in k8s pkg and requests to return list of namespace Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Update graphql/subscriber to transform KubeObject to not be a array since subscriber will only return one element. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Update web server to seperate call for KubeObject and KubeNamespace. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Fix import with goimports Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Reverting upgrade of webpack-dev-server so it's compatible with github workflow Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Run gofmt with correct version. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Bumping ubi-minimal:8.8 to 8.10 to fix some HIGH CVE severity detected by trivy. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Updating chaos_infrastructure mock to include KubeNamespace. Fix a comment Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Fix issue from Codacy Removing some unused code Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * 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 <calvinaudier@gmail.com> * Continue fix Codacy issue - Adding trailing comma - Re-ordering by alphabetic order some parameters Signed-off-by: Calvin Audier <calvinaudier@gmail.com> --------- Signed-off-by: Calvin Audier <calvinaudier@gmail.com> Signed-off-by: Calvinaud <calvinaudier@gmail.com> Co-authored-by: Namkyu Park <53862866+namkyu1999@users.noreply.github.com> Co-authored-by: Saranya Jena <saranya.jena@harness.io> Signed-off-by: andoriyaprashant <prashantandoriya@gmail.com>
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 <calvinaudier@gmail.com> * Update graphql server to include KubeNamespace call (model not generated) Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Update graphqls to include KubeNamespace model Update objectmodel and subscriber to incldue KubeNamespace Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Fix issue in graphqls and adding KubeNamespace type. Regenerating model with gqlgen. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * 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 <calvinaudier@gmail.com> * Add remaining function in k8s pkg and requests to return list of namespace Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Update graphql/subscriber to transform KubeObject to not be a array since subscriber will only return one element. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Update web server to seperate call for KubeObject and KubeNamespace. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Fix import with goimports Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Reverting upgrade of webpack-dev-server so it's compatible with github workflow Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Run gofmt with correct version. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Bumping ubi-minimal:8.8 to 8.10 to fix some HIGH CVE severity detected by trivy. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Updating chaos_infrastructure mock to include KubeNamespace. Fix a comment Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Fix issue from Codacy Removing some unused code Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * 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 <calvinaudier@gmail.com> * Continue fix Codacy issue - Adding trailing comma - Re-ordering by alphabetic order some parameters Signed-off-by: Calvin Audier <calvinaudier@gmail.com> --------- Signed-off-by: Calvin Audier <calvinaudier@gmail.com> Signed-off-by: Calvinaud <calvinaudier@gmail.com> Co-authored-by: Namkyu Park <53862866+namkyu1999@users.noreply.github.com> Co-authored-by: Saranya Jena <saranya.jena@harness.io> Signed-off-by: andoriyaprashant <prashantandoriya@gmail.com>
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 <calvinaudier@gmail.com> * Update graphql server to include KubeNamespace call (model not generated) Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Update graphqls to include KubeNamespace model Update objectmodel and subscriber to incldue KubeNamespace Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Fix issue in graphqls and adding KubeNamespace type. Regenerating model with gqlgen. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * 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 <calvinaudier@gmail.com> * Add remaining function in k8s pkg and requests to return list of namespace Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Update graphql/subscriber to transform KubeObject to not be a array since subscriber will only return one element. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Update web server to seperate call for KubeObject and KubeNamespace. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Fix import with goimports Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Reverting upgrade of webpack-dev-server so it's compatible with github workflow Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Run gofmt with correct version. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Bumping ubi-minimal:8.8 to 8.10 to fix some HIGH CVE severity detected by trivy. Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Updating chaos_infrastructure mock to include KubeNamespace. Fix a comment Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * Fix issue from Codacy Removing some unused code Signed-off-by: Calvin Audier <calvinaudier@gmail.com> * 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 <calvinaudier@gmail.com> * Continue fix Codacy issue - Adding trailing comma - Re-ordering by alphabetic order some parameters Signed-off-by: Calvin Audier <calvinaudier@gmail.com> --------- Signed-off-by: Calvin Audier <calvinaudier@gmail.com> Signed-off-by: Calvinaud <calvinaudier@gmail.com> Co-authored-by: Namkyu Park <53862866+namkyu1999@users.noreply.github.com> Co-authored-by: Saranya Jena <saranya.jena@harness.io> Signed-off-by: sagnik3788 <116512372+sagnik3788@users.noreply.github.com>
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: