-
Notifications
You must be signed in to change notification settings - Fork 732
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mutatorpodstatus to helm chart (#1389)
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com> Co-authored-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
139 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
config/overlays/mutation_webhook/status.gatekeeper.sh_mutatorpodstatuses.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.5.0 | ||
creationTimestamp: null | ||
name: mutatorpodstatuses.status.gatekeeper.sh | ||
spec: | ||
group: status.gatekeeper.sh | ||
names: | ||
kind: MutatorPodStatus | ||
listKind: MutatorPodStatusList | ||
plural: mutatorpodstatuses | ||
singular: mutatorpodstatus | ||
scope: Namespaced | ||
versions: | ||
- name: v1beta1 | ||
schema: | ||
openAPIV3Schema: | ||
description: MutatorPodStatus is the Schema for the mutationpodstatuses API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
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' | ||
type: string | ||
metadata: | ||
type: object | ||
status: | ||
description: MutatorPodStatusStatus defines the observed state of MutatorPodStatus | ||
properties: | ||
enforced: | ||
type: boolean | ||
errors: | ||
items: | ||
description: MutatorError represents a single error caught while adding a mutator to a system | ||
properties: | ||
message: | ||
type: string | ||
required: | ||
- message | ||
type: object | ||
type: array | ||
id: | ||
type: string | ||
mutatorUID: | ||
description: Storing the mutator UID allows us to detect drift, such as when a mutator has been recreated after its CRD was deleted out from under it, interrupting the watch | ||
type: string | ||
observedGeneration: | ||
format: int64 | ||
type: integer | ||
operations: | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
61 changes: 61 additions & 0 deletions
61
manifest_staging/charts/gatekeeper/crds/mutatorpodstatus-customresourcedefinition.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.5.0 | ||
labels: | ||
gatekeeper.sh/system: "yes" | ||
name: mutatorpodstatuses.status.gatekeeper.sh | ||
spec: | ||
group: status.gatekeeper.sh | ||
names: | ||
kind: MutatorPodStatus | ||
listKind: MutatorPodStatusList | ||
plural: mutatorpodstatuses | ||
singular: mutatorpodstatus | ||
scope: Namespaced | ||
versions: | ||
- name: v1beta1 | ||
schema: | ||
openAPIV3Schema: | ||
description: MutatorPodStatus is the Schema for the mutationpodstatuses API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
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' | ||
type: string | ||
metadata: | ||
type: object | ||
status: | ||
description: MutatorPodStatusStatus defines the observed state of MutatorPodStatus | ||
properties: | ||
enforced: | ||
type: boolean | ||
errors: | ||
items: | ||
description: MutatorError represents a single error caught while adding a mutator to a system | ||
properties: | ||
message: | ||
type: string | ||
required: | ||
- message | ||
type: object | ||
type: array | ||
id: | ||
type: string | ||
mutatorUID: | ||
description: Storing the mutator UID allows us to detect drift, such as when a mutator has been recreated after its CRD was deleted out from under it, interrupting the watch | ||
type: string | ||
observedGeneration: | ||
format: int64 | ||
type: integer | ||
operations: | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
type: object | ||
served: true | ||
storage: true |