github.com/noisysockets/noisysockets@v0.21.2-0.20240515114641-7f467e651c90/config/testdata/migrated_v1alpha1.yaml (about)

     1  apiVersion: noisysockets.github.com/v1alpha2
     2  kind: Config
     3  listenPort: 12346
     4  privateKey: SFN1gntnAutVFefwrPDlM1W2/LGWaRSn2hq06TvL2GY=
     5  ips:
     6  - 10.7.0.2
     7  routes:
     8  - destination: 192.168.0.0/24
     9    via: gateway
    10  dns:
    11    nameservers:
    12    - 10.7.0.1
    13  peers:
    14  - name: server
    15    publicKey: 6cvvZyj+EVL4DHjUKeVF7EUBfgR2mJO4php2Gdv9FVw=
    16    endpoint: 127.0.0.1:12345
    17    ips:
    18    - 10.7.0.1
    19  - name: gateway
    20    publicKey: aVHVSvdp1s9Cmw1r7XJgBSjXsSMpXdsskiuwPVYUdCk=
    21    endpoint: 127.0.0.1:12346