Skip to content

Conversation

@TrafalgarZZZ
Copy link
Member

@TrafalgarZZZ TrafalgarZZZ commented Aug 21, 2024

Ⅰ. Describe what this PR does

Add annotation to whichever pod that is mutated by Fluid Webhook to indicate which datasets is mounted on that pod. For example, if a pod mounts two datasets "demo" and "demo2", the following will be injected:

annotations:
  fluid.io/datasets-in-use: demo,demo2

Ⅱ. Does this pull request fix one issue?

fixes #4286

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@TrafalgarZZZ TrafalgarZZZ force-pushed the feat/add_mounting_dataset_info_to_mutated_pod branch from fc69a81 to af28c42 Compare August 22, 2024 06:00
Copy link
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Aug 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
@TrafalgarZZZ TrafalgarZZZ force-pushed the feat/add_mounting_dataset_info_to_mutated_pod branch from 32c838b to 7ac658c Compare August 22, 2024 11:21
@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Aug 22, 2024

New changes are detected. LGTM label has been removed.

@fluid-e2e-bot fluid-e2e-bot bot removed the lgtm label Aug 22, 2024
@sonarqubecloud
Copy link

@cheyang cheyang merged commit cbd302c into fluid-cloudnative:master Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURES] Add annotations to pods to indicate which datasets are mounted

2 participants