mirror of
https://github.com/pawelmalak/flame.git
synced 2025-08-06 19:25:17 +02:00
fix: leave type optional
This commit is contained in:
parent
09739cb4e3
commit
aae95591de
1 changed files with 1 additions and 4 deletions
|
@ -39,10 +39,7 @@ const useKubernetes = async (apps) => {
|
||||||
url = "https://" + ingress.spec.tls[0].hosts[0];
|
url = "https://" + ingress.spec.tls[0].hosts[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if ('flame.pawelmalak/enabled' in annotations) {
|
||||||
'flame.pawelmalak/enabled' in annotations &&
|
|
||||||
/^app/.test(annotations['flame.pawelmalak/type'])
|
|
||||||
) {
|
|
||||||
kubernetesApps.push({
|
kubernetesApps.push({
|
||||||
name: annotations['flame.pawelmalak/name'] || name,
|
name: annotations['flame.pawelmalak/name'] || name,
|
||||||
url: annotations['flame.pawelmalak/url'] || url,
|
url: annotations['flame.pawelmalak/url'] || url,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue