This commit is contained in:
@@ -38,6 +38,8 @@ spec:
|
||||
spec:
|
||||
description: APIAppSpec defines the desired state of APIApp
|
||||
properties:
|
||||
apiAppName:
|
||||
type: string
|
||||
authMethodType:
|
||||
enum:
|
||||
- API_AUTH_METHOD_TYPE_BASIC
|
||||
@@ -142,6 +144,7 @@ spec:
|
||||
- message: zitadel ID reference requires connectionRef.name
|
||||
rule: '!has(self.id) || has(self.connectionRef.name)'
|
||||
required:
|
||||
- apiAppName
|
||||
- authMethodType
|
||||
- projectRef
|
||||
type: object
|
||||
@@ -149,10 +152,8 @@ spec:
|
||||
description: APIAppStatus defines the observed state of APIApp
|
||||
properties:
|
||||
appId:
|
||||
default: ""
|
||||
type: string
|
||||
clientId:
|
||||
default: ""
|
||||
type: string
|
||||
conditions:
|
||||
description: |-
|
||||
@@ -214,12 +215,7 @@ spec:
|
||||
type: object
|
||||
type: array
|
||||
keyId:
|
||||
default: ""
|
||||
type: string
|
||||
required:
|
||||
- appId
|
||||
- clientId
|
||||
- keyId
|
||||
type: object
|
||||
type: object
|
||||
served: true
|
||||
|
||||
@@ -29,6 +29,7 @@ rules:
|
||||
- apiGroups:
|
||||
- zitadel.github.com
|
||||
resources:
|
||||
- apiapps
|
||||
- connections
|
||||
- machineusers
|
||||
- oidcapps
|
||||
@@ -45,6 +46,7 @@ rules:
|
||||
- apiGroups:
|
||||
- zitadel.github.com
|
||||
resources:
|
||||
- apiapps/finalizers
|
||||
- connections/finalizers
|
||||
- machineusers/finalizers
|
||||
- oidcapps/finalizers
|
||||
@@ -55,6 +57,7 @@ rules:
|
||||
- apiGroups:
|
||||
- zitadel.github.com
|
||||
resources:
|
||||
- apiapps/status
|
||||
- connections/status
|
||||
- machineusers/status
|
||||
- oidcapps/status
|
||||
|
||||
Reference in New Issue
Block a user