Closed jaideepr97 closed 4 years ago
Could you provide a full sample command which has worked ?
./bin/kodo deploy --image=openshift/hello-openshift:latest --replicas=10 --port=80 --token=mpBBtlY8vQgCJWD1TOdCRU6LNfIQJDUPcEoXjkFrfyg --server=https://api.dev-svc-4.4-061813.devcluster.openshift.com:6443 --namespace=jaideep-test-june-18
^ should be in the description.
updated description
Fixes #11
Summary
Allow a kodo user to deploy an image to an OpenShift cluster, with namespace awareness
Technical changes
List of changes in this PR
created structs for environment variables and deployment related variables instead of using global variables - and passed references to them
added new flags for --image, --port, --replicas
added deploy functionality in deploy.go
Included error handling wherever required and addressed comments raised in previous PR
Included namespace filtering while retrieving list of pods and creating deployment
Other minor changes pointed out in the previous PR