Skip to content

kthcloud/cicd-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 kthcloud/cicd-manager

CI/CD Manager for kthcloud automatically restarts Kubernetes deployments when a new image is pushed to the registry.

🌐 API

POST /v1/hook

Webhook endpoint for pushed images

Params

  • cluster: The cluster to deploy to, 'sys', 'prod', 'dev'
  • namespace (optional): The namespace to deploy to

🔧 Usage

In order to use the CI/CD Manager, you need to create a Kubernetes secret called kthcloud-ci-token in the namespace you want to use it in. The secret should contain a base64 encoded token called token. The token is used to authenticate the webhook endpoint.

Once the webhook is triggered, every deployment in the namespace will restart if it uses the image that was pushed to the registry.

Example secret:

kind: Secret
apiVersion: v1
metadata:
  name: kthcloud-ci-token
  namespace: <your namespace>
data:
  token: <base64 encoded token>
type: Opaque

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published