Skip to content

Commit 8404327

Browse files
Merge pull request #758 from jasonnovichRunAI/RUN-14761-ConfigMap-data-source-controlled-by-policies
RUN-14761-ConfigMap-data-source-controlled-by-policies
2 parents 7298a40 + d4d545f commit 8404327

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/snippets/snippets-policies.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The `defaults` section of the policy file is...
1818
| `pvc` | `object` or `null` | PVC definitions. |
1919
| `git` | `object` or `null` | Git repository definitions. |
2020
| `s3` | `object` or `null` | S3 resource definitions. |
21+
| `configmap` | `object` or `null` | ConfigMap definitions. |
2122
| `imposedAssets` | `object` or `null` | A list of asset to be imposed on the workloads created in org units affected by this policy. |
2223

2324
#### Environment Fields
@@ -168,6 +169,13 @@ The `defaults` section of the policy file is...
168169
| `accessKeyAssetId` | `string`<uuid> or `null` non-empty | ID of credentials asset of type access-key, for private S3 buckets. |
169170
| `url` | `string` or `null` non-empty | The url of the S3 service provider. The default is the URL of the Amazon AWS S3 service. |
170171

172+
#### ConfigMap Resource Description Fields
173+
174+
|Field | Type | Description |
175+
| -- | -- | --|
176+
|`json:"configMap"` | `string` | The name of the ConfigMap. ConfigMap is mandatory for creating a workspace. |
177+
|`json:"mountPath"` | `string` | Local path within the workspace to which the ConfigMap will be mapped. ClaimName is mandatory for creating a workspace. |
178+
171179
#### Workspace
172180

173181
|Field | Type | Description |

0 commit comments

Comments
 (0)