common

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KustomizationPrefix = "kustomization"
	HelmPrefix          = "helmvalues"
)

Application update configurations

View Source
const (
	DefaultHelmImageName = "image.name"
	DefaultHelmImageTag  = "image.tag"
)

Defaults for Helm parameter names

View Source
const ApplicationsAPIKindK8S = "kubernetes"
View Source
const DefaultArgoCDServerAddr = "argocd-server.argocd"

DefaultArgoCDServerAddr is a Default ArgoCD server address when running in same cluster as ArgoCD

View Source
const DefaultCommitTemplatePath = "/app/config/commit.template"

DefaultCommitTemplatePath is a Default path to Git commit message template

View Source
const DefaultGitCommitMessage = `` /* 145-byte string literal not displayed */

DefaultGitCommitMessage the default Git commit message's template

View Source
const DefaultHelmValuesFilename = "values.yaml"
View Source
const DefaultRegistriesConfPath = "/app/config/registries.conf"

DefaultRegistriesConfPath is a Default path to registry configuration

View Source
const DefaultTargetFilePattern = ".argocd-source-%s_%s.yaml"

DefaultTargetFilePattern configurations related to the write-back functionality

View Source
const DefaultTargetFilePatternWithoutNamespace = ".argocd-source-%s.yaml"
View Source
const DefaultTargetFilePrefix = ".argocd-source-"

DefaultTargetFilePrefix the prefix of the default git write-back target

Variables

View Source
var ControllerLogFields = logrus.Fields{
	"controller":      "imageupdater",
	"controllerGroup": "argocd-image-updater.argoproj.io",
	"controllerKind":  "ImageUpdater",
}

ControllerLogFields contains the constant, structured context for the ImageUpdater controller. It's defined as logrus.Fields (map[string]interface{}) to be used directly with logrus loggers.

Functions

func LogFields added in v1.0.0

func LogFields(fields logrus.Fields) *logrus.Entry

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL