Sign inSign up

2xnone/deployer

By 2xnone

•Updated about 2 years ago

Update k8s manifest and commit changes

Image
Developer tools
0

2.2K

2xnone/deployer repository overview

⁠Deployer - update k8s manifest and commit changes

This is ment to be part of CD proccess. Will update k8s manifest in local repo with selected key-value and push changes to remote (where ArgoCD/Flux/other gitops will deploy) Using DEPLOY_KEY will pull target repo

⁠Usage

⁠Args

-f -- file to be changed and commited

-k -- (key) - yaml path in -f(ile) to be changed

-v -- (value) - new values to be set for -k(ey)

⁠Environment variables
  • DEPLOY_KEY -- plain ssh key to be used to commit

⁠Examples

⁠Argo Workflows

⁠Tests

./deployer.sh -f tests/test.yaml -k '.global.tag' -v testing

⁠TODO

  • Option to pull repo
  • Set to which branch changes should be pushed
  • create PR

Tag summary

Content type

Image

Digest

sha256:2290b28d1…

Size

87.3 MB

Last updated

about 2 years ago

docker pull 2xnone/deployer