-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kubernetes-commit: d6479587445a5a6fa736ee7fb3012a29f4e6e5e7
- Loading branch information
1 parent
2ab050b
commit ed524d6
Showing
11 changed files
with
6,838 additions
and
856 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
174 changes: 174 additions & 0 deletions
174
admissionregistration/v1beta1/types_swagger_doc_generated.go
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
72 changes: 72 additions & 0 deletions
72
admissionregistration/v1beta1/zz_generated.prerelease-lifecycle.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
171 changes: 171 additions & 0 deletions
171
testdata/HEAD/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicy.json
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,171 @@ | ||
{ | ||
"kind": "ValidatingAdmissionPolicy", | ||
"apiVersion": "admissionregistration.k8s.io/v1beta1", | ||
"metadata": { | ||
"name": "nameValue", | ||
"generateName": "generateNameValue", | ||
"namespace": "namespaceValue", | ||
"selfLink": "selfLinkValue", | ||
"uid": "uidValue", | ||
"resourceVersion": "resourceVersionValue", | ||
"generation": 7, | ||
"creationTimestamp": "2008-01-01T01:01:01Z", | ||
"deletionTimestamp": "2009-01-01T01:01:01Z", | ||
"deletionGracePeriodSeconds": 10, | ||
"labels": { | ||
"labelsKey": "labelsValue" | ||
}, | ||
"annotations": { | ||
"annotationsKey": "annotationsValue" | ||
}, | ||
"ownerReferences": [ | ||
{ | ||
"apiVersion": "apiVersionValue", | ||
"kind": "kindValue", | ||
"name": "nameValue", | ||
"uid": "uidValue", | ||
"controller": true, | ||
"blockOwnerDeletion": true | ||
} | ||
], | ||
"finalizers": [ | ||
"finalizersValue" | ||
], | ||
"managedFields": [ | ||
{ | ||
"manager": "managerValue", | ||
"operation": "operationValue", | ||
"apiVersion": "apiVersionValue", | ||
"time": "2004-01-01T01:01:01Z", | ||
"fieldsType": "fieldsTypeValue", | ||
"fieldsV1": {}, | ||
"subresource": "subresourceValue" | ||
} | ||
] | ||
}, | ||
"spec": { | ||
"paramKind": { | ||
"apiVersion": "apiVersionValue", | ||
"kind": "kindValue" | ||
}, | ||
"matchConstraints": { | ||
"namespaceSelector": { | ||
"matchLabels": { | ||
"matchLabelsKey": "matchLabelsValue" | ||
}, | ||
"matchExpressions": [ | ||
{ | ||
"key": "keyValue", | ||
"operator": "operatorValue", | ||
"values": [ | ||
"valuesValue" | ||
] | ||
} | ||
] | ||
}, | ||
"objectSelector": { | ||
"matchLabels": { | ||
"matchLabelsKey": "matchLabelsValue" | ||
}, | ||
"matchExpressions": [ | ||
{ | ||
"key": "keyValue", | ||
"operator": "operatorValue", | ||
"values": [ | ||
"valuesValue" | ||
] | ||
} | ||
] | ||
}, | ||
"resourceRules": [ | ||
{ | ||
"resourceNames": [ | ||
"resourceNamesValue" | ||
], | ||
"operations": [ | ||
"operationsValue" | ||
], | ||
"apiGroups": [ | ||
"apiGroupsValue" | ||
], | ||
"apiVersions": [ | ||
"apiVersionsValue" | ||
], | ||
"resources": [ | ||
"resourcesValue" | ||
], | ||
"scope": "scopeValue" | ||
} | ||
], | ||
"excludeResourceRules": [ | ||
{ | ||
"resourceNames": [ | ||
"resourceNamesValue" | ||
], | ||
"operations": [ | ||
"operationsValue" | ||
], | ||
"apiGroups": [ | ||
"apiGroupsValue" | ||
], | ||
"apiVersions": [ | ||
"apiVersionsValue" | ||
], | ||
"resources": [ | ||
"resourcesValue" | ||
], | ||
"scope": "scopeValue" | ||
} | ||
], | ||
"matchPolicy": "matchPolicyValue" | ||
}, | ||
"validations": [ | ||
{ | ||
"expression": "expressionValue", | ||
"message": "messageValue", | ||
"reason": "reasonValue", | ||
"messageExpression": "messageExpressionValue" | ||
} | ||
], | ||
"failurePolicy": "failurePolicyValue", | ||
"auditAnnotations": [ | ||
{ | ||
"key": "keyValue", | ||
"valueExpression": "valueExpressionValue" | ||
} | ||
], | ||
"matchConditions": [ | ||
{ | ||
"name": "nameValue", | ||
"expression": "expressionValue" | ||
} | ||
], | ||
"variables": [ | ||
{ | ||
"name": "nameValue", | ||
"expression": "expressionValue" | ||
} | ||
] | ||
}, | ||
"status": { | ||
"observedGeneration": 1, | ||
"typeChecking": { | ||
"expressionWarnings": [ | ||
{ | ||
"fieldRef": "fieldRefValue", | ||
"warning": "warningValue" | ||
} | ||
] | ||
}, | ||
"conditions": [ | ||
{ | ||
"type": "typeValue", | ||
"status": "statusValue", | ||
"observedGeneration": 3, | ||
"lastTransitionTime": "2004-01-01T01:01:01Z", | ||
"reason": "reasonValue", | ||
"message": "messageValue" | ||
} | ||
] | ||
} | ||
} |
Binary file added
BIN
+1.11 KB
testdata/HEAD/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicy.pb
Binary file not shown.
108 changes: 108 additions & 0 deletions
108
testdata/HEAD/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicy.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,108 @@ | ||
apiVersion: admissionregistration.k8s.io/v1beta1 | ||
kind: ValidatingAdmissionPolicy | ||
metadata: | ||
annotations: | ||
annotationsKey: annotationsValue | ||
creationTimestamp: "2008-01-01T01:01:01Z" | ||
deletionGracePeriodSeconds: 10 | ||
deletionTimestamp: "2009-01-01T01:01:01Z" | ||
finalizers: | ||
- finalizersValue | ||
generateName: generateNameValue | ||
generation: 7 | ||
labels: | ||
labelsKey: labelsValue | ||
managedFields: | ||
- apiVersion: apiVersionValue | ||
fieldsType: fieldsTypeValue | ||
fieldsV1: {} | ||
manager: managerValue | ||
operation: operationValue | ||
subresource: subresourceValue | ||
time: "2004-01-01T01:01:01Z" | ||
name: nameValue | ||
namespace: namespaceValue | ||
ownerReferences: | ||
- apiVersion: apiVersionValue | ||
blockOwnerDeletion: true | ||
controller: true | ||
kind: kindValue | ||
name: nameValue | ||
uid: uidValue | ||
resourceVersion: resourceVersionValue | ||
selfLink: selfLinkValue | ||
uid: uidValue | ||
spec: | ||
auditAnnotations: | ||
- key: keyValue | ||
valueExpression: valueExpressionValue | ||
failurePolicy: failurePolicyValue | ||
matchConditions: | ||
- expression: expressionValue | ||
name: nameValue | ||
matchConstraints: | ||
excludeResourceRules: | ||
- apiGroups: | ||
- apiGroupsValue | ||
apiVersions: | ||
- apiVersionsValue | ||
operations: | ||
- operationsValue | ||
resourceNames: | ||
- resourceNamesValue | ||
resources: | ||
- resourcesValue | ||
scope: scopeValue | ||
matchPolicy: matchPolicyValue | ||
namespaceSelector: | ||
matchExpressions: | ||
- key: keyValue | ||
operator: operatorValue | ||
values: | ||
- valuesValue | ||
matchLabels: | ||
matchLabelsKey: matchLabelsValue | ||
objectSelector: | ||
matchExpressions: | ||
- key: keyValue | ||
operator: operatorValue | ||
values: | ||
- valuesValue | ||
matchLabels: | ||
matchLabelsKey: matchLabelsValue | ||
resourceRules: | ||
- apiGroups: | ||
- apiGroupsValue | ||
apiVersions: | ||
- apiVersionsValue | ||
operations: | ||
- operationsValue | ||
resourceNames: | ||
- resourceNamesValue | ||
resources: | ||
- resourcesValue | ||
scope: scopeValue | ||
paramKind: | ||
apiVersion: apiVersionValue | ||
kind: kindValue | ||
validations: | ||
- expression: expressionValue | ||
message: messageValue | ||
messageExpression: messageExpressionValue | ||
reason: reasonValue | ||
variables: | ||
- expression: expressionValue | ||
name: nameValue | ||
status: | ||
conditions: | ||
- lastTransitionTime: "2004-01-01T01:01:01Z" | ||
message: messageValue | ||
observedGeneration: 3 | ||
reason: reasonValue | ||
status: statusValue | ||
type: typeValue | ||
observedGeneration: 1 | ||
typeChecking: | ||
expressionWarnings: | ||
- fieldRef: fieldRefValue | ||
warning: warningValue |
Oops, something went wrong.