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

frontend: Add crosslinks from CR additional printercolumns to secrets #2281

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Guilamb
Copy link
Contributor

@Guilamb Guilamb commented Aug 29, 2024

If the additional printer column of a CRD contains the "secret" keyword, then display an hyperlink to the secret page in the same namespace.
Fix #2278
Signed-off-by: guilhane [email protected]

@Guilamb Guilamb changed the title Add crosslinks from CR additional printercolumns to secrets frontend: Add crosslinks from CR additional printercolumns to secrets Aug 29, 2024
Copy link
Collaborator

@illume illume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Guilamb, I appreciate it. We can take this PR over from here.

It looks like to keep the CI happy these stories should have a state added for the secret so there is a link:

  • headlamp/frontend/src/components/crd/CustomResourceList.stories.tsx
  • headlamp/frontend/src/components/crd/CustomResource.stories.tsx

To generate the snapshots again... npm run test -- -u

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.

Display crosslinks from CR additional printercolumns to secrets
2 participants