diff --git a/.github/scripts/render_schema.py b/.github/scripts/render_schema.py index d05b1c2..cd13800 100644 --- a/.github/scripts/render_schema.py +++ b/.github/scripts/render_schema.py @@ -35,7 +35,7 @@ SCHEMA_DIR = ROOT / "schema" INDEX_FIELDS = ["name", "description", "family", "dashboard", "image", "category", - "icon", "color", "admin_for", "admin_rank", "depends_on", + "icon", "color", "admin_for", "admin_rank", "suggest_for", "depends_on", "versions", "default_version", "env_role"] diff --git a/schema/2.yaml b/schema/2.yaml index 68af76f..49b0e85 100644 --- a/schema/2.yaml +++ b/schema/2.yaml @@ -21,6 +21,8 @@ changes: # about publishing a tree that means what it says rather than about safety. - path: admin_rank downgrade: drop + - path: suggest_for + downgrade: drop - path: dashboard_follows_color_scheme downgrade: drop - path: dashboard_login diff --git a/schema/2/services/index.json b/schema/2/services/index.json index 9c2be64..2e8e5f8 100644 --- a/schema/2/services/index.json +++ b/schema/2/services/index.json @@ -384,7 +384,10 @@ "image": "docker.io/axllent/spamassassin:3", "category": "mail", "icon": "mail", - "color": "#cc0000" + "color": "#cc0000", + "suggest_for": [ + "mailpit" + ] } ] } diff --git a/schema/2/services/spamassassin.yaml b/schema/2/services/spamassassin.yaml index 1e5bf12..56a84bf 100644 --- a/schema/2/services/spamassassin.yaml +++ b/schema/2/services/spamassassin.yaml @@ -9,3 +9,7 @@ family: spamassassin category: mail icon: mail color: "#cc0000" +# Mailpit is built into lerd, so its page offers this preset rather than the +# other way round. +suggest_for: + - mailpit