Add missing Secrets in Swagger docs
(cherry picked from commit cf8408106d181e8c31e006d6bb80d5f44ce8f81e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -1894,6 +1894,38 @@ definitions: |
| 1894 | 1894 |
type: "array" |
| 1895 | 1895 |
items: |
| 1896 | 1896 |
type: "string" |
| 1897 |
+ Secrets: |
|
| 1898 |
+ description: "Secrets contains references to zero or more secrets that will be exposed to the service." |
|
| 1899 |
+ type: "array" |
|
| 1900 |
+ items: |
|
| 1901 |
+ type: "object" |
|
| 1902 |
+ properties: |
|
| 1903 |
+ File: |
|
| 1904 |
+ description: "File represents a specific target that is backed by a file." |
|
| 1905 |
+ type: "object" |
|
| 1906 |
+ properties: |
|
| 1907 |
+ Name: |
|
| 1908 |
+ description: "Name represents the final filename in the filesystem." |
|
| 1909 |
+ type: "string" |
|
| 1910 |
+ UID: |
|
| 1911 |
+ description: "UID represents the file UID." |
|
| 1912 |
+ type: "string" |
|
| 1913 |
+ GID: |
|
| 1914 |
+ description: "GID represents the file GID." |
|
| 1915 |
+ type: "string" |
|
| 1916 |
+ Mode: |
|
| 1917 |
+ description: "Mode represents the FileMode of the file." |
|
| 1918 |
+ type: "integer" |
|
| 1919 |
+ format: "uint32" |
|
| 1920 |
+ SecretID: |
|
| 1921 |
+ description: "SecretID represents the ID of the specific secret that we're referencing." |
|
| 1922 |
+ type: "string" |
|
| 1923 |
+ SecretName: |
|
| 1924 |
+ description: | |
|
| 1925 |
+ SecretName is the name of the secret that this references, but this is just provided for |
|
| 1926 |
+ lookup/display purposes. The secret in the reference will be identified by its ID. |
|
| 1927 |
+ type: "string" |
|
| 1928 |
+ |
|
| 1897 | 1929 |
Resources: |
| 1898 | 1930 |
description: "Resource requirements which apply to each individual container created as part of the service." |
| 1899 | 1931 |
type: "object" |