Separate traefik config on CI system and this traefik config #6
Open
opened 2020-10-15 14:29:34 +00:00 by decentral1se
·
6 comments
No Branch/Tag Specified
master
forwarded-headers
renovate/traefik-3.x
adding-matrix-room
pgsql-port-open
access-log
anubis-metrics
trust-forward-header
large-uploads
anubis-log-level
compose.matrix
garage
chore-5.0.0+v3.6.10
feat-release-notes-next
add-onion-support
remove-default-timeout
feat-pull-request-template
improve-docs
anubis
sixsmith-v3-update-only
feature/irc
revert-logmaxAge
qbit
feature/v3
error-pages-again
metrics
basic-auth
error-messages-attempt
error-pages-attempt
minecraft
forward-auth-2
error-pages
rejig-compose-vars
self-signed
6.1.0+v3.7.10
6.0.0+v3.7.7
5.1.1+v3.6.15
5.1.0+v3.6.11
5.0.0+v3.6.10
4.0.0+v3.6.10
3.10.0+v3.6.7
3.9.0+v3.6.5
3.8.0+v3.6.5
3.7.0+v3.6.2
3.6.3+v3.4.5
3.6.2+v3.4.5
3.6.1+v3.4.5
3.6.0+v3.4.5
3.5.0+v3.4.5
3.4.2+v3.4.5
3.4.1+v3.4.5
3.4.0+v3.4.4
3.3.0+v2.11.26
3.2.0+v2.11.25
3.1.1+v2.11.25
3.1.0+v2.11.24
3.0.0+v2.11.22
2.10.0+v2.11.22
2.9.1+v2.11.14
3.1.0+v2.11.14
2.9.0+v2.11.14
2.8.0+v2.11.10
2.7.0+v2.11.8
3.0.0+v3.0.0
2.6.3+v2.11.2
2.6.2+v2.11.1
2.6.1+v2.11.0
2.6.0+v2.11.0
2.5.0+v2.11.0
2.4.3+v2.10.5
2.1.0+v2.9.9
2.4.2+v2.10.4
2.4.1+v2.10.3
2.4.0+v2.10.1
2.3.1+v2.10.2
2.3.0+v2.10.2
2.2.0+v2.10.2
2.2.0+v2.10.1
2.0.4+v2.9.6
2.0.3+v2.9.6
2.0.2+v2.9.5
2.0.0+v2.9.1
1.1.1+v2.8.1
1.1.0+v2.8.0
1.0.1+v2.5.6
1.0.0+v2.5.2
No labels
Milestone
No items
No Milestone
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
decentral1se (d1)
fauno (fauno)
javielico (Javielico)
jjsfunhouse
kawaiipunk (KawaiiPunk)
knoflook
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
renovate-bot (Comrade Renovate Bot)
simon
stevensting
trav (Trav Fryer)
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/traefik#6
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.
Since we need traefik to see apps on the CI box, our CI here can have errors and breakages when we change configs and don't bump the versions because the app never gets destroyed on the CI box. I think we said we'd figure this out later but didn't see a ticket for it. Maybe we need a separate traefik for the CI box to stand on its own and then to make this CI separate and more repeatable.
Indeed, thanks for opening this!
Any thoughts on where we run the Traefik CI that's not the testing box? Do we just need another one?
Question: what was your thought on auto-versioning secrets, and did it extend to configs? Seems the main issue we run into with CI is incrementing
TRAEFIK_YML_VERSIONwhich seems generally like a pointless step we might want to remove.Hey, good question. A lot of what I know about the name/secret versions comes from this post which also suggests the auto-versioning. You don't need to read all of it but they are basically suggesting something like this.
For secrets:
For configs:
Where the version is generated from the content which means that it will most likely also be unique. Not sure about reliability of
md5sumhere but it generates something small which is good because docker secret/config have limits on the character length of the name.Read the post, is amazing (the author's other stuff is cool too – interesting Python-based system for deploying app updates after image updates)
md5sumlooks cool and easy for configs -- wondering about secrets; would it meanabraneeds access to the plaintext tomd5sumit during each run?Good point. I guess we can't store plaintext because that would be $bad. Maybe we just ask for the passwords on deploy input flow and then sum them and save them into the swarm. Leaving the user to take care of managing their passwords? Not sure.
If people are using
passthen it's feasible to md5sum secrets too. Maybe we offer a fully-automatic mode like that forpass-wielders like ourselves, and a manual way as you suggest for the others?