Global template for labels when/if we move to caddy #428
Closed
opened 2023-02-28 20:35:48 +00:00 by codegod100
·
7 comments
Labels
Clear labels
abra
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
design
documentation
duplicate
enhancement
fedi
fedi-infra
finance
funding
good first issue
help wanted
installer
legal
performance
proposal
question
security
test
wontfix
Everything to do with abra
Ping/pong on comms
Something is not working
Go build related issues
Getting the robots into the mix
Opening this thing up
Contributors stuff
Our main website
Design thinking required
Let's write things together
This issue or pull request already exists
New feature
Democratic decision making
Money things
Anything related to grant funding
Easy start with development
Need some help
Installation related issues
Performance related
Large change which requires feedback & decisin making
More information is needed
Securing our shit
Unit or integration test suite
This won't be fixed
No labels
enhancement
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#428
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
It's kinda annoying to put the traefik labels in all the recipes e.g.
Maybe inherit from a common source when we switch over? Just an idea I'm putting out there.
Yeh would be nice to DRY-ify this labels situation.
These could be programmatically appended into the labels at runtime by
abra? It could actually maybe work, I'm not sure. It might create a situation where we need to make anabrarelease to support some new recipe release? But some of these labels are just pure boilerplate and we could create.envpluggable values to thread in?Thanks for the suggestion @codegod100! 🙏
I agree with not-repeating-ourselves in general.
It does feel like there's a balance in this specific situation between reducing duplication, and preserving the ability for Co-op Cloud recipes to be used without abra – if we remove the reverse proxy labels, then we reduce the number of people who could use recipes without abra from "possibly some" (whoever is using Traefik, and happy to accept our conventions about env variable naming) to "definitely none" (because they'd have to fork the recipe to add labels, every time).
Also, this might be affected by whatever we decide on #388, and whether there would more labels we'd need to add to do so – if it continues to be 3 lines (down from the current 10), it seems a lot more bearable to keep them in the recipes.
- "coop-cloud.${STACK_NAME}.version=0.1.0+2.1.1"For completeness - this isn't a Traefik label, I'm pretty sure we need to keep it regardless.
"It does feel like there's a balance in this specific situation between reducing duplication, and preserving the ability for Co-op Cloud recipes to be used without abra"
Why would someone use coop cloud and not abra?
Oh yeh, how did I forget this... gotta document this recipe Prime Directive 😄
Here's one set of reasons! https://cgalo.dev/pages/from-coop-cloud-to-plain-docker-swarm/
Personally, it's also a project goal to try and make the constituent pieces of Co-op Cloud useful even if the wheels fall off the project as a whole. (This goal is less of a priority the more time that goes on that we continue existing, but it's still present)
Btw the approach in https://docs.coopcloud.tech/operators/handbook/#proxying-apps-outside-of-co-op-cloud-with-traefik shows that we could probably drop all labels from the compose configurations and generate
/etc/traefik/file-providers/...configurations instead. I'm not suggesting we do that atm as I haven't really thought through it but it might be something to experiment or try out if you're prototyping over here.Pushed https://docs.coopcloud.tech/abra/design/. I guess we're settling on "appropriate levels of copy/pasta atm". Gonna close off for now, please re-open if you have more for it. Thanks for weighing in.