mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
fix: use custom cluster secret informer (#25534)
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com> Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com>
This commit is contained in:
@@ -2269,6 +2269,11 @@ type Cluster struct {
|
||||
Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,12,opt,name=labels"`
|
||||
// Annotations for cluster secret metadata
|
||||
Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,13,opt,name=annotations"`
|
||||
|
||||
// The embedded metav1.ObjectMeta field is purely here to please the informer when converting from a v1.Secret to a Cluster.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
// +optional
|
||||
metav1.ObjectMeta `json:"-,omitempty"`
|
||||
}
|
||||
|
||||
func (c *Cluster) Sanitized() *Cluster {
|
||||
|
||||
@@ -1668,6 +1668,7 @@ func (in *Cluster) DeepCopyInto(out *Cluster) {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user