8000 fix(discovery): handle nullable object fields in k8s endpoints objects (backport #914) by mergify[bot] · Pull Request #915 · cryostatio/cryostat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(discovery): handle nullable object fields in k8s endpoints objects (backport #914) #915

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

mergify[bot]
Copy link
@mergify mergify bot commented May 14, 2025

Welcome to Cryostat! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed all commits using a GPG signature

To recreate commits with GPG signature git fetch upstream && git rebase --force --gpg-sign upstream/main


Fixes #905
See #910

Description of the change:

This change allows an environment variable to be configured so that...

Motivation for the change:

This change is helpful because users may want to...

How to manually test:

  1. Set up k8s/OpenShift cluster
  2. oc project default or the k8s equivalent
  3. $ helm install --set core.image.repository=quay.io/andrewazores/cryostat --set core.image.tag=k8s-disc-null-1 --set core.route.enabled=true --set core.discovery.kubernetes.enabled=true cryostat ./charts/cryostat, or build and use your own image
  4. Deploy a discoverable target application in the default namespace alongside Cryostat, ex. using the Cryostat Operator make sample_app
  5. Wait for everything to come up Ready, then open the Cryostat UI and go to Topology. The sample application should be discovered.
  6. Check the Cryostat Pod logs for the Cryostat container and ensure there are no discovery exceptions like in [Bug] KubeApiDiscovery Failed to synchronize Endpoints in namespace default #905
  7. $ helm uninstall cryostat, then re-install using a vanilla image. Repeat the steps and observe the discovery exception

This is an automatic backport of pull request #914 done by [Mergify](https://mergify.com).

@andrewazores
Copy link
Member

/build_test

Copy link

Workflow started at 5/14/2025, 11:36:19 AM. View Actions Run.

Copy link

No OpenAPI schema changes detected.

Copy link

No GraphQL schema changes detected.

Copy link

CI build and push: All tests pass ✅
https://github.com/cryostatio/cryostat/actions/runs/15024967140

@andrewazores andrewazores merged commit 4a413de into cryostat-v4.0 May 14, 2025
15 of 16 checks passed
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.

1 participant
0