slime-io / slime

An intelligent ServiceMesh manager based on Istio
https://slime-io.github.io/
Other
426 stars 78 forks source link

meshreg: nacos source support security access #289

Closed believening closed 1 year ago

believening commented 1 year ago

meshregistry nacos source add new configuration Username and Password to access nacos server using authentication.

usage:

apiVersion: v1
data:
  cfg: |
    bundle:
      modules:
      - name: meshregistry
        kind: meshregistry
    enable: true
  cfg_meshregistry: |
    name: meshregistry
    kind: meshregistry
    enable: true
    mode: BundleItem
    general:
      LEGACY:
        MeshConfigFile: ""
        RevCrds: ""
        Mcp:
          EnableIncPush: false
        NacosSource:
          Enabled: true
          Address:
          - "http://nacos-0.nacos-headless.default:8848"
          - "http://nacos-1.nacos-headless.default:8848"
          - "http://nacos-2.nacos-headless.default:8848"
          Mode: polling
          Username: nacos
          Password: nacos