Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use enum for dependency compliance #49

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ spec:
type: string
compliance:
description: The ComplianceState (at path .status.compliant) required before the policy should be created
enum:
- NonCompliant
- Compliant
- Pending
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
Expand Down Expand Up @@ -90,6 +94,10 @@ spec:
type: string
compliance:
description: The ComplianceState (at path .status.compliant) required before the policy should be created
enum:
- NonCompliant
- Compliant
- Pending
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
Expand Down Expand Up @@ -135,6 +143,7 @@ spec:
description: ComplianceState shows the state of enforcement
enum:
- Compliant
- Pending
- NonCompliant
type: string
details:
Expand Down Expand Up @@ -272,6 +281,10 @@ spec:
type: string
compliance:
description: The ComplianceState (at path .status.compliant) required before the policy should be created
enum:
- NonCompliant
- Compliant
- Pending
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
Expand Down Expand Up @@ -305,6 +318,10 @@ spec:
type: string
compliance:
description: The ComplianceState (at path .status.compliant) required before the policy should be created
enum:
- NonCompliant
- Compliant
- Pending
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
Expand Down Expand Up @@ -350,6 +367,7 @@ spec:
description: ComplianceState shows the state of enforcement
enum:
- Compliant
- Pending
- NonCompliant
type: string
details:
Expand Down