snp-technologies / lagoon

Docker Build and Deploy System for OpenShift & Kubernetes
Apache License 2.0
0 stars 0 forks source link

Helm chart for Varnish image deployment #11

Open snpdev opened 5 years ago

snpdev commented 5 years ago

This is a sub-issue of https://github.com/amazeeio/lagoon/issues/564#issue-350184516, bullet 7:

  1. Create more OpenShift Objects (Deployments, PVCs) based on the figured out services (happens in https://github.com/amazeeio/lagoon/blob/master/images/oc-build-deploy-dind/build-deploy-docker-compose.sh#L365-L495)

This issue specifically concerns the integration of Helm chart to deploy the Varnish image defined in https://github.com/snp-technologies/lagoon/tree/master/images/varnish.

snpdev commented 5 years ago

Here is we where we stand today. To the helm-integration branch, @siva2krish has committed:

You will notice that the Varnish image and tag variables are hard-coded, i.e. --set image.repository=dockerimages/docker-varnish --set image.tag=latest

Determination of the SERVICE_IMAGE value is not 100% clear to us, though it looks like https://github.com/snp-technologies/lagoon/blob/master/images/oc-build-deploy-dind/scripts/exec-openshift-resources-with-images.sh#L27-L29 holds the key.

snpdev commented 5 years ago

@Schnitzel;

@siva2krish pushed a new commit today, https://github.com/snp-technologies/lagoon/commit/43d7772d494f0305b5af7ed0ee01b46f4d1fc8a9.

Note:

Please review and then we can discuss next steps.

Thanks - Mike