Skip to content

Commit

Permalink
Merge pull request #396 from fluxcd/ocirepo-event-src-kind
Browse files Browse the repository at this point in the history
Add OCIRepository event source
  • Loading branch information
Paulo Gomes authored Aug 4, 2022
2 parents dada425 + 8fac504 commit f9078e6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1beta1/reference_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ spec:
- ImageRepository
- ImagePolicy
- ImageUpdateAutomation
- OCIRepository
type: string
matchLabels:
additionalProperties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ spec:
- ImageRepository
- ImagePolicy
- ImageUpdateAutomation
- OCIRepository
type: string
matchLabels:
additionalProperties:
Expand Down
2 changes: 2 additions & 0 deletions docs/spec/v1beta1/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,8 @@ spec:
name: '*'
- kind: Kustomization
name: '*'
- kind: OCIRepository
name: '*'
```


Expand Down

0 comments on commit f9078e6

Please sign in to comment.