-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
The deploy stage is a good start but there are some improvements needed to be useful for real deployments.
- Variable support for updating a manifest before deployment (perhaps adding gotmpl support and/or a regex)
- Deploy to different namespace (eg.
<basenamespace>-stagingor<basenamespace>-<commitid>). Regex/Variable support useful here too? - Image Tag handling - deploying the image built in an earlier stage. Another variable to be used in a template?
-
kubectl applysupport - updating existing resources in place
Perhaps it is easier to use kubectl directly for the stage instead of the API
A few of these ideas are coming from the GCE CD Jenkins example (https://github.com/GoogleCloudPlatform/continuous-deployment-on-kubernetes/blob/master/sample-app/Jenkinsfile#L39-L48)
Reactions are currently unavailable