mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-23 14:25:19 +01:00
Fix: dont ignore empty string for kubernetes podSelector (#2372)
This commit is contained in:
parent
c2729e302d
commit
6b35443100
@ -257,7 +257,7 @@ export async function servicesFromKubernetes() {
|
|||||||
constructedService.external =
|
constructedService.external =
|
||||||
String(ingress.metadata.annotations[`${ANNOTATION_BASE}/external`]).toLowerCase() === "true";
|
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`];
|
constructedService.podSelector = ingress.metadata.annotations[`${ANNOTATION_BASE}/pod-selector`];
|
||||||
}
|
}
|
||||||
if (ingress.metadata.annotations[`${ANNOTATION_BASE}/ping`]) {
|
if (ingress.metadata.annotations[`${ANNOTATION_BASE}/ping`]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user