Ver código fonte

Merge pull request #32430 from allencloud/add-hosts-example-for-serviceSpec-in-swagger-yml

add hosts example for serviceSpec in swagger.yml
Daniel Nephin 8 anos atrás
pai
commit
9fe781a333
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      api/swagger.yaml

+ 1 - 0
api/swagger.yaml

@@ -7509,6 +7509,7 @@ paths:
                             DriverConfig: {}
                             Labels:
                               com.example.something: "something-value"
+                      Hosts: ["10.10.10.10 host1", "ABCD:EF01:2345:6789:ABCD:EF01:2345:6789 host2"]
                       User: "33"
                       DNSConfig:
                         Nameservers: ["8.8.8.8"]