# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
### Environment Variables that will be set on all 3 syncope docker containers (core, console, enduser)
syncopeEnvironment:
  dbUrl: jdbc:postgresql://postgres:5432/syncope?stringtype=unspecified
  dbUser: syncope
  dbPoolMax: 10
  dbPoolMin: 2
  coreScheme: http # valid values are http and https
  coreHost: syncope # Host that syncope will use to connect to core.  Needs to match .Values.syncopeConfig.name
  corePort: 8080
  userCreds: <YOURPASSWORD> # Needs to match the databaseEnvironment.pgPassword that was provided to the database
### Config Params for the syncope container (A.K.A. Core)
syncopeConfig:
  name: syncope
  replicas: 1
  repository: apache
  container: syncope
  tag: ${syncope.version}
  containerPort: 8080
  memoryLimit: 512Mi
  serviceType: ClusterIP
### Config Params for the syncope-console containers
syncopeConsoleConfig:
  name: syncope-console
  replicas: 1
  repository: apache
  container: syncope-console
  tag: ${syncope.version}
  containerPort: 8080
  memoryLimit: 512Mi
  serviceType: ClusterIP
### Config Params for the syncope-enduser containers
syncopeEndUserConfig:
  name: syncope-enduser
  replicas: 1
  repository: apache
  container: syncope-enduser
  tag: ${syncope.version}
  containerPort: 8080
  memoryLimit: 512Mi
  serviceType: ClusterIP
