Skip to content

Conversation

@rossf7
Copy link
Contributor

@rossf7 rossf7 commented May 17, 2022

Towards #174

#k8s-sync = { path = "../rs-k8s-sync", optional = true }
k8s-openapi = { version = "0.13.0", features = ["v1_21"] }
#k8s-sync = { version = "0.2.3", optional = true }
k8s-sync = { git = "https://github.com/rossf7/rs-k8s-sync", branch = "fix/list-pods-options", optional = true }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

- name: KUBERNETES_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
Copy link
Contributor Author

Choose a reason for hiding this comment

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

..Default::default()
};
if !node_name.is_empty() {
list_options.field_selector = Some(&selector);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was the cleanest way I could see to set the field selector as it uses a &str but it's very possible I'm missing something :)

@xhejtman
Copy link

Any change to get this merged?

@bpetit
Copy link
Contributor

bpetit commented Sep 12, 2024

Due to the delay on my side this pr has merge conflicts. I'll put it on top of the pile to merge this in the next weeks.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

3 participants