Skip to content

Instantly share code, notes, and snippets.

View ale180192's full-sized avatar

Emanuel Alejandro Lujan Aldaba ale180192

View GitHub Profile
@DzeryCZ
DzeryCZ / ReadingHelmResources.md
Last active April 22, 2024 16:09
Decoding Helm3 resources in secrets

Helm 3 is storing description of it's releases in secrets. You can simply find them via

$ kubectl get secrets
NAME                                                TYPE                                  DATA   AGE
sh.helm.release.v1.wordpress.v1                     helm.sh/release.v1                    1      1h

If you want to get more info about the secret, you can try to describe the secret

$ kubectl describe secret sh.helm.release.v1.wordpress.v1
@ph3b
ph3b / example_group_create_or_update_request.json
Last active March 19, 2023 13:54
DRF - ManyToMany, intermediate model and custom save/update
// Assumes members already exist with id 1 and 2.
{
"name": "My group 1",
"members": [
{ "id": 1, "role": "Leader" },
{ "id": 2, "role": "Regular" }
]
}