go build
docker build -t akankshakumari393/convalkontroller:0.0.1 .
docker push akankshakumari393/convalkontroller:0.0.1
openssl req -new -x509 -subj "/CN=convalkontroller.default.svc" -addext "subjectAltName = DNS:convalkontroller.default.svc" -nodes -newkey rsa:4096 -keyout ./manifests/certs/tls.key -out ./manifests/certs/tls.crt -days 365
kubectl create secret generic certs --from-file=manifests/certs/tls.crt --from-file=manifests/certs/tls.key
kubectl create clusterrole convalkon-role --verb=get --resource=deployments,configmaps
kubectl create clusterrolebinding convalkon-role-binding --clusterrole=convalkon-role --user=system:serviceaccount:default:default
# update the ca bundle with `certs` secret tls.crt data
kubectl create -f manifests/validating-webhook.yaml
kubectl create -f mainfests/deployment.yaml
kubectl create namespace {releaseNamespace}
helm install {releaseName} ./convalkontroller/ -n {releaseNamespace}
kubectl create -f https://raw.githubusercontent.com/akankshakumari393/depkon/master/manifests/depkon-cr.yaml