mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
k8s: Support app ingress annotation (#2198)
This commit is contained in:
parent
b8eda91005
commit
4248db7f21
4 changed files with 4 additions and 3 deletions
|
@ -237,7 +237,7 @@ export async function servicesFromKubernetes() {
|
|||
)
|
||||
.map((ingress) => {
|
||||
let constructedService = {
|
||||
app: ingress.metadata.name,
|
||||
app: ingress.metadata.annotations[`${ANNOTATION_BASE}/app`] || ingress.metadata.name,
|
||||
namespace: ingress.metadata.namespace,
|
||||
href: ingress.metadata.annotations[`${ANNOTATION_BASE}/href`] || getUrlFromIngress(ingress),
|
||||
name: ingress.metadata.annotations[`${ANNOTATION_BASE}/name`] || ingress.metadata.name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue