The build step of the chart relies on OpenShift-specific resources (BuildConfig & ImageStream) that are not available on a Vanilla Kubernetes.
This step can be disabled with build.enabled: false but we should also make sure to require that these types of resources exist when we install the chart.
The deploy step should be able to work on Kubernetes but is not able at the movement:
It uses a DeploymentConfig which is an OpenShift type and should be replaced by a Deployment that is supported on Kubernetes
The deployment will pull the application image based on the values of image.name and image.tag. It relies on the creation of an imagestream in the build step but we should be able to specify that the application image is deployed from a Docker image (and not an ImageStreamTag). For consistency, the build step should be able to push the application image to a Docker registry rather than in an image streams. This will require 2 new parameters:
build.output.kind - defaults to ImageStreamTag but can be DockerImage
build.pushSecret - a secret that is used to push the built image
The build step of the chart relies on OpenShift-specific resources (
BuildConfig
&ImageStream
) that are not available on a Vanilla Kubernetes. This step can be disabled withbuild.enabled: false
but we should also make sure to require that these types of resources exist when we install the chart.The deploy step should be able to work on Kubernetes but is not able at the movement:
It uses a
DeploymentConfig
which is an OpenShift type and should be replaced by aDeployment
that is supported on KubernetesThe deployment will pull the application image based on the values of
image.name
andimage.tag
. It relies on the creation of an imagestream in the build step but we should be able to specify that the application image is deployed from a Docker image (and not an ImageStreamTag). For consistency, the build step should be able to push the application image to a Docker registry rather than in an image streams. This will require 2 new parameters:build.output.kind
- defaults toImageStreamTag
but can beDockerImage
build.pushSecret
- a secret that is used to push the built image