-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Cloud Security][Fleet] Deployment instructions update for CSP Integrations #155476
[Cloud Security][Fleet] Deployment instructions update for CSP Integrations #155476
Conversation
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.
looks we are heading in the right direction 👍
x-pack/plugins/fleet/public/components/agent_enrollment_flyout/index.tsx
Outdated
Show resolved
Hide resolved
…bana into fix-deployment-instructions
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
x-pack/plugins/fleet/public/components/agent_enrollment_flyout/hooks.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/fleet/public/components/agent_enrollment_flyout/hooks.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/fleet/public/components/enrollment_instructions/install_section.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/fleet/public/components/agent_enrollment_flyout/hooks.tsx
Outdated
Show resolved
Hide resolved
Pinging @elastic/fleet (Team:Fleet) |
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.
I left some comments to improve readability, I'll be happy to sync on the changes if needed
x-pack/plugins/fleet/public/components/agent_enrollment_flyout/types.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/fleet/public/components/enrollment_instructions/install_section.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/fleet/public/components/agent_enrollment_flyout/hooks.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/fleet/public/components/agent_enrollment_flyout/hooks.tsx
Outdated
Show resolved
Hide resolved
Looking good! Thanks for the changes. Once the build is fixed. I'll approve the PR. |
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.
LGTM from the Fleet side
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.
just one more change and also fix the CI
x-pack/plugins/fleet/public/components/agent_enrollment_flyout/index.tsx
Outdated
Show resolved
Hide resolved
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.
LGTM 🚀
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
Summary
This PR is for updating the Deployment instructions when trying to add agent to CSP integration.
Previously we were using isK8sPackage ref, but it seems to be very dedicated for kubernetes integration and this seems to be causing an issue when showing prompts such as the one listed on this ticket #151701
This PR created another function that handles this for CSP integration while not affecting how isK8sPackage affecting other integrations
TODO:
Definition of done
kspm
effect on showing the mentioned prompt abovekspm
is part of the agent policycloudbeat
doesn't support/suggest to use specific deployment (examples: using k8s deployment when runningcspm
or deployingcloudbeat
on darwin)