THIS IS ONLY A TEST INSTANCE. DON'T DO IMPORTANT WORK HERE!

Commit 79c1525d authored by Eugene Ivantsov's avatar Eugene Ivantsov
Browse files

Make Postgres and Keycloak images configurable

parent 85fa87f5
......@@ -27,7 +27,6 @@ import (
var (
keycloakName = "keycloak"
keycloakImage = "registry.access.redhat.com/redhat-sso-7/sso72-openshift:1.2-8"
trustpass = util.GeneratePasswd(12)
addCertToTrustStoreCommand = "keytool -importcert -alias HOSTDOMAIN" +
" -keystore /opt/eap/bin/openshift.jks" +
......
......@@ -57,7 +57,7 @@ func newPostgresDeployment() *appsv1.Deployment {
Containers: []corev1.Container{
{
Name: name,
Image: "registry.access.redhat.com/rhscl/postgresql-96-rhel7:1-25",
Image: postgresImage,
ImagePullPolicy: corev1.PullIfNotPresent,
Ports: []corev1.ContainerPort{
{
......
......@@ -68,7 +68,9 @@ var (
keycloakRealm = util.GetEnv("CHE_KEYCLOAK_REALM", cheFlavor)
keycloakClientId = util.GetEnv("CHE_KEYCLOAK_CLIENT__ID", cheFlavor+"-public")
cheImage = util.GetEnv("CHE_IMAGE", "eclipse/che-server:latest")
cheImage = util.GetEnv("CHE_IMAGE", "eclipse/che-server:latest")
postgresImage = util.GetEnv("POSTGRES_IMAGE", "registry.access.redhat.com/rhscl/postgresql-96-rhel7:1-25")
keycloakImage = util.GetEnv("KEYCLOAK_IMAGE", "registry.access.redhat.com/redhat-sso-7/sso72-openshift:1.2-8")
postgresLabels = map[string]string{"component": "postgres", "app": cheFlavor}
keycloakLabels = map[string]string{"component": "keycloak", "app": cheFlavor}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment