-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from awotch/master
update apiextension v1beta1 to v1 to deploy crd in kubernetes 1.22
- Loading branch information
Showing
3 changed files
with
35 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,41 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: iamidentitymappings.iamauthenticator.k8s.aws | ||
spec: | ||
group: iamauthenticator.k8s.aws | ||
version: v1alpha1 | ||
scope: Cluster | ||
names: | ||
categories: | ||
- all | ||
kind: IAMIdentityMapping | ||
plural: iamidentitymappings | ||
singular: iamidentitymapping | ||
kind: IAMIdentityMapping | ||
categories: | ||
- all | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
oneOf: | ||
- required: | ||
- userarn | ||
- username | ||
- required: | ||
- rolearn | ||
- username | ||
properties: | ||
groups: | ||
items: | ||
scope: Cluster | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
oneOf: | ||
- required: | ||
- userarn | ||
- username | ||
- required: | ||
- rolearn | ||
- username | ||
properties: | ||
groups: | ||
items: | ||
type: string | ||
type: array | ||
rolearn: | ||
type: string | ||
userarn: | ||
type: string | ||
username: | ||
type: string | ||
type: array | ||
userarn: | ||
type: string | ||
rolearn: | ||
type: string | ||
username: | ||
type: string | ||
type: object | ||
type: object | ||
type: object | ||
type: object | ||
served: true | ||
storage: true |
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