mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-22 01:17:16 +00:00
* feat: Implement Server-Side Diffs Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * trigger build Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * chore: remove unused function Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * make HasAnnotationOption more generic Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * add server-side-diff printer option Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove managedFields during server-side-diff Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * add ignore mutation webhook logic Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * fix configSet Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix comparison Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * merge typedconfig in typedpredictedlive Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * handle webhook diff conflicts Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix webhook normalization logic Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * address review comments 1/2 Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * address review comments 2/2 Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove kubectl getter from cluster-cache Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * fix query param verifier instantiation Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * Add server-side-diff unit tests Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> --------- Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
44 lines
1.1 KiB
Go
44 lines
1.1 KiB
Go
package testdata
|
|
|
|
import _ "embed"
|
|
|
|
var (
|
|
//go:embed smd-service-config.yaml
|
|
ServiceConfigYAML string
|
|
|
|
//go:embed smd-service-live.yaml
|
|
ServiceLiveYAML string
|
|
|
|
//go:embed smd-service-config-2-ports.yaml
|
|
ServiceConfigWith2Ports string
|
|
|
|
//go:embed smd-service-live-with-type.yaml
|
|
LiveServiceWithTypeYAML string
|
|
|
|
//go:embed smd-service-config-ports.yaml
|
|
ServiceConfigWithSamePortsYAML string
|
|
|
|
//go:embed smd-deploy-live.yaml
|
|
DeploymentLiveYAML string
|
|
|
|
//go:embed smd-deploy-config.yaml
|
|
DeploymentConfigYAML string
|
|
|
|
// OpenAPIV2Doc is a binary representation of the openapi
|
|
// document available in a given k8s instance. To update
|
|
// this file the following commands can be executed:
|
|
// kubectl proxy --port=7777 &
|
|
// curl -s -H Accept:application/com.github.proto-openapi.spec.v2@v1.0+protobuf http://localhost:7777/openapi/v2 > openapiv2.bin
|
|
//
|
|
//go:embed openapiv2.bin
|
|
OpenAPIV2Doc []byte
|
|
|
|
//go:embed ssd-service-config.yaml
|
|
ServiceConfigYAMLSSD string
|
|
|
|
//go:embed ssd-service-live.yaml
|
|
ServiceLiveYAMLSSD string
|
|
|
|
//go:embed ssd-service-predicted-live.json
|
|
ServicePredictedLiveJSONSSD string
|
|
)
|