Skip to content
Open
Show file tree
Hide file tree
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
42 changes: 21 additions & 21 deletions crd.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: iamgroups.jicomusic.com
name: iamgroups.jicomusic.com
spec:
scope: Namespaced
group: jicomusic.com
versions:
- name: v1
served: true
storage: true
names:
kind: IAMGroup
plural: iamgroups
singular: iamgroup
#preserveUnknownFields: false
validation:
openAPIV3Schema:
type: object
properties:
groupName:
type: string
rbacRole:
type: string
scope: Namespaced
group: jicomusic.com
versions:
- name: v1
schema:
openAPIV3Schema:
type: object
properties:
groupName:
type: string
rbacRole:
type: string
served: true
storage: true
names:
kind: IAMGroup
listKind: IAMGroupList
singular: iamgroup
plural: iamgroups
4 changes: 2 additions & 2 deletions rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: default
name: kopfexample-account
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: kopfexample-role-cluster
Expand All @@ -32,7 +32,7 @@ rules:
resources: [configmaps]
verbs: [patch, get, post, update, create]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kopfexample-rolebinding-cluster
Expand Down