Skip to content

Commit

Permalink
feat: nitroso platform
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Dec 20, 2023
1 parent f3b781d commit f9c27f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
17 changes: 9 additions & 8 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ Chart to install AtomiCloud's Cluster Policies
| landscape | string | `"lapras"` | |
| platforms[0] | string | `"sulfoxide"` | |
| platforms[1] | string | `"sulfone"` | |
| platforms[2] | string | `"amide"` | |
| platforms[3] | string | `"alkene"` | |
| platforms[4] | string | `"carboxlic-acid"` | |
| policies | object | `{"checkLandscapeAnnotation":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]},"value":"lapras"},"checkLandscapeLabel":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]},"value":"lapras"},"checkLayerAnnotation":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"checkLayerLabel":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"checkPlatformAnnotation":{"acceptedValues":["sulfoxide","sulfone","amide","alkene","carboxlic-acid"],"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"checkPlatformLabel":{"acceptedValues":["sulfoxide","sulfone","amide","alkene","carboxlic-acid"],"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"disableCriSockMount":{"enable":true,"exclude":{}},"disallowEmptyIngress":{"enable":true,"exclude":{}},"disallowLatestTag":{"enable":true,"exclude":{}},"disallowNodePorts":{"enable":true,"exclude":{}},"requireAtomiCloudAnnotations":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"requireAtomiCloudLabels":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"requireRequestLimits":{"enable":true,"exclude":{"names":["*-target-allocator-targetallocator-*"]}}}` | Configure Policies |
| platforms[2] | string | `"nitroso"` | |
| platforms[3] | string | `"amide"` | |
| platforms[4] | string | `"alkene"` | |
| platforms[5] | string | `"carboxlic-acid"` | |
| policies | object | `{"checkLandscapeAnnotation":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]},"value":"lapras"},"checkLandscapeLabel":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]},"value":"lapras"},"checkLayerAnnotation":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"checkLayerLabel":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"checkPlatformAnnotation":{"acceptedValues":["sulfoxide","sulfone","nitroso","amide","alkene","carboxlic-acid"],"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"checkPlatformLabel":{"acceptedValues":["sulfoxide","sulfone","nitroso","amide","alkene","carboxlic-acid"],"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"disableCriSockMount":{"enable":true,"exclude":{}},"disallowEmptyIngress":{"enable":true,"exclude":{}},"disallowLatestTag":{"enable":true,"exclude":{}},"disallowNodePorts":{"enable":true,"exclude":{}},"requireAtomiCloudAnnotations":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"requireAtomiCloudLabels":{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}},"requireRequestLimits":{"enable":true,"exclude":{"names":["*-target-allocator-targetallocator-*"]}}}` | Configure Policies |
| policies.checkLandscapeAnnotation | object | `{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]},"value":"lapras"}` | Check if landscape annotation (atomi.cloud/landscape) value is correct |
| policies.checkLandscapeAnnotation.enable | bool | `true` | Enable this policy |
| policies.checkLandscapeAnnotation.exclude | object | `{"names":["*-cleanup-controller-*"]}` | Exclusion rules |
Expand All @@ -39,12 +40,12 @@ Chart to install AtomiCloud's Cluster Policies
| policies.checkLayerLabel | object | `{"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}}` | Check if layer label (atomi.cloud/layer) value is between 0 - 2 |
| policies.checkLayerLabel.enable | bool | `true` | Enable this policy |
| policies.checkLayerLabel.exclude | object | `{"names":["*-cleanup-controller-*"]}` | Exclusion rules |
| policies.checkPlatformAnnotation | object | `{"acceptedValues":["sulfoxide","sulfone","amide","alkene","carboxlic-acid"],"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}}` | Check if platform annotation (atomi.cloud/platform) value is correct |
| policies.checkPlatformAnnotation.acceptedValues | list | `["sulfoxide","sulfone","amide","alkene","carboxlic-acid"]` | The correct platform value |
| policies.checkPlatformAnnotation | object | `{"acceptedValues":["sulfoxide","sulfone","nitroso","amide","alkene","carboxlic-acid"],"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}}` | Check if platform annotation (atomi.cloud/platform) value is correct |
| policies.checkPlatformAnnotation.acceptedValues | list | `["sulfoxide","sulfone","nitroso","amide","alkene","carboxlic-acid"]` | The correct platform value |
| policies.checkPlatformAnnotation.enable | bool | `true` | Enable this policy |
| policies.checkPlatformAnnotation.exclude | object | `{"names":["*-cleanup-controller-*"]}` | Exclusion rules |
| policies.checkPlatformLabel | object | `{"acceptedValues":["sulfoxide","sulfone","amide","alkene","carboxlic-acid"],"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}}` | Check if platform label (atomi.cloud/platform) value is correct |
| policies.checkPlatformLabel.acceptedValues | list | `["sulfoxide","sulfone","amide","alkene","carboxlic-acid"]` | The correct platform value |
| policies.checkPlatformLabel | object | `{"acceptedValues":["sulfoxide","sulfone","nitroso","amide","alkene","carboxlic-acid"],"enable":true,"exclude":{"names":["*-cleanup-controller-*"]}}` | Check if platform label (atomi.cloud/platform) value is correct |
| policies.checkPlatformLabel.acceptedValues | list | `["sulfoxide","sulfone","nitroso","amide","alkene","carboxlic-acid"]` | The correct platform value |
| policies.checkPlatformLabel.enable | bool | `true` | Enable this policy |
| policies.checkPlatformLabel.exclude | object | `{"names":["*-cleanup-controller-*"]}` | Exclusion rules |
| policies.disableCriSockMount | object | `{"enable":true,"exclude":{}}` | Prevent CRI Sock Mount |
Expand Down
1 change: 1 addition & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ landscape: &landscape lapras
platforms: &platforms
- sulfoxide
- sulfone
- nitroso
- amide
- alkene
- carboxlic-acid
Expand Down

0 comments on commit f9c27f2

Please sign in to comment.