mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Fix: dont ignore empty string for kubernetes podSelector (#2372)
This commit is contained in:
parent
c2729e302d
commit
6b35443100
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ export async function servicesFromKubernetes() {
|
|||
constructedService.external =
|
||||
String(ingress.metadata.annotations[`${ANNOTATION_BASE}/external`]).toLowerCase() === "true";
|
||||
}
|
||||
if (ingress.metadata.annotations[`${ANNOTATION_BASE}/pod-selector`]) {
|
||||
if (ingress.metadata.annotations[`${ANNOTATION_BASE}/pod-selector`] !== undefined) {
|
||||
constructedService.podSelector = ingress.metadata.annotations[`${ANNOTATION_BASE}/pod-selector`];
|
||||
}
|
||||
if (ingress.metadata.annotations[`${ANNOTATION_BASE}/ping`]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue