# Default values for imxc.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
  repository: 10.10.31.243:5000/cmoa3/nginx
  tag: stable
  pullPolicy: IfNotPresent

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

serviceAccount:
  # Specifies whether a service account should be created
  create: true
  # The name of the service account to use.
  # If not set and create is true, a name is generated using the fullname template
  name:

podSecurityContext: {}
  # fsGroup: 2000

securityContext: {}
  # capabilities:
  #   drop:
  #   - ALL
  # readOnlyRootFilesystem: true
  # runAsNonRoot: true
  # runAsUser: 1000

service:
  type: ClusterIP
  port: 80

ingress:
  enabled: false
  annotations: {}
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
  hosts:
    - host: chart-example.local
      paths: []

  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.local

resources: {}
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  # limits:
  #   cpu: 100m
  #   memory: 128Mi
  # requests:
  #   cpu: 100m
  #   memory: 128Mi

nodeSelector: {}

tolerations: []

affinity: {}

global:
  IMXC_LDAP_USE: false
  IMXC_ADMIN_SERVER_DNS: imxc-admin-service
  AUDITLOG_PATH: /var/log
  KAFKA_IP: kafka-broker
  # 로드밸런서 안 쓴다고 가정했을때 입니다..
  KAFKA_INTERFACE_PORT: 9094
  APISERVER_NETTY_PORT: 10100
  #REGISTRY_URL: cdm-dev.exem-oss.org:5050
  #REGISTRY_URL: 10.10.31.243:5000/cmoa
  IMXC_ADMIN_SERVER_DNS: imxc-admin-service
  AGENT_IMAGE_TAG: rel0.0.0
  # Jaeger 관련변수
  JAEGER_AGENT_CLUSTERIP: 10.98.94.198
  JAEGER_JAVA_SPECIALAGENT_CLASSPATH: classpath:/install/opentracing-specialagent-1.7.4.jar
  # added by DongWoo Kim 2021-06-21
  KEYCLOAK_AUTH_SERVER_URL: http://111.111.111.111:31082/auth
  KEYCLOAK_RESOURCE: authorization_server
  KEYCLOAK_MASTER_USERNAME: admin 
  KEYCLOAK_MASTER_PASSWORD: admin
  IMXC_PORTAL_INFO_URL: 
  KEYCLOAK_REALM: exem
  # added by EunHye Kim 2021-08-25
  #DATAGATE_URLS: datagate
  #DATAGATE_IP: 111.111.111.111
  #DATAGATE_PORT: 14268
  DATAGATE_INSIDE_IP: datagate
  DATAGATE_INSIDE_PORT: 14268
  DATAGATE_OUTSIDE_IP: 111.111.111.111
  DATAGATE_OUTSIDE_PORT: 30051
  REDIS_URLS: redis-master
  REDIS_PORT: 6379
  REDIS_PASSWORD: dkagh1234!
  # added by DongWoo Kim 2021-08-31 (version of each module)
  DATAGATE_VERSION: rel0.0.0
  #ADMIN_SERVER_VERSION: v1.0.0
  #API_SERVER_VERSION: CLOUD-172
  API_SERVER_VERSION: rel0.0.0
  COLLECTOR_VERSION: rel0.0.0
  #release-3.3.0
  TOPOLOGY_AGENT_VERSION: rel0.0.0
  METRIC_COLLECTOR_VERSION: rel0.0.0
  #v1.0.0
  METRIC_AGENT_VERSION: rel0.0.0
  # spring cloud
  ZUUL_SERVER_VERSION: rel0.0.0  
  #CMOA-1269
  EUREKA_SERVER_VERSION: rel0.0.0
  AUTH_SERVER_VERSION: rel0.0.0
  NOTI_SERVER_VERSION: rel0.0.0
  KAFKA_STREAM_VERSION: rel0.0.0
  CMOA_MANUAL_VERSION: rel0.0.0
  KUBE_INFO_FLAT_VERSION: rel0.0.0
  KUBE_INFO_BATCH_VERSION: rel0.0.0
  KUBE_INFO_CONNECTOR_VERSION: rel0.0.0


  CMOA_MANUAL_PORT: 31090
  IMXC_UI_URL: 111.111.111.111


  # Keycloak
  #KEYCLOAK_VERSION: v1.0.0

  # 레지스트리 변수화 (Public Cloud 대비 / 아래 값 적절히 수정해서 사용할 것)
  #IMXC_REGISTRY: 10.10.31.243:5000
  IMXC_IN_REGISTRY: 10.10.31.243:5000/cmoa3


  # namespace 추가
  IMXC_NAMESPACE: imxc
  
  # ZUUL 8080으로 열어놓을것

  CMOA_ES_ID: elastic
  CMOA_ES_PW: elastic

  JDBC_KIND: 'postgres'
  JDBC_SERVER: 'postgres:5432'
  JDBC_DB: 'postgresdb'
  JDBC_USER: 'admin'
  JDBC_PWD: 'eorbahrhkswp'

  KAFKA_INPUT_TOPIC: 'kubernetes_info'

  TABLE_PREFIX: 'cmoa_'
  BLACK_LIST: 'cronjob_active,endpoint_base,endpoint_addresses,endpoint_notreadyaddresses,endpoint_ports,event_base,node_image,resourcequota_base,resourcequota_scopeselector'
  BLACK_LIST_FLAT: 'cronjob_active,endpoint_base,endpoint_addresses,endpoint_notreadyaddresses,endpoint_ports,event_base,node_image,resourcequota_base,resourcequota_scopeselector,storageclass_base,ingress_base'
  DELETE_HOUR: '15'
  BACKLOGIN: false
