• 2 Posts
  • 968 Comments
Joined 2 years ago
cake
Cake day: July 7th, 2023

help-circle



  • Don’t pull containers from random sources then. If you’re working with a specific project, only pull from their official images.

    Pushed images are built and verified from the maintainers, then pushed. Then you pull, each layer is verified by hash that it is the same image as was originally pushed by the maintainers.

    Whether that project protects itself from supply chain attacks is a different story, but as far as ports go, you only expose what you tell it to expose. There’s no workaround for that.




  • There are numerous automated systems for this, and almost every platform you use will have their own. Infiscal doesn’t seem bad, but I haven’t used it.

    I always suggest engineers just use whatever is closest to their stacks instead of implementing something, UNLESS it’s going to cost a lot more money (looking at you, AWS).

    Bitwarden/Vaultwarden+BWcli is also another workaround if you’re just using it for small projects.

    Etcd can do value encryption, and Redia even, but you should really be looking at something that has solid RBAC, or ZTC rotation.










  • just_another_person@lemmy.worldtoSelfhosted@lemmy.worldVersion Dashboard
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    3
    ·
    16 days ago

    When using semantic versioning of anything, it’s an intention to run that specific version. AKA version pinning or locking. Meaning you DON’T want it automatically updating unless you do it manually.

    You especially don’t want this happening in a k8s cluster if you intend to run replicas with pulls enabled for obvious reasons.

    As for being notified of updates, there are some tools out there for this, but I believe they only check for pulling specific tags, or latest tag. The way container registries work wouldn’t make it obvious what exactly you’d want to update, because there is no concept of tag inheritance. This means if a new tag showed up in a repo, you wouldn’t know if it’s an update to your specific current version of aomething, or just another tag. They don’t work like packages in this sense.