Skip to content

Commit

Permalink
crd: add the argocd.argoproj.io/sync-options: Replace=true annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
apetruhin committed Feb 18, 2025
1 parent e50f6f6 commit fa52488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1/coroot_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ type CorootStatus struct { // TODO

// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:metadata:annotations=argocd.argoproj.io/sync-options=Replace=true

type Coroot struct {
metav1.TypeMeta `json:",inline"`
Expand Down
1 change: 1 addition & 0 deletions config/crd/coroot.com_coroots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
argocd.argoproj.io/sync-options: Replace=true
controller-gen.kubebuilder.io/version: v0.16.1
name: coroots.coroot.com
spec:
Expand Down

0 comments on commit fa52488

Please sign in to comment.