Add OCIRepository event source kind

Signed-off-by: Sunny <darkowlzz@protonmail.com>
This commit is contained in:
Sunny 2022-08-03 17:25:56 +05:30
parent dada42526d
commit 8fac504e6b
No known key found for this signature in database
GPG Key ID: 9F3D25DDFF7FA3CF
4 changed files with 5 additions and 1 deletions

View File

@ -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"`

View File

@ -76,6 +76,7 @@ spec:
- ImageRepository
- ImagePolicy
- ImageUpdateAutomation
- OCIRepository
type: string
matchLabels:
additionalProperties:

View File

@ -73,6 +73,7 @@ spec:
- ImageRepository
- ImagePolicy
- ImageUpdateAutomation
- OCIRepository
type: string
matchLabels:
additionalProperties:

View File

@ -536,6 +536,8 @@ spec:
name: '*'
- kind: Kustomization
name: '*'
- kind: OCIRepository
name: '*'
```