apiVersion: v1
kind: Secret
metadata:
  name: trino-catalog
stringData:
  hive.properties: |
    connector.name=hive-hadoop2
    hive.metastore.uri=thrift://hive-metastore:9083
    hive.s3.endpoint=$(s3_endpoint_url_prefix)$(s3_endpoint_url)
    hive.s3.signer-type=S3SignerType
    hive.s3.path-style-access=true
    hive.s3.staging-directory=/tmp
    hive.non-managed-table-writes-enabled=true
    hive.non-managed-table-creates-enabled=true
    hive.s3.ssl.enabled=false
    hive.s3.sse.enabled=false
    hive.allow-drop-table=true
    hive.parquet.use-column-names=true
    hive.orc.use-column-names=true
    hive.recursive-directories=true
  postgresql-lpr.properties: |
    connector.name=postgresql
    connection-url=jdbc:postgresql://smartcity-db-service:5432/pgdb
    connection-user=dbadmin
    connection-password=dbpassword
  jmx.properties: |
    connector.name=jmx
