Skip to content

Commit

Permalink
add rbacmanager CRDs (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
akamac authored Oct 26, 2023
1 parent 1fe9ce4 commit e44ad2a
Showing 1 changed file with 139 additions and 0 deletions.
139 changes: 139 additions & 0 deletions rbacmanager.reactiveops.io/rbacdefinition_v1beta1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"properties": {
"rbacBindings": {
"items": {
"properties": {
"clusterRoleBindings": {
"items": {
"properties": {
"clusterRole": {
"type": "string"
}
},
"required": [
"clusterRole"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"name": {
"type": "string"
},
"roleBindings": {
"items": {
"properties": {
"clusterRole": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespaceSelector": {
"properties": {
"matchExpressions": {
"items": {
"properties": {
"key": {
"type": "string"
},
"operator": {
"enum": [
"Exists",
"DoesNotExist",
"In",
"NotIn"
],
"type": "string"
},
"values": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"type": "object",
"additionalProperties": false
},
"role": {
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"subjects": {
"items": {
"properties": {
"automountServiceAccountToken": {
"type": "boolean"
},
"imagePullSecrets": {
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"enum": [
"Group",
"ServiceAccount",
"User"
],
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
}
},
"required": [
"name",
"kind"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"required": [
"name",
"subjects"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"status": {
"type": "object"
}
},
"required": [
"rbacBindings"
],
"type": "object"
}

0 comments on commit e44ad2a

Please sign in to comment.