Skip to content

Instantly share code, notes, and snippets.

@alexrecuenco
alexrecuenco / argocd-labeler-plugin.md
Created January 14, 2025 23:45 — forked from nimjor/argocd-labeler-plugin.md
ArgoCD labeler plugin via kustomize

ArgoCD Labeler Plugin

Ever wish you could pass some label to an ArgoCD application and have every child resource pick up that label? This is probably of most interest to cluster operators who may not directly control the contents of manifests deployed to their clusters via ArgoCD, but need a way to enforce some standard labeling scheme.

The solution? A simple ArgoCD plugin, easier to setup than you might think.

Write the plugin.yaml

@alexrecuenco
alexrecuenco / git-pushing-multiple.rst
Created February 29, 2020 05:01 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

@alexrecuenco
alexrecuenco / multiple_ssh_setting.md
Created January 18, 2019 14:56 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"