# Source: teleport-cluster/templates/config.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: teleport
data:
  teleport.yaml: |
    teleport:
      log:
        severity: INFO
        output: stderr
    auth_service:
      enabled: true
      cluster_name: teleport.standalone.svc.cluster.local
      authentication:
        type: local
        second_factor: off
    kubernetes_service:
      enabled: false
      listen_addr: 0.0.0.0:3027
      kube_cluster_name: teleport.standalone.svc.cluster.local
    proxy_service:
      public_addr: 'teleport.standalone.svc.cluster.local:443'
      kube_listen_addr: 0.0.0.0:3026
      mysql_listen_addr: 0.0.0.0:3036
      enabled: true
    ssh_service:
      enabled: false
    db_service:
      enabled: "yes"
      databases:
      - name: "mysql-01"
        description: "Self-Hosted MySQL"
        protocol: "mysql"
        uri: "teleport-db-mysql.dev.svc.cluster.local:3306"
        static_labels:
          account: abcd-dev
          owner: team-abcd
          env: dev
      - name: "mongodb-01"
        description: "Self-Hosted MongoDB"
        protocol: "mongodb"
        uri: "mongodb://mongodb-standalone-0.database.default.svc.cluster.local:27017"
        static_labels:
          account: deaf-dev
          owner: team-deaf
          env: dev
