You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/snippets/snippets-policies.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ The `defaults` section of the policy file is...
18
18
|`pvc`|`object` or `null`| PVC definitions. |
19
19
|`git`|`object` or `null`| Git repository definitions. |
20
20
|`s3`|`object` or `null`| S3 resource definitions. |
21
+
|`configmap`|`object` or `null`| ConfigMap definitions. |
21
22
|`imposedAssets`|`object` or `null`| A list of asset to be imposed on the workloads created in org units affected by this policy. |
22
23
23
24
#### Environment Fields
@@ -168,6 +169,13 @@ The `defaults` section of the policy file is...
168
169
|`accessKeyAssetId`|`string`<uuid> or `null` non-empty | ID of credentials asset of type access-key, for private S3 buckets. |
169
170
|`url`|`string` or `null` non-empty | The url of the S3 service provider. The default is the URL of the Amazon AWS S3 service. |
170
171
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. |
0 commit comments