Fixing the extra curly and also rplaceing the env proeperties that no longer exist
- name: JAVA_APP_DIR
value: /deployments
- name: JAVA_OPTIONS
- value: "-Djava.net.preferIPv4Stack=true -Duser.home=/tmp -Djava.net.preferIPv4Addresses=true -Dlog4j.logger.org.apache.http=DEBUG -Dkomodo.user={{.Syndesis.Spec.Components.Db.User}} -Dkomodo.password={{.Env.POSTGRESQL_PASSWORD}} -Dkomodo.connectionUrl=jdbc:{{.Env.POSTGRES_URL}} -Dkomodo.binaryStoreUrl=jdbc:{{.Env.POSTGRES_URL}} -Dkomodo.connectionDriver=org.postgresql.Driver"
+ value: "-Djava.net.preferIPv4Stack=true -Duser.home=/tmp -Djava.net.preferIPv4Addresses=true -Dlog4j.logger.org.apache.http=DEBUG -Dkomodo.user={{.Syndesis.Spec.Components.Db.User}} -Dkomodo.password={{.Env.POSTGRESQL_PASSWORD}} -Dkomodo.connectionUrl=jdbc:postgresql://syndesis-db:5432/syndesis?sslmode=disable -Dkomodo.binaryStoreUrl=jdbc:postgresql://syndesis-db:5432/syndesis?sslmode=disable -Dkomodo.connectionDriver=org.postgresql.Driver"
- name: NAMESPACE
valueFrom:
fieldRef:
value: {{.Syndesis.Spec.Components.Db.Database}}
- name: OPENSHIFT_MANAGEMENT_URL_FOR3SCALE
value: '{{.Syndesis.Spec.Components.Server.Features.ManagementUrlFor3scale}}'
-{{if .Syndesis.Spec.DevSupport}}}
+{{if .Syndesis.Spec.DevSupport}}
- name: JAVA_DEBUG
value: "true"
{{end}}
