Skip to content

Commit

Permalink
put database service name in so sonarqube will actually deploy (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarney8 authored and oybed committed Apr 19, 2019
1 parent 4e9da1b commit 9f719f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sonarqube/.applier/group_vars/seed-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ build:
SOURCE_REPOSITORY_REF: master
SOURCE_CONTEXT_DIR: "{{ app_name }}"
postgresql:
DATABASE_SERVICE_NAME: sonardb
POSTGRESQL_DATABASE: sonar
VOLUME_CAPACITY: 5
POSTGRESQL_PASSWORD: sonar
POSTGRESQL_USER: sonar
deploy:
POSTGRES_DATABASE_NAME: "{{ postgresql.POSTGRESQL_DATABASE }}"


openshift_cluster_content:
- object: Environment Setup
content:
Expand Down Expand Up @@ -49,4 +49,4 @@ openshift_cluster_content:
namespace: "{{ namespace }}"
tags:
- deploy
- deploy-postgresql
- deploy-postgresql
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ metadata:
name: "sonarqube"
objects:
- apiVersion: v1
kind: Secret
stringData:
password: ${SONAR_LDAP_BIND_PASSWORD}
username: ${SONAR_LDAP_BIND_DN}
kind: Secret
metadata:
name: sonar-ldap-bind-dn
type: kubernetes.io/basic-auth
Expand Down Expand Up @@ -271,4 +271,4 @@ parameters:
- name: SONAR_LDAP_CONTEXTFACTORY
description: The ContextFactory implementation to be used when communicating with the LDAP server
displayName: LDAP Context Factory
value: com.sun.jndi.ldap.LdapCtxFactory
value: com.sun.jndi.ldap.LdapCtxFactory

0 comments on commit 9f719f6

Please sign in to comment.