Fix TLSInfo in Node specification
- `TLSInfo` is part of `Node.Description`, but was documented as a direct child of `Node` - `Node.TLSInfo` incorrectly was using the `SwarmSpec` type, instead of `TLSInfo` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
93e324e2a7
commit
b2de157a41
1 changed files with 15 additions and 15 deletions
|
@ -2086,7 +2086,7 @@ definitions:
|
||||||
Name:
|
Name:
|
||||||
type: "string"
|
type: "string"
|
||||||
TLSInfo:
|
TLSInfo:
|
||||||
$ref: "#/definitions/SwarmSpec"
|
$ref: "#/definitions/TLSInfo"
|
||||||
example:
|
example:
|
||||||
ID: "24ifsmvkjbyhk"
|
ID: "24ifsmvkjbyhk"
|
||||||
Version:
|
Version:
|
||||||
|
@ -2158,6 +2158,20 @@ definitions:
|
||||||
Name: "localhost:5000/vieux/sshfs:latest"
|
Name: "localhost:5000/vieux/sshfs:latest"
|
||||||
- Type: "Volume"
|
- Type: "Volume"
|
||||||
Name: "vieux/sshfs:latest"
|
Name: "vieux/sshfs:latest"
|
||||||
|
TLSInfo:
|
||||||
|
TrustRoot: |
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIBajCCARCgAwIBAgIUbYqrLSOSQHoxD8CwG6Bi2PJi9c8wCgYIKoZIzj0EAwIw
|
||||||
|
EzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwNDI0MjE0MzAwWhcNMzcwNDE5MjE0
|
||||||
|
MzAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH
|
||||||
|
A0IABJk/VyMPYdaqDXJb/VXh5n/1Yuv7iNrxV3Qb3l06XD46seovcDWs3IZNV1lf
|
||||||
|
3Skyr0ofcchipoiHkXBODojJydSjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB
|
||||||
|
Af8EBTADAQH/MB0GA1UdDgQWBBRUXxuRcnFjDfR/RIAUQab8ZV/n4jAKBggqhkjO
|
||||||
|
PQQDAgNIADBFAiAy+JTe6Uc3KyLCMiqGl2GyWGQqQDEcO3/YG36x7om65AIhAJvz
|
||||||
|
pxv6zFeVEkAEEkqIYi0omA9+CjanB/6Bz4n1uw8H
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
CertIssuerSubject: "MBMxETAPBgNVBAMTCHN3YXJtLWNh"
|
||||||
|
CertIssuerPublicKey: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmT9XIw9h1qoNclv9VeHmf/Vi6/uI2vFXdBveXTpcPjqx6i9wNazchk1XWV/dKTKvSh9xyGKmiIeRcE4OiMnJ1A=="
|
||||||
Status:
|
Status:
|
||||||
State: "ready"
|
State: "ready"
|
||||||
Addr: "172.17.0.2"
|
Addr: "172.17.0.2"
|
||||||
|
@ -2165,20 +2179,6 @@ definitions:
|
||||||
Leader: true
|
Leader: true
|
||||||
Reachability: "reachable"
|
Reachability: "reachable"
|
||||||
Addr: "172.17.0.2:2377"
|
Addr: "172.17.0.2:2377"
|
||||||
TLSInfo:
|
|
||||||
TrustRoot: |
|
|
||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIBajCCARCgAwIBAgIUbYqrLSOSQHoxD8CwG6Bi2PJi9c8wCgYIKoZIzj0EAwIw
|
|
||||||
EzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwNDI0MjE0MzAwWhcNMzcwNDE5MjE0
|
|
||||||
MzAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH
|
|
||||||
A0IABJk/VyMPYdaqDXJb/VXh5n/1Yuv7iNrxV3Qb3l06XD46seovcDWs3IZNV1lf
|
|
||||||
3Skyr0ofcchipoiHkXBODojJydSjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB
|
|
||||||
Af8EBTADAQH/MB0GA1UdDgQWBBRUXxuRcnFjDfR/RIAUQab8ZV/n4jAKBggqhkjO
|
|
||||||
PQQDAgNIADBFAiAy+JTe6Uc3KyLCMiqGl2GyWGQqQDEcO3/YG36x7om65AIhAJvz
|
|
||||||
pxv6zFeVEkAEEkqIYi0omA9+CjanB/6Bz4n1uw8H
|
|
||||||
-----END CERTIFICATE-----
|
|
||||||
CertIssuerSubject: "MBMxETAPBgNVBAMTCHN3YXJtLWNh"
|
|
||||||
CertIssuerPublicKey: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmT9XIw9h1qoNclv9VeHmf/Vi6/uI2vFXdBveXTpcPjqx6i9wNazchk1XWV/dKTKvSh9xyGKmiIeRcE4OiMnJ1A=="
|
|
||||||
|
|
||||||
TLSInfo:
|
TLSInfo:
|
||||||
description: "Information about the issuer of leaf TLS certificates and the trusted root CA certificate"
|
description: "Information about the issuer of leaf TLS certificates and the trusted root CA certificate"
|
||||||
|
|
Loading…
Reference in a new issue