Secure Jenkins CI/CD to VKE with Container Registry
Build a Jenkins pipeline that tests, scans and ships an image to your cluster with short-lived credentials, and refuses to deploy anything unsafe.
POINTS
Build a Jenkins pipeline that tests, scans and ships an image to your cluster with short-lived credentials, and refuses to deploy anything unsafe.
POINTS
A Jenkins-driven delivery pipeline you would trust with production: every step automated, every credential scoped, Jenkins itself locked down, and unsafe images stopped at the gate.
Starting point: you only need a Vultr account. This challenge is self-contained, so you can do it without having done any other.
Never print credentials in logs. Destroy Jenkins, the cluster, the registry and any credentials you created when you are done.
Jenkins running on Vultr over HTTPS
Declarative Jenkinsfile in the repo with test, build, scan, push and deploy stages
Images tagged by commit SHA
Vulnerability scan stage blocks unsafe images
Scoped or temporary credentials stored in Jenkins credentials
Jenkins hardened: no controller builds, authentication and roles enabled
Rollback demonstrated
Implement a CI/CD Pipeline with Jenkins and Vultr Kubernetes Engine
How to Use Vultr Container Registry with Vultr Kubernetes Engine and CI/CD Pipelines
How to Use IAM Roles for Vultr Container Registry Push/Pull Access
How Temporary Credentials Work Through Vultr Container Registry
How to Manage Credential Lifecycle and Expiration for Vultr Container Registry
How to Provision a Vultr Kubernetes Engine Cluster
Jenkins Pipeline documentation
Securing Jenkins