1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-05 10:55:17 +02:00

fix: leave type optional

This commit is contained in:
Devin Buhl 2022-01-09 12:29:46 -05:00 committed by GitHub
parent 09739cb4e3
commit aae95591de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,10 +39,7 @@ const useKubernetes = async (apps) => {
url = "https://" + ingress.spec.tls[0].hosts[0];
}
if (
'flame.pawelmalak/enabled' in annotations &&
/^app/.test(annotations['flame.pawelmalak/type'])
) {
if ('flame.pawelmalak/enabled' in annotations) {
kubernetesApps.push({
name: annotations['flame.pawelmalak/name'] || name,
url: annotations['flame.pawelmalak/url'] || url,