apiVersion: apps/v1
kind: Deployment
metadata:
  name: tidb-mgmt-portal
spec:
  template:
    spec:
      containers:
        - name: tidb-mgmt-portal
          volumeMounts:
            - name: tidb-mgmt-portal-config
              mountPath: /etc/tidb-mgmt-portal/config.yaml
              subPath: config.yaml
              readOnly: true
      volumes:
        - name: tidb-mgmt-portal-config
          configMap:
            name: tidb-mgmt-portal-config
