Skip to content

Commit

Permalink
Updates LHDashboard and LHPrincipal CRDs (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoRojas authored Jun 5, 2024
1 parent 43624e2 commit 44e3e9d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
12 changes: 12 additions & 0 deletions charts/lh-operator/crds/lhdashboards.littlehorse.io-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,18 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
tls:
properties:
secretRef:
properties:
name:
type: string
required:
- name
type: object
required:
- secretRef
type: object
required:
- image
- replicas
Expand Down
25 changes: 20 additions & 5 deletions charts/lh-operator/crds/lhprincipals.littlehorse.io-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ spec:
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.isCreated
name: CREATED
priority: 0
type: boolean
- jsonPath: .status.lhCluster
name: LH_CLUSTER
priority: 0
type: string
- jsonPath: .status.problems
name: PROBLEMS
priority: 0
Expand All @@ -24,12 +32,10 @@ spec:
properties:
spec:
properties:
defaultLabels:
additionalProperties:
type: string
nullable: true
type: object
globalACLs:
description: Global ACL's to add to the `Principal` to be created
in the LH Server. These permissions apply to all `Tenant`s inside
the LH Server.
items:
properties:
actions:
Expand All @@ -41,6 +47,8 @@ spec:
type: object
type: array
perTenantACLs:
description: Allows assigning permissions to the `Principal` to access
specific `Tenant`s inside the LH Server.
items:
properties:
acls:
Expand All @@ -59,12 +67,19 @@ spec:
type: object
type: array
principalName:
description: The name of the `Principal` to be created in the LH Server.
type: string
required:
- principalName
type: object
status:
properties:
isCreated:
description: Whether the Principal has been created in the LH Server
type: boolean
lhCluster:
description: The LHCluster in which the `Principal` is created
type: string
observedGeneration:
type: integer
problems:
Expand Down

0 comments on commit 44e3e9d

Please sign in to comment.