|
68 | 68 | - env
|
69 | 69 | type: object
|
70 | 70 | type: array
|
| 71 | + fileSecrets: |
| 72 | + description: Use secrets as files |
| 73 | + items: |
| 74 | + properties: |
| 75 | + mountPath: |
| 76 | + description: The path to mount the secret |
| 77 | + type: string |
| 78 | + secretRef: |
| 79 | + description: The secret object |
| 80 | + properties: |
| 81 | + defaultMode: |
| 82 | + description: 'defaultMode is Optional: mode bits used to |
| 83 | + set permissions on created files by default. Must be an |
| 84 | + octal value between 0000 and 0777 or a decimal value between |
| 85 | + 0 and 511. YAML accepts both octal and decimal values, |
| 86 | + JSON requires decimal values for mode bits. Defaults to |
| 87 | + 0644. Directories within the path are not affected by |
| 88 | + this setting. This might be in conflict with other options |
| 89 | + that affect the file mode, like fsGroup, and the result |
| 90 | + can be other mode bits set.' |
| 91 | + format: int32 |
| 92 | + type: integer |
| 93 | + items: |
| 94 | + description: items If unspecified, each key-value pair in |
| 95 | + the Data field of the referenced Secret will be projected |
| 96 | + into the volume as a file whose name is the key and content |
| 97 | + is the value. If specified, the listed keys will be projected |
| 98 | + into the specified paths, and unlisted keys will not be |
| 99 | + present. If a key is specified which is not present in |
| 100 | + the Secret, the volume setup will error unless it is marked |
| 101 | + optional. Paths must be relative and may not contain the |
| 102 | + '..' path or start with '..'. |
| 103 | + items: |
| 104 | + description: Maps a string key to a path within a volume. |
| 105 | + properties: |
| 106 | + key: |
| 107 | + description: key is the key to project. |
| 108 | + type: string |
| 109 | + mode: |
| 110 | + description: 'mode is Optional: mode bits used to |
| 111 | + set permissions on this file. Must be an octal value |
| 112 | + between 0000 and 0777 or a decimal value between |
| 113 | + 0 and 511. YAML accepts both octal and decimal values, |
| 114 | + JSON requires decimal values for mode bits. If not |
| 115 | + specified, the volume defaultMode will be used. |
| 116 | + This might be in conflict with other options that |
| 117 | + affect the file mode, like fsGroup, and the result |
| 118 | + can be other mode bits set.' |
| 119 | + format: int32 |
| 120 | + type: integer |
| 121 | + path: |
| 122 | + description: path is the relative path of the file |
| 123 | + to map the key to. May not be an absolute path. |
| 124 | + May not contain the path element '..'. May not start |
| 125 | + with the string '..'. |
| 126 | + type: string |
| 127 | + required: |
| 128 | + - key |
| 129 | + - path |
| 130 | + type: object |
| 131 | + type: array |
| 132 | + optional: |
| 133 | + description: optional field specify whether the Secret or |
| 134 | + its keys must be defined |
| 135 | + type: boolean |
| 136 | + secretName: |
| 137 | + description: 'secretName is the name of the secret in the |
| 138 | + pod''s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret' |
| 139 | + type: string |
| 140 | + type: object |
| 141 | + required: |
| 142 | + - mountPath |
| 143 | + type: object |
| 144 | + type: array |
71 | 145 | genArgs:
|
72 | 146 | description: Map to `--gen_kwargs` parameter for the underlying library.
|
73 | 147 | items:
|
|
0 commit comments