github.com/argoproj/argo-cd/v2@v2.10.9/pkg/apis/application/v1alpha1/application_defaults.go (about)

     1  package v1alpha1
     2  
     3  import "time"
     4  
     5  const (
     6  	DefaultSyncRetryMaxDuration time.Duration = 180000000000 // 3m0s
     7  	DefaultSyncRetryDuration    time.Duration = 5000000000   // 5s
     8  	DefaultSyncRetryFactor                    = int64(2)
     9  	// ResourcesFinalizerName is the finalizer value which we inject to finalize deletion of an application
    10  	ResourcesFinalizerName string = "resources-finalizer.argocd.argoproj.io"
    11  
    12  	// PostDeleteFinalizerName is the finalizer that controls post-delete hooks execution
    13  	PostDeleteFinalizerName string = "post-delete-finalizer.argocd.argoproj.io"
    14  
    15  	// ForegroundPropagationPolicyFinalizer is the finalizer we inject to delete application with foreground propagation policy
    16  	ForegroundPropagationPolicyFinalizer string = "resources-finalizer.argocd.argoproj.io/foreground"
    17  
    18  	// BackgroundPropagationPolicyFinalizer is the finalizer we inject to delete application with background propagation policy
    19  	BackgroundPropagationPolicyFinalizer = "resources-finalizer.argocd.argoproj.io/background"
    20  
    21  	// DefaultAppProjectName contains name of 'default' app project, which is available in every Argo CD installation
    22  	DefaultAppProjectName = "default"
    23  
    24  	// RevisionHistoryLimit is the max number of successful sync to keep in history
    25  	RevisionHistoryLimit = 10
    26  
    27  	// KubernetesInternalAPIServerAddr is address of the k8s API server when accessing internal to the cluster
    28  	KubernetesInternalAPIServerAddr = "https://kubernetes.default.svc"
    29  )