#
#  Copyright 2019 WeBank
#
# Licensed 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.
apiVersion: v1
data:
  linkis.properties: |+
    #wds.linkis.test.mode=true
    wds.linkis.server.mybatis.datasource.url=${mysql.url}
    wds.linkis.server.mybatis.datasource.username=${mysql.username}
    wds.linkis.server.mybatis.datasource.password=${mysql.password}
    wds.linkis.log.clear=true
    wds.linkis.server.version=v1
    ##restful
    wds.linkis.server.restful.scan.packages=com.webank.wedatasphere.linkis.resourcemanager.restful
    ##mybatis
    wds.linkis.server.mybatis.mapperLocations=classpath:com/webank/wedatasphere/linkis/resourcemanager/dao/impl/*.xml
    wds.linkis.server.mybatis.typeAliasesPackage=com.webank.wedatasphere.linkis.resourcemanager.dao
    wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.linkis.resourcemanager.dao
    wds.linkis.yarn.rm.web.address=http://zt-hadoop.sit.ihomefnt.org:18088
    #hadoop.config.dir=

kind: ConfigMap
metadata:
  managedFields:
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:data:
        .: {}
        f:linkis-resourcemanager.properties: {}
    manager: kubectl
    operation: Update
  name: linkis-resourcemanager-config
  namespace: default

