Image Policy API (v1alpha1)
资源类型
ImageReview
ImageReview 检查某个 Pod 中是否可以使用某些镜像。
| 字段 | 描述 |
|---|---|
apiVersionstring | imagepolicy.k8s.io/v1alpha1 |
kindstring | ImageReview |
metadatameta/v1.ObjectMeta
|
标准的对象元数据。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata 参阅 Kubernetes API 文档了解 |
spec [必需]ImageReviewSpec
|
|
statusImageReviewStatus
|
|
ImageReviewContainerSpec
出现在:
ImageReviewContainerSpec 是对 Pod 创建请求中的某容器的描述。
| 字段 | 描述 |
|---|---|
imagestring
|
此字段的格式可以是 |
ImageReviewSpec
出现在:
ImageReviewSpec 是对 Pod 创建请求的描述。
| 字段 | 描述 |
|---|---|
containers[]ImageReviewContainerSpec
|
|
annotationsmap[string]string
|
|
namespacestring
|
|
ImageReviewStatus
出现在:
ImageReviewStatus 是针对 Pod 创建请求所作的评估结果。
| 字段 | 描述 |
|---|---|
allowed [必需]bool
|
|
reasonstring
|
若 |
auditAnnotationsmap[string]string
|
|