Add OCIRepository event source kind
Signed-off-by: Sunny <darkowlzz@protonmail.com>
This commit is contained in:
parent
dada42526d
commit
8fac504e6b
|
|
@ -24,7 +24,7 @@ type CrossNamespaceObjectReference struct {
|
|||
APIVersion string `json:"apiVersion,omitempty"`
|
||||
|
||||
// Kind of the referent
|
||||
// +kubebuilder:validation:Enum=Bucket;GitRepository;Kustomization;HelmRelease;HelmChart;HelmRepository;ImageRepository;ImagePolicy;ImageUpdateAutomation
|
||||
// +kubebuilder:validation:Enum=Bucket;GitRepository;Kustomization;HelmRelease;HelmChart;HelmRepository;ImageRepository;ImagePolicy;ImageUpdateAutomation;OCIRepository
|
||||
// +required
|
||||
Kind string `json:"kind,omitempty"`
|
||||
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ spec:
|
|||
- ImageRepository
|
||||
- ImagePolicy
|
||||
- ImageUpdateAutomation
|
||||
- OCIRepository
|
||||
type: string
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ spec:
|
|||
- ImageRepository
|
||||
- ImagePolicy
|
||||
- ImageUpdateAutomation
|
||||
- OCIRepository
|
||||
type: string
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
|
|
|
|||
|
|
@ -536,6 +536,8 @@ spec:
|
|||
name: '*'
|
||||
- kind: Kustomization
|
||||
name: '*'
|
||||
- kind: OCIRepository
|
||||
name: '*'
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue