Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the argoproj.io v1beta1 API group +kubebuilder:object:generate=true +groupName=argoproj.io
Index ¶
- Constants
- Variables
- type AgentClientSpec
- type AgentComponentType
- type AgentMode
- type AgentRedisSpec
- type AgentSpec
- type AgentTLSSpec
- type ArgoCD
- func (a *ArgoCD) ApplicationInstanceLabelKey() string
- func (in *ArgoCD) DeepCopy() *ArgoCD
- func (in *ArgoCD) DeepCopyInto(out *ArgoCD)
- func (in *ArgoCD) DeepCopyObject() runtime.Object
- func (*ArgoCD) Hub()
- func (argocd *ArgoCD) IsDeletionFinalizerPresent() bool
- func (r *ArgoCD) SetupWebhookWithManager(mgr ctrl.Manager) error
- type ArgoCDAgentPrincipalRouteSpec
- type ArgoCDAgentPrincipalServiceSpec
- type ArgoCDAgentSpec
- type ArgoCDApplicationControllerProcessorsSpec
- type ArgoCDApplicationControllerShardSpec
- type ArgoCDApplicationControllerSpec
- type ArgoCDApplicationSet
- type ArgoCDCASpec
- type ArgoCDCertificateSpec
- type ArgoCDCommitServerSpec
- type ArgoCDDexSpec
- type ArgoCDGrafanaSpec
- type ArgoCDHASpec
- type ArgoCDImageUpdaterSpec
- type ArgoCDImportSpec
- type ArgoCDIngressSpec
- type ArgoCDKeycloakSpec
- type ArgoCDList
- type ArgoCDMetricsSpec
- type ArgoCDMonitoringSpec
- type ArgoCDNetworkPolicySpec
- type ArgoCDNodePlacementSpec
- type ArgoCDNotifications
- type ArgoCDPrometheusSpec
- type ArgoCDRBACSpec
- type ArgoCDRedisSpec
- type ArgoCDRepoSpec
- type ArgoCDRouteSpec
- type ArgoCDSSOSpec
- type ArgoCDServerAutoscaleSpec
- type ArgoCDServerGRPCSpec
- type ArgoCDServerServiceSpec
- type ArgoCDServerSpec
- type ArgoCDSourceHydratorSpec
- type ArgoCDSpec
- type ArgoCDStatus
- type ArgoCDSystemCATrustSpec
- type ArgoCDTLSSpec
- type ArgoCDWebhookSecretsAzureDevOps
- type ArgoCDWebhookSecretsBitbucket
- type ArgoCDWebhookSecretsBitbucketServer
- type ArgoCDWebhookSecretsGitHub
- type ArgoCDWebhookSecretsGitLab
- type ArgoCDWebhookSecretsGogs
- type ArgoCDWebhookSecretsSpec
- type Banner
- type DestinationBasedMappingSpec
- type IgnoreDifferenceCustomization
- type KustomizeVersionSpec
- type LocalUserSpec
- type ManagedNamespaces
- type NamespaceManagement
- type NamespaceManagementList
- type NamespaceManagementSpec
- type NamespaceManagementStatus
- type PrincipalJWTSpec
- type PrincipalNamespaceSpec
- type PrincipalRedisSpec
- type PrincipalResourceProxySpec
- type PrincipalSelfRegistrationSpec
- type PrincipalServerSpec
- type PrincipalSpec
- type PrincipalTLSSpec
- type PromoterAPIServerSpec
- type PromoterAPIServerTLSSpec
- type PromoterComponentType
- type PromoterControllerWebhookSpec
- type PromoterSpec
- type ResourceAction
- type ResourceHealthCheck
- type ResourceIdentifiers
- type ResourceIgnoreDifference
- type ResourceTrackingMethod
- type SSHHostsSpec
- type SSOProviderType
- type WebhookSecretKeySelector
- type WebhookServerSpec
Constants ¶
const ( ArgoCDConditionType = "Reconciled" ArgoCDConditionConfigurationError = "UnsupportedConfiguration" )
const ( ArgoCDConditionReasonSuccess = "Success" ArgoCDConditionReasonSSOError = "UnsupportedSSOConfiguration" ArgoCDConditionReasonErrorOccurred = "ErrorOccurred" )
const OpenShiftOAuthErrorMessage = "OpenShiftOAuth is not supported when external authentication is enabled on cluster, please provide OIDC config"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "argoproj.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AgentClientSpec ¶
type AgentClientSpec struct {
// PrincipalServerAddress is the remote address of the principal server to connect to.
PrincipalServerAddress string `json:"principalServerAddress,omitempty"`
// PrincipalServerPort is the remote port of the principal server to connect to.
PrincipalServerPort string `json:"principalServerPort,omitempty"`
// Mode is the operational mode for the agent (managed or autonomous)
Mode string `json:"mode,omitempty"`
// EnableWebSocket is the flag to enable WebSocket for event streaming
EnableWebSocket *bool `json:"enableWebSocket,omitempty"`
// EnableCompression is the flag to enable compression while sending data between Principal and Agent using gRPC
EnableCompression *bool `json:"enableCompression,omitempty"`
// KeepAliveInterval is the interval for keep-alive pings to the principal
KeepAliveInterval string `json:"keepAliveInterval,omitempty"`
}
func (*AgentClientSpec) DeepCopy ¶
func (in *AgentClientSpec) DeepCopy() *AgentClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentClientSpec.
func (*AgentClientSpec) DeepCopyInto ¶
func (in *AgentClientSpec) DeepCopyInto(out *AgentClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentComponentType ¶
type AgentComponentType string
AgentComponentType is a type which represents possible agent component types
const ( // AgentComponentTypePrincipal indicates the component type is principal AgentComponentTypePrincipal AgentComponentType = "principal" // AgentComponentTypeAgent indicates the component type is agent AgentComponentTypeAgent AgentComponentType = "agent" )
Possible agent component types
type AgentRedisSpec ¶
type AgentRedisSpec struct {
// ServerAddress is the address of the Redis server to be used by the PrincAgentipal component.
ServerAddress string `json:"serverAddress,omitempty"`
}
func (*AgentRedisSpec) DeepCopy ¶
func (in *AgentRedisSpec) DeepCopy() *AgentRedisSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentRedisSpec.
func (*AgentRedisSpec) DeepCopyInto ¶
func (in *AgentRedisSpec) DeepCopyInto(out *AgentRedisSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentSpec ¶
type AgentSpec struct {
// Enabled is the flag to enable the Agent component during Argo CD installation. (optional, default `false`)
Enabled *bool `json:"enabled,omitempty"`
// AllowedNamespaces is a list of additional namespaces the agent is allowed to
// manage applications in. Supports glob patterns.
AllowedNamespaces []string `json:"allowedNamespaces,omitempty"`
// Creds is the credential identifier for the agent authentication
Creds string `json:"creds,omitempty"`
// LogLevel refers to the log level used by the Agent component.
LogLevel string `json:"logLevel,omitempty"`
// LogFormat refers to the log format used by the Agent component.
LogFormat string `json:"logFormat,omitempty"`
// Image is the name of Argo CD Agent image
Image string `json:"image,omitempty"`
// Env lets you specify environment for agent pods
Env []corev1.EnvVar `json:"env,omitempty"`
// Client defines the client options for the Agent component.
Client *AgentClientSpec `json:"client,omitempty"`
// Redis defines the Redis options for the Agent component.
Redis *AgentRedisSpec `json:"redis,omitempty"`
// Resources defines the Compute Resources required by the container for the Argo CD Agent agent component.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Requirements",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Controller","urn:alm:descriptor:com.tectonic.ui:resourceRequirements"}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// TLS defines the TLS options for the Agent component.
TLS *AgentTLSSpec `json:"tls,omitempty"`
// DestinationBasedMapping defines the options for destination based mapping for the Agent component.
DestinationBasedMapping *DestinationBasedMappingSpec `json:"destinationBasedMapping,omitempty"`
// LabelSelector is a Kubernetes label selector that restricts which resources the agent watches.
// Only resources matching this selector will be listed, watched, and processed by the agent.
LabelSelector string `json:"labelSelector,omitempty"`
// Metrics defines the metrics configuration for the Agent ServiceMonitor.
Metrics *ArgoCDMetricsSpec `json:"metrics,omitempty"`
}
func (*AgentSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentSpec.
func (*AgentSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentTLSSpec ¶
type AgentTLSSpec struct {
// SecretName is the name of the secret containing the agent client TLS certificate
SecretName string `json:"secretName,omitempty"`
// RootCASecretName is the name of the secret containing the root CA certificate
RootCASecretName string `json:"rootCASecretName,omitempty"`
// Insecure is the flag to skip TLS certificate validation when connecting to the principal (insecure, for development only)
Insecure *bool `json:"insecure,omitempty"`
}
func (*AgentTLSSpec) DeepCopy ¶
func (in *AgentTLSSpec) DeepCopy() *AgentTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentTLSSpec.
func (*AgentTLSSpec) DeepCopyInto ¶
func (in *AgentTLSSpec) DeepCopyInto(out *AgentTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCD ¶
type ArgoCD struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ArgoCDSpec `json:"spec,omitempty"`
Status ArgoCDStatus `json:"status,omitempty"`
}
ArgoCD is the Schema for the argocds API +k8s:openapi-gen=true +kubebuilder:subresource:status +operator-sdk:csv:customresourcedefinitions:resources={{ArgoCD,v1beta1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{ArgoCDExport,v1alpha1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{ConfigMap,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{CronJob,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{Deployment,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{Ingress,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{Job,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{PersistentVolumeClaim,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{Pod,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{Prometheus,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{ReplicaSet,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{Route,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{Secret,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{Service,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{ServiceMonitor,v1,""}} +operator-sdk:csv:customresourcedefinitions:resources={{StatefulSet,v1,""}}
func (*ArgoCD) ApplicationInstanceLabelKey ¶
ApplicationInstanceLabelKey returns either the custom application instance label key if set, or the default value.
func (*ArgoCD) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCD.
func (*ArgoCD) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCD) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArgoCD) IsDeletionFinalizerPresent ¶
IsDeletionFinalizerPresent checks if the instance has deletion finalizer
type ArgoCDAgentPrincipalRouteSpec ¶
type ArgoCDAgentPrincipalRouteSpec struct {
// Enabled will toggle the creation of the OpenShift Route, ignored in case of non OpenShift cluster.
// Route is disabled only when explicitly configured with false
Enabled *bool `json:"enabled,omitempty"`
}
ArgoCDAgentPrincipalRouteSpec defines the options for the Route backing the ArgoCD Agent Principal component.
func (*ArgoCDAgentPrincipalRouteSpec) DeepCopy ¶
func (in *ArgoCDAgentPrincipalRouteSpec) DeepCopy() *ArgoCDAgentPrincipalRouteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDAgentPrincipalRouteSpec.
func (*ArgoCDAgentPrincipalRouteSpec) DeepCopyInto ¶
func (in *ArgoCDAgentPrincipalRouteSpec) DeepCopyInto(out *ArgoCDAgentPrincipalRouteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDAgentPrincipalServiceSpec ¶
type ArgoCDAgentPrincipalServiceSpec struct {
// Type is the ServiceType to use for the Service resource.
// If not set, type ClusterIP will be used by default.
Type corev1.ServiceType `json:"type"`
// Annotations is the map of annotations to apply to the Service.
Annotations map[string]string `json:"annotations,omitempty"`
}
ArgoCDAgentPrincipalServiceSpec defines the options for the Service backing the ArgoCD Agent Principalcomponent.
func (*ArgoCDAgentPrincipalServiceSpec) DeepCopy ¶
func (in *ArgoCDAgentPrincipalServiceSpec) DeepCopy() *ArgoCDAgentPrincipalServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDAgentPrincipalServiceSpec.
func (*ArgoCDAgentPrincipalServiceSpec) DeepCopyInto ¶
func (in *ArgoCDAgentPrincipalServiceSpec) DeepCopyInto(out *ArgoCDAgentPrincipalServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDAgentSpec ¶
type ArgoCDAgentSpec struct {
// Principal defines configurations for the Principal component of Argo CD Agent.
Principal *PrincipalSpec `json:"principal,omitempty"`
// Agent defines configurations for the Agent component of Argo CD Agent.
Agent *AgentSpec `json:"agent,omitempty"`
}
func (*ArgoCDAgentSpec) DeepCopy ¶
func (in *ArgoCDAgentSpec) DeepCopy() *ArgoCDAgentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDAgentSpec.
func (*ArgoCDAgentSpec) DeepCopyInto ¶
func (in *ArgoCDAgentSpec) DeepCopyInto(out *ArgoCDAgentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDApplicationControllerProcessorsSpec ¶
type ArgoCDApplicationControllerProcessorsSpec struct {
// Operation is the number of application operation processors.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Operation Processor Count",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Controller","urn:alm:descriptor:com.tectonic.ui:number"}
Operation int32 `json:"operation,omitempty"`
// Status is the number of application status processors.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Status Processor Count",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Controller","urn:alm:descriptor:com.tectonic.ui:number"}
Status int32 `json:"status,omitempty"`
}
ArgoCDApplicationControllerProcessorsSpec defines the options for the ArgoCD Application Controller processors.
func (*ArgoCDApplicationControllerProcessorsSpec) DeepCopy ¶
func (in *ArgoCDApplicationControllerProcessorsSpec) DeepCopy() *ArgoCDApplicationControllerProcessorsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationControllerProcessorsSpec.
func (*ArgoCDApplicationControllerProcessorsSpec) DeepCopyInto ¶
func (in *ArgoCDApplicationControllerProcessorsSpec) DeepCopyInto(out *ArgoCDApplicationControllerProcessorsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDApplicationControllerShardSpec ¶
type ArgoCDApplicationControllerShardSpec struct {
// Enabled defines whether sharding should be enabled on the Application Controller component.
Enabled bool `json:"enabled,omitempty"`
// Replicas defines the number of replicas to run in the Application controller shard.
Replicas int32 `json:"replicas,omitempty"`
// Deprecated: dynamicScalingEnabled is deprecated and will be removed in a future release.
// DynamicScalingEnabled defines whether dynamic scaling should be enabled for Application Controller component.
DynamicScalingEnabled *bool `json:"dynamicScalingEnabled,omitempty"`
// MinShards defines the minimum number of shards at any given point
// +kubebuilder:validation:Minimum=1
MinShards int32 `json:"minShards,omitempty"`
// MaxShards defines the maximum number of shards at any given point
MaxShards int32 `json:"maxShards,omitempty"`
// ClustersPerShard defines the maximum number of clusters managed by each argocd shard
// +kubebuilder:validation:Minimum=1
ClustersPerShard int32 `json:"clustersPerShard,omitempty"`
// DistributionAlgorithm determines what algorithm will be used for distribution of shards. Valid options are legacy, round-robin, and consistent-hashing
// +kubebuilder:validation:Enum=legacy;round-robin;consistent-hashing
DistributionAlgorithm string `json:"algorithm,omitempty"`
}
ArgoCDApplicationControllerShardSpec defines the options available for enabling sharding for the Application Controller component.
func (*ArgoCDApplicationControllerShardSpec) DeepCopy ¶
func (in *ArgoCDApplicationControllerShardSpec) DeepCopy() *ArgoCDApplicationControllerShardSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationControllerShardSpec.
func (*ArgoCDApplicationControllerShardSpec) DeepCopyInto ¶
func (in *ArgoCDApplicationControllerShardSpec) DeepCopyInto(out *ArgoCDApplicationControllerShardSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDApplicationControllerSpec ¶
type ArgoCDApplicationControllerSpec struct {
// InitContainers defines the list of initialization containers for the Application Controller component.
InitContainers []corev1.Container `json:"initContainers,omitempty"`
// Processors contains the options for the Application Controller processors.
Processors ArgoCDApplicationControllerProcessorsSpec `json:"processors,omitempty"`
// LogLevel refers to the log level used by the Application Controller component. Defaults to ArgoCDDefaultLogLevel if not configured. Valid options are debug, info, error, and warn.
LogLevel string `json:"logLevel,omitempty"`
// LogFormat refers to the log format used by the Application Controller component. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
LogFormat string `json:"logFormat,omitempty"`
// Resources defines the Compute Resources required by the container for the Application Controller.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Requirements",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Controller","urn:alm:descriptor:com.tectonic.ui:resourceRequirements"}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// ParallelismLimit defines the limit for parallel kubectl operations
ParallelismLimit int32 `json:"parallelismLimit,omitempty"`
// AppSync is used to control the sync frequency, by default the ArgoCD
// controller polls Git every 3m.
//
// Set this to a duration, e.g. 10m or 600s to control the synchronisation
// frequency.
// +optional
AppSync *metav1.Duration `json:"appSync,omitempty"`
// Sharding contains the options for the Application Controller sharding configuration.
Sharding ArgoCDApplicationControllerShardSpec `json:"sharding,omitempty"`
// SidecarContainers defines the list of sidecar containers for the controller deployment
SidecarContainers []corev1.Container `json:"sidecarContainers,omitempty"`
// Env lets you specify environment for application controller pods
Env []corev1.EnvVar `json:"env,omitempty"`
// Enabled is the flag to enable the Application Controller during ArgoCD installation. (optional, default `true`)
Enabled *bool `json:"enabled,omitempty"`
// Extra Command arguments allows users to pass command line arguments to controller workload. They get added to default command line arguments provided
// by the operator.
// Please note that the command line arguments provided as part of ExtraCommandArgs will not overwrite the default command line arguments.
ExtraCommandArgs []string `json:"extraCommandArgs,omitempty"`
// Volumes adds volumes to the Argo CD Controller container.
Volumes []corev1.Volume `json:"volumes,omitempty"`
// VolumeMounts adds volumeMounts to the Argo CD Controller container.
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
// Custom annotations to pods deployed by the operator
Annotations map[string]string `json:"annotations,omitempty"`
// Custom labels to pods deployed by the operator
Labels map[string]string `json:"labels,omitempty"`
// RespectRBAC restricts controller from discovering/syncing specific resources, Defaults is empty if not configured. Valid options are strict and normal.
RespectRBAC string `json:"respectRBAC,omitempty"`
// Metrics defines the metrics configuration for the Application Controller ServiceMonitor.
Metrics *ArgoCDMetricsSpec `json:"metrics,omitempty"`
}
ArgoCDApplicationControllerSpec defines the options for the ArgoCD Application Controller component.
func (*ArgoCDApplicationControllerSpec) DeepCopy ¶
func (in *ArgoCDApplicationControllerSpec) DeepCopy() *ArgoCDApplicationControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationControllerSpec.
func (*ArgoCDApplicationControllerSpec) DeepCopyInto ¶
func (in *ArgoCDApplicationControllerSpec) DeepCopyInto(out *ArgoCDApplicationControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDApplicationControllerSpec) IsEnabled ¶
func (a *ArgoCDApplicationControllerSpec) IsEnabled() bool
type ArgoCDApplicationSet ¶
type ArgoCDApplicationSet struct {
// Env lets you specify environment for applicationSet controller pods
Env []corev1.EnvVar `json:"env,omitempty"`
// ExtraCommandArgs allows users to pass command line arguments to ApplicationSet controller.
// They get added to default command line arguments provided by the operator.
// Please note that the command line arguments provided as part of ExtraCommandArgs
// will not overwrite the default command line arguments.
ExtraCommandArgs []string `json:"extraCommandArgs,omitempty"`
// Image is the Argo CD ApplicationSet image (optional)
Image string `json:"image,omitempty"`
// Version is the Argo CD ApplicationSet image tag. (optional)
Version string `json:"version,omitempty"`
// Resources defines the Compute Resources required by the container for ApplicationSet.
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// LogLevel describes the log level that should be used by the ApplicationSet controller. Defaults to ArgoCDDefaultLogLevel if not set. Valid options are debug,info, error, and warn.
LogLevel string `json:"logLevel,omitempty"`
WebhookServer WebhookServerSpec `json:"webhookServer,omitempty"`
// SCMRootCAConfigMap is the name of the config map that stores the Gitlab SCM Provider's TLS certificate which will be mounted on the ApplicationSet Controller (optional).
SCMRootCAConfigMap string `json:"scmRootCAConfigMap,omitempty"`
// Enabled is the flag to enable the Application Set Controller during ArgoCD installation. (optional, default `true`)
Enabled *bool `json:"enabled,omitempty"`
// SourceNamespaces defines the namespaces applicationset resources are allowed to be created in
SourceNamespaces []string `json:"sourceNamespaces,omitempty"`
// SCMProviders defines the list of allowed custom SCM provider API URLs
SCMProviders []string `json:"scmProviders,omitempty"`
// Custom annotations to pods deployed by the operator
Annotations map[string]string `json:"annotations,omitempty"`
// Custom labels to pods deployed by the operator
Labels map[string]string `json:"labels,omitempty"`
// Volumes adds volumes to the Argo CD ApplicationSet Controller container.
Volumes []corev1.Volume `json:"volumes,omitempty"`
// VolumeMounts adds volumeMounts to the Argo CD ApplicationSet Controller container.
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
// Deprecated: use LogFormat instead.
Logformat string `json:"logformat,omitempty"`
// LogFormat refers to the log format used by the ApplicationSet component. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
// +kubebuilder:validation:Enum=text;json
LogFormat string `json:"logFormat,omitempty"`
}
ArgoCDApplicationSet defines whether the Argo CD ApplicationSet controller should be installed.
func (*ArgoCDApplicationSet) DeepCopy ¶
func (in *ArgoCDApplicationSet) DeepCopy() *ArgoCDApplicationSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationSet.
func (*ArgoCDApplicationSet) DeepCopyInto ¶
func (in *ArgoCDApplicationSet) DeepCopyInto(out *ArgoCDApplicationSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDApplicationSet) IsEnabled ¶
func (a *ArgoCDApplicationSet) IsEnabled() bool
type ArgoCDCASpec ¶
type ArgoCDCASpec struct {
// ConfigMapName is the name of the ConfigMap containing the CA Certificate.
ConfigMapName string `json:"configMapName,omitempty"`
// SecretName is the name of the Secret containing the CA Certificate and Key.
SecretName string `json:"secretName,omitempty"`
}
ArgoCDCASpec defines the CA options for ArgCD.
func (*ArgoCDCASpec) DeepCopy ¶
func (in *ArgoCDCASpec) DeepCopy() *ArgoCDCASpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDCASpec.
func (*ArgoCDCASpec) DeepCopyInto ¶
func (in *ArgoCDCASpec) DeepCopyInto(out *ArgoCDCASpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDCertificateSpec ¶
type ArgoCDCertificateSpec struct {
// SecretName is the name of the Secret containing the Certificate and Key.
SecretName string `json:"secretName"`
}
ArgoCDCertificateSpec defines the options for the ArgoCD certificates.
func (*ArgoCDCertificateSpec) DeepCopy ¶
func (in *ArgoCDCertificateSpec) DeepCopy() *ArgoCDCertificateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDCertificateSpec.
func (*ArgoCDCertificateSpec) DeepCopyInto ¶
func (in *ArgoCDCertificateSpec) DeepCopyInto(out *ArgoCDCertificateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDCommitServerSpec ¶
type ArgoCDCommitServerSpec struct {
// InitContainers defines the list of initialization containers.
InitContainers []corev1.Container `json:"initContainers,omitempty"`
// LogLevel refers to the log level to be used by the component. Defaults to ArgoCDDefaultLogLevel if not set. Valid options are debug, info, error, and warn.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Log Level",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:CommitServer","urn:alm:descriptor:com.tectonic.ui:text"}
LogLevel string `json:"logLevel,omitempty"`
// LogFormat refers to the log level to be used by the component. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Log Format",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:CommitServer","urn:alm:descriptor:com.tectonic.ui:text"}
LogFormat string `json:"logFormat,omitempty"`
// Resources defines the Compute Resources required by the container for the component.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Requirements",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:CommitServer","urn:alm:descriptor:com.tectonic.ui:resourceRequirements"}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// Env lets specifies the environment variables for the pods.
Env []corev1.EnvVar `json:"env,omitempty"`
// Custom annotations to pods deployed by the operator
Annotations map[string]string `json:"annotations,omitempty"`
// Custom labels to pods deployed by the operator
Labels map[string]string `json:"labels,omitempty"`
}
func (*ArgoCDCommitServerSpec) DeepCopy ¶
func (in *ArgoCDCommitServerSpec) DeepCopy() *ArgoCDCommitServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDCommitServerSpec.
func (*ArgoCDCommitServerSpec) DeepCopyInto ¶
func (in *ArgoCDCommitServerSpec) DeepCopyInto(out *ArgoCDCommitServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDDexSpec ¶
type ArgoCDDexSpec struct {
//Config is the dex connector configuration.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Configuration",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Dex","urn:alm:descriptor:com.tectonic.ui:text"}
Config string `json:"config,omitempty"`
// Optional list of required groups a user must be a member of
Groups []string `json:"groups,omitempty"`
// Image is the Dex container image.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Image",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Dex","urn:alm:descriptor:com.tectonic.ui:text"}
Image string `json:"image,omitempty"`
// OpenShiftOAuth enables OpenShift OAuth authentication for the Dex server.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="OpenShift OAuth Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Dex","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
OpenShiftOAuth bool `json:"openShiftOAuth,omitempty"`
// Resources defines the Compute Resources required by the container for Dex.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Requirements",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Dex","urn:alm:descriptor:com.tectonic.ui:resourceRequirements"}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// Version is the Dex container image tag.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Dex","urn:alm:descriptor:com.tectonic.ui:text"}
Version string `json:"version,omitempty"`
// Env lets you specify environment variables for Dex.
Env []corev1.EnvVar `json:"env,omitempty"`
// Volumes adds volumes to the dex server container
Volumes []corev1.Volume `json:"volumes,omitempty"`
// VolumeMounts adds volumeMounts to the dex server container
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
// Custom annotations to pods deployed by the operator
Annotations map[string]string `json:"annotations,omitempty"`
// Custom labels to pods deployed by the operator
Labels map[string]string `json:"labels,omitempty"`
}
ArgoCDDexSpec defines the desired state for the Dex server component.
func (*ArgoCDDexSpec) DeepCopy ¶
func (in *ArgoCDDexSpec) DeepCopy() *ArgoCDDexSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDDexSpec.
func (*ArgoCDDexSpec) DeepCopyInto ¶
func (in *ArgoCDDexSpec) DeepCopyInto(out *ArgoCDDexSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDGrafanaSpec ¶
type ArgoCDGrafanaSpec struct {
// Enabled will toggle Grafana support globally for ArgoCD.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Grafana","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
Enabled bool `json:"enabled"`
// Host is the hostname to use for Ingress/Route resources.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Host",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Grafana","urn:alm:descriptor:com.tectonic.ui:text"}
Host string `json:"host,omitempty"`
// Image is the Grafana container image.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Image",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Grafana","urn:alm:descriptor:com.tectonic.ui:text"}
Image string `json:"image,omitempty"`
// Ingress defines the desired state for an Ingress for the Grafana component.
Ingress ArgoCDIngressSpec `json:"ingress,omitempty"`
// Resources defines the Compute Resources required by the container for Grafana.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Requirements",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Grafana","urn:alm:descriptor:com.tectonic.ui:resourceRequirements"}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// Route defines the desired state for an OpenShift Route for the Grafana component.
Route ArgoCDRouteSpec `json:"route,omitempty"`
// Size is the replica count for the Grafana Deployment.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Size",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Grafana","urn:alm:descriptor:com.tectonic.ui:podCount"}
Size *int32 `json:"size,omitempty"`
// Version is the Grafana container image tag.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Grafana","urn:alm:descriptor:com.tectonic.ui:text"}
Version string `json:"version,omitempty"`
}
ArgoCDGrafanaSpec defines the desired state for the Grafana component.
func (*ArgoCDGrafanaSpec) DeepCopy ¶
func (in *ArgoCDGrafanaSpec) DeepCopy() *ArgoCDGrafanaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDGrafanaSpec.
func (*ArgoCDGrafanaSpec) DeepCopyInto ¶
func (in *ArgoCDGrafanaSpec) DeepCopyInto(out *ArgoCDGrafanaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDHASpec ¶
type ArgoCDHASpec struct {
// Enabled will toggle HA support globally for Argo CD.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:HA","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
Enabled bool `json:"enabled"`
// RedisProxyImage is the Redis HAProxy container image.
RedisProxyImage string `json:"redisProxyImage,omitempty"`
// RedisProxyVersion is the Redis HAProxy container image tag.
RedisProxyVersion string `json:"redisProxyVersion,omitempty"`
// Resources defines the Compute Resources required by the container for HA.
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}
ArgoCDHASpec defines the desired state for High Availability support for Argo CD.
func (*ArgoCDHASpec) DeepCopy ¶
func (in *ArgoCDHASpec) DeepCopy() *ArgoCDHASpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDHASpec.
func (*ArgoCDHASpec) DeepCopyInto ¶
func (in *ArgoCDHASpec) DeepCopyInto(out *ArgoCDHASpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDImageUpdaterSpec ¶
type ArgoCDImageUpdaterSpec struct {
// Enabled defines whether argocd image updater controller should be deployed or not
Enabled bool `json:"enabled"`
// Image is the image to be used for the Argo CD Image Updater
Image string `json:"image,omitempty"`
// Env let you specify environment variables for ImageUpdater pods
Env []corev1.EnvVar `json:"env,omitempty"`
// Resources defines the Compute Resources required by the container for Argo CD Image Updater.
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}
ArgoCDImageUpdaterSpec defines whether the Argo CD Image Updater controller should be installed.
func (*ArgoCDImageUpdaterSpec) DeepCopy ¶
func (in *ArgoCDImageUpdaterSpec) DeepCopy() *ArgoCDImageUpdaterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDImageUpdaterSpec.
func (*ArgoCDImageUpdaterSpec) DeepCopyInto ¶
func (in *ArgoCDImageUpdaterSpec) DeepCopyInto(out *ArgoCDImageUpdaterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDImportSpec ¶
type ArgoCDImportSpec struct {
// Name of an ArgoCDExport from which to import data.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Name",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Import","urn:alm:descriptor:com.tectonic.ui:text"}
Name string `json:"name"`
// Namespace for the ArgoCDExport, defaults to the same namespace as the ArgoCD.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Namespace",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Import","urn:alm:descriptor:com.tectonic.ui:text"}
Namespace *string `json:"namespace,omitempty"`
}
ArgoCDImportSpec defines the desired state for the ArgoCD import/restore process.
func (*ArgoCDImportSpec) DeepCopy ¶
func (in *ArgoCDImportSpec) DeepCopy() *ArgoCDImportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDImportSpec.
func (*ArgoCDImportSpec) DeepCopyInto ¶
func (in *ArgoCDImportSpec) DeepCopyInto(out *ArgoCDImportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDIngressSpec ¶
type ArgoCDIngressSpec struct {
// Annotations is the map of annotations to apply to the Ingress.
Annotations map[string]string `json:"annotations,omitempty"`
// Enabled will toggle the creation of the Ingress.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Ingress Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Grafana","urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus","urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
Enabled bool `json:"enabled"`
// IngressClassName for the Ingress resource.
IngressClassName *string `json:"ingressClassName,omitempty"`
// Path used for the Ingress resource.
Path string `json:"path,omitempty"`
// TLS configuration. Currently the Ingress only supports a single TLS
// port, 443. If multiple members of this list specify different hosts, they
// will be multiplexed on the same port according to the hostname specified
// through the SNI TLS extension, if the ingress controller fulfilling the
// ingress supports SNI.
// +optional
TLS []networkingv1.IngressTLS `json:"tls,omitempty"`
}
ArgoCDIngressSpec defines the desired state for the Ingress resources.
func (*ArgoCDIngressSpec) DeepCopy ¶
func (in *ArgoCDIngressSpec) DeepCopy() *ArgoCDIngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDIngressSpec.
func (*ArgoCDIngressSpec) DeepCopyInto ¶
func (in *ArgoCDIngressSpec) DeepCopyInto(out *ArgoCDIngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDKeycloakSpec ¶
type ArgoCDKeycloakSpec struct {
// Image is the Keycloak container image.
Image string `json:"image,omitempty"`
// Resources defines the Compute Resources required by the container for Keycloak.
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// Custom root CA certificate for communicating with the Keycloak OIDC provider
RootCA string `json:"rootCA,omitempty"`
// Version is the Keycloak container image tag.
Version string `json:"version,omitempty"`
// VerifyTLS set to false disables strict TLS validation.
VerifyTLS *bool `json:"verifyTLS,omitempty"`
// Host is the hostname to use for Ingress/Route resources.
Host string `json:"host,omitempty"`
}
ArgoCDKeycloakSpec defines the desired state for the Keycloak component.
func (*ArgoCDKeycloakSpec) DeepCopy ¶
func (in *ArgoCDKeycloakSpec) DeepCopy() *ArgoCDKeycloakSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDKeycloakSpec.
func (*ArgoCDKeycloakSpec) DeepCopyInto ¶
func (in *ArgoCDKeycloakSpec) DeepCopyInto(out *ArgoCDKeycloakSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDList ¶
type ArgoCDList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ArgoCD `json:"items"`
}
ArgoCDList contains a list of ArgoCD
func (*ArgoCDList) DeepCopy ¶
func (in *ArgoCDList) DeepCopy() *ArgoCDList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDList.
func (*ArgoCDList) DeepCopyInto ¶
func (in *ArgoCDList) DeepCopyInto(out *ArgoCDList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDList) DeepCopyObject ¶
func (in *ArgoCDList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArgoCDMetricsSpec ¶
type ArgoCDMetricsSpec struct {
// Interval specifies the Prometheus scrape interval for this component's ServiceMonitor.
// If empty, Prometheus uses its default scrape interval.
Interval string `json:"interval,omitempty"`
// ScrapeTimeout specifies the Prometheus scrape timeout for this component's ServiceMonitor.
// If empty, Prometheus uses the global scrape timeout.
ScrapeTimeout string `json:"scrapeTimeout,omitempty"`
}
ArgoCDMetricsSpec defines the metrics configuration for a component's ServiceMonitor.
func (*ArgoCDMetricsSpec) DeepCopy ¶
func (in *ArgoCDMetricsSpec) DeepCopy() *ArgoCDMetricsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDMetricsSpec.
func (*ArgoCDMetricsSpec) DeepCopyInto ¶
func (in *ArgoCDMetricsSpec) DeepCopyInto(out *ArgoCDMetricsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDMonitoringSpec ¶
type ArgoCDMonitoringSpec struct {
// Enabled defines whether workload status monitoring is enabled for this instance or not
Enabled bool `json:"enabled"`
// DisableMetrics field can be used to enable or disable the collection of Metrics on Openshift
DisableMetrics *bool `json:"disableMetrics,omitempty"`
}
ArgoCDMonitoringSpec is used to configure workload status monitoring for a given Argo CD instance. It triggers creation of serviceMonitor and PrometheusRules that alert users when a given workload status meets a certain criteria. For e.g, it can fire an alert if the application controller is pending for x mins consecutively.
func (*ArgoCDMonitoringSpec) DeepCopy ¶
func (in *ArgoCDMonitoringSpec) DeepCopy() *ArgoCDMonitoringSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDMonitoringSpec.
func (*ArgoCDMonitoringSpec) DeepCopyInto ¶
func (in *ArgoCDMonitoringSpec) DeepCopyInto(out *ArgoCDMonitoringSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDNetworkPolicySpec ¶
type ArgoCDNetworkPolicySpec struct {
// Enabled defines whether NetworkPolicy resources are created for this Argo CD instance.
// When enabled, the operator will reconcile NetworkPolicies for Argo CD components.
// When disabled, the operator will remove any previously-created NetworkPolicies.
Enabled *bool `json:"enabled,omitempty"`
}
ArgoCDNetworkPolicySpec defines whether the operator should create NetworkPolicies for an Argo CD instance.
func (*ArgoCDNetworkPolicySpec) DeepCopy ¶
func (in *ArgoCDNetworkPolicySpec) DeepCopy() *ArgoCDNetworkPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDNetworkPolicySpec.
func (*ArgoCDNetworkPolicySpec) DeepCopyInto ¶
func (in *ArgoCDNetworkPolicySpec) DeepCopyInto(out *ArgoCDNetworkPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDNetworkPolicySpec) IsEnabled ¶
func (a *ArgoCDNetworkPolicySpec) IsEnabled() bool
type ArgoCDNodePlacementSpec ¶
type ArgoCDNodePlacementSpec struct {
// NodeSelector is a field of PodSpec, it is a map of key value pairs used for node selection
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// Tolerations allow the pods to schedule onto nodes with matching taints
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
}
ArgoCDNodePlacementSpec is used to specify NodeSelector and Tolerations for Argo CD workloads
func (*ArgoCDNodePlacementSpec) DeepCopy ¶
func (in *ArgoCDNodePlacementSpec) DeepCopy() *ArgoCDNodePlacementSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDNodePlacementSpec.
func (*ArgoCDNodePlacementSpec) DeepCopyInto ¶
func (in *ArgoCDNodePlacementSpec) DeepCopyInto(out *ArgoCDNodePlacementSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDNotifications ¶
type ArgoCDNotifications struct {
// Replicas defines the number of replicas to run for notifications-controller
Replicas *int32 `json:"replicas,omitempty"`
// Enabled defines whether argocd-notifications controller should be deployed or not
Enabled bool `json:"enabled"`
// SourceNamespaces is a list of namespaces from which the notifications controller will watch for ArgoCD Notification resources.
SourceNamespaces []string `json:"sourceNamespaces,omitempty"`
// Env let you specify environment variables for Notifications pods
Env []corev1.EnvVar `json:"env,omitempty"`
// Image is the Argo CD Notifications image (optional)
Image string `json:"image,omitempty"`
// Version is the Argo CD Notifications image tag. (optional)
Version string `json:"version,omitempty"`
// Resources defines the Compute Resources required by the container for Argo CD Notifications.
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// LogLevel describes the log level that should be used by the argocd-notifications. Defaults to ArgoCDDefaultLogLevel if not set. Valid options are debug,info, error, and warn.
LogLevel string `json:"logLevel,omitempty"`
// Deprecated: use LogFormat instead.
Logformat string `json:"logformat,omitempty"`
// LogFormat refers to the log format used by the argocd-notifications. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
// +kubebuilder:validation:Enum=text;json
LogFormat string `json:"logFormat,omitempty"`
// Metrics defines the metrics configuration for the Notifications ServiceMonitor.
Metrics *ArgoCDMetricsSpec `json:"metrics,omitempty"`
}
ArgoCDNotifications defines whether the Argo CD Notifications controller should be installed.
func (*ArgoCDNotifications) DeepCopy ¶
func (in *ArgoCDNotifications) DeepCopy() *ArgoCDNotifications
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDNotifications.
func (*ArgoCDNotifications) DeepCopyInto ¶
func (in *ArgoCDNotifications) DeepCopyInto(out *ArgoCDNotifications)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDPrometheusSpec ¶
type ArgoCDPrometheusSpec struct {
// Enabled will toggle Prometheus support globally for ArgoCD.
// When set to true, ServiceMonitors and PrometheusRules will be created for Argo CD metrics.
// The Prometheus CR, Route, and Ingress are deprecated and will no longer be created.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
Enabled bool `json:"enabled"`
// Host is the hostname to use for Ingress/Route resources.
// Deprecated: This field is no longer used and will be ignored.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Host",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus","urn:alm:descriptor:com.tectonic.ui:text"}
Host string `json:"host,omitempty"`
// Ingress defines the desired state for an Ingress for the Prometheus component.
// Deprecated: This field is no longer used and will be ignored.
Ingress ArgoCDIngressSpec `json:"ingress,omitempty"`
// Route defines the desired state for an OpenShift Route for the Prometheus component.
// Deprecated: This field is no longer used and will be ignored.
Route ArgoCDRouteSpec `json:"route,omitempty"`
// Size is the replica count for the Prometheus StatefulSet.
// Deprecated: This field is no longer used and will be ignored.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Size",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus","urn:alm:descriptor:com.tectonic.ui:podCount"}
Size *int32 `json:"size,omitempty"`
}
ArgoCDPrometheusSpec defines the desired state for the Prometheus component.
func (*ArgoCDPrometheusSpec) DeepCopy ¶
func (in *ArgoCDPrometheusSpec) DeepCopy() *ArgoCDPrometheusSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDPrometheusSpec.
func (*ArgoCDPrometheusSpec) DeepCopyInto ¶
func (in *ArgoCDPrometheusSpec) DeepCopyInto(out *ArgoCDPrometheusSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDRBACSpec ¶
type ArgoCDRBACSpec struct {
// DefaultPolicy is the name of the default role which Argo CD will falls back to, when
// authorizing API requests (optional). If omitted or empty, users may be still be able to login,
// but will see no apps, projects, etc...
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Default Policy",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:RBAC","urn:alm:descriptor:com.tectonic.ui:text"}
DefaultPolicy *string `json:"defaultPolicy,omitempty"`
// Policy is CSV containing user-defined RBAC policies and role definitions.
// Policy rules are in the form:
// p, subject, resource, action, object, effect
// Role definitions and bindings are in the form:
// g, subject, inherited-subject
// See https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md for additional information.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Policy",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:RBAC","urn:alm:descriptor:com.tectonic.ui:text"}
Policy *string `json:"policy,omitempty"`
// Scopes controls which OIDC scopes to examine during rbac enforcement (in addition to `sub` scope).
// If omitted, defaults to: '[groups]'.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Scopes",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:RBAC","urn:alm:descriptor:com.tectonic.ui:text"}
Scopes *string `json:"scopes,omitempty"`
// PolicyMatcherMode configures the matchers function mode for casbin.
// There are two options for this, 'glob' for glob matcher or 'regex' for regex matcher.
PolicyMatcherMode *string `json:"policyMatcherMode,omitempty"`
}
ArgoCDRBACSpec defines the desired state for the Argo CD RBAC configuration.
func (*ArgoCDRBACSpec) DeepCopy ¶
func (in *ArgoCDRBACSpec) DeepCopy() *ArgoCDRBACSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRBACSpec.
func (*ArgoCDRBACSpec) DeepCopyInto ¶
func (in *ArgoCDRBACSpec) DeepCopyInto(out *ArgoCDRBACSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDRedisSpec ¶
type ArgoCDRedisSpec struct {
// Image is the Redis container image.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Image",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Redis","urn:alm:descriptor:com.tectonic.ui:text"}
Image string `json:"image,omitempty"`
// Resources defines the Compute Resources required by the container for Redis.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Requirements",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Redis","urn:alm:descriptor:com.tectonic.ui:resourceRequirements"}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// Version is the Redis container image tag.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Redis","urn:alm:descriptor:com.tectonic.ui:text"}
Version string `json:"version,omitempty"`
// DisableTLSVerification defines whether redis server API should be accessed using strict TLS validation
DisableTLSVerification bool `json:"disableTLSVerification,omitempty"`
// AutoTLS specifies the method to use for automatic TLS configuration for the redis server
// The value specified here can currently be:
// - openshift - Use the OpenShift service CA to request TLS config
AutoTLS string `json:"autotls,omitempty"`
// Enabled is the flag to enable Redis during ArgoCD installation. (optional, default `true`)
Enabled *bool `json:"enabled,omitempty"`
// Remote specifies the remote URL of the Redis container. (optional, by default, a local instance managed by the operator is used.)
Remote *string `json:"remote,omitempty"`
// Custom annotations to pods deployed by the operator
Annotations map[string]string `json:"annotations,omitempty"`
// Custom labels to pods deployed by the operator
Labels map[string]string `json:"labels,omitempty"`
}
ArgoCDRedisSpec defines the desired state for the Redis server component.
func (*ArgoCDRedisSpec) DeepCopy ¶
func (in *ArgoCDRedisSpec) DeepCopy() *ArgoCDRedisSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRedisSpec.
func (*ArgoCDRedisSpec) DeepCopyInto ¶
func (in *ArgoCDRedisSpec) DeepCopyInto(out *ArgoCDRedisSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDRedisSpec) IsEnabled ¶
func (a *ArgoCDRedisSpec) IsEnabled() bool
func (*ArgoCDRedisSpec) IsRemote ¶
func (a *ArgoCDRedisSpec) IsRemote() bool
func (*ArgoCDRedisSpec) WantsAutoTLS ¶
func (r *ArgoCDRedisSpec) WantsAutoTLS() bool
WantsAutoTLS returns true if the redis server configuration has set the autoTLS toggle to a supported provider.
type ArgoCDRepoSpec ¶
type ArgoCDRepoSpec struct {
// Extra Command arguments allows users to pass command line arguments to repo server workload. They get added to default command line arguments provided
// by the operator.
// Please note that the command line arguments provided as part of ExtraRepoCommandArgs will not overwrite the default command line arguments.
ExtraRepoCommandArgs []string `json:"extraRepoCommandArgs,omitempty"`
// LogLevel describes the log level that should be used by the Repo Server. Defaults to ArgoCDDefaultLogLevel if not set. Valid options are debug, info, error, and warn.
LogLevel string `json:"logLevel,omitempty"`
// LogFormat describes the log format that should be used by the Repo Server. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
LogFormat string `json:"logFormat,omitempty"`
// MountSAToken describes whether you would like to have the Repo server mount the service account token
MountSAToken bool `json:"mountsatoken,omitempty"`
// Replicas defines the number of replicas for argocd-repo-server. Value should be greater than or equal to 0. Default is nil.
Replicas *int32 `json:"replicas,omitempty"`
// Resources defines the Compute Resources required by the container for Redis.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Requirements",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Repo","urn:alm:descriptor:com.tectonic.ui:resourceRequirements"}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// ServiceAccount defines the ServiceAccount user that you would like the Repo server to use
ServiceAccount string `json:"serviceaccount,omitempty"`
// VerifyTLS defines whether repo server API should be accessed using strict TLS validation
VerifyTLS bool `json:"verifytls,omitempty"`
// AutoTLS specifies the method to use for automatic TLS configuration for the repo server
// The value specified here can currently be:
// - openshift - Use the OpenShift service CA to request TLS config
AutoTLS string `json:"autotls,omitempty"`
// Image is the ArgoCD Repo Server container image.
Image string `json:"image,omitempty"`
// Version is the ArgoCD Repo Server container image tag.
Version string `json:"version,omitempty"`
// ExecTimeout specifies the timeout in seconds for tool execution
ExecTimeout *int `json:"execTimeout,omitempty"`
// Env lets you specify environment for repo server pods
Env []corev1.EnvVar `json:"env,omitempty"`
// Volumes adds volumes to the repo server deployment
Volumes []corev1.Volume `json:"volumes,omitempty"`
// VolumeMounts adds volumeMounts to the repo server container
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
// InitContainers defines the list of initialization containers for the repo server deployment
InitContainers []corev1.Container `json:"initContainers,omitempty"`
// SidecarContainers defines the list of sidecar containers for the repo
// server deployment. If the image field is omitted from a SidecarContainer,
// the image for the repo server will be used.
SidecarContainers []corev1.Container `json:"sidecarContainers,omitempty"`
// Enabled is the flag to enable Repo Server during ArgoCD installation. (optional, default `true`)
Enabled *bool `json:"enabled,omitempty"`
// Remote specifies the remote URL of the Repo Server container. (optional, by default, a local instance managed by the operator is used.)
Remote *string `json:"remote,omitempty"`
// Custom annotations to pods deployed by the operator
Annotations map[string]string `json:"annotations,omitempty"`
// Custom labels to pods deployed by the operator
Labels map[string]string `json:"labels,omitempty"`
// Custom certificates to inject into the repo server container and its plugins to trust source hosting sites
SystemCATrust *ArgoCDSystemCATrustSpec `json:"systemCATrust,omitempty"`
// Metrics defines the metrics configuration for the Repo Server ServiceMonitor.
Metrics *ArgoCDMetricsSpec `json:"metrics,omitempty"`
}
ArgoCDRepoSpec defines the desired state for the Argo CD repo server component.
func (*ArgoCDRepoSpec) DeepCopy ¶
func (in *ArgoCDRepoSpec) DeepCopy() *ArgoCDRepoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRepoSpec.
func (*ArgoCDRepoSpec) DeepCopyInto ¶
func (in *ArgoCDRepoSpec) DeepCopyInto(out *ArgoCDRepoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDRepoSpec) IsEnabled ¶
func (a *ArgoCDRepoSpec) IsEnabled() bool
func (*ArgoCDRepoSpec) IsRemote ¶
func (a *ArgoCDRepoSpec) IsRemote() bool
func (*ArgoCDRepoSpec) WantsAutoTLS ¶
func (r *ArgoCDRepoSpec) WantsAutoTLS() bool
WantsAutoTLS returns true if the repository server configuration has set the autoTLS toggle to a supported provider.
type ArgoCDRouteSpec ¶
type ArgoCDRouteSpec struct {
// Annotations is the map of annotations to use for the Route resource.
Annotations map[string]string `json:"annotations,omitempty"`
// Labels is the map of labels to use for the Route resource
Labels map[string]string `json:"labels,omitempty"`
// Enabled will toggle the creation of the OpenShift Route.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Route Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Grafana","urn:alm:descriptor:com.tectonic.ui:fieldGroup:Prometheus","urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
Enabled bool `json:"enabled"`
// Path the router watches for, to route traffic for to the service.
Path string `json:"path,omitempty"`
// TLS provides the ability to configure certificates and termination for the Route.
TLS *routev1.TLSConfig `json:"tls,omitempty"`
// WildcardPolicy if any for the route. Currently only 'Subdomain' or 'None' is allowed.
WildcardPolicy *routev1.WildcardPolicyType `json:"wildcardPolicy,omitempty"`
}
ArgoCDRouteSpec defines the desired state for an OpenShift Route.
func (*ArgoCDRouteSpec) DeepCopy ¶
func (in *ArgoCDRouteSpec) DeepCopy() *ArgoCDRouteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRouteSpec.
func (*ArgoCDRouteSpec) DeepCopyInto ¶
func (in *ArgoCDRouteSpec) DeepCopyInto(out *ArgoCDRouteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDRouteSpec) UseExternalCertificate ¶
func (r *ArgoCDRouteSpec) UseExternalCertificate() bool
UseExternalCertificate return true if .route.tls.externalCertificate is set
type ArgoCDSSOSpec ¶
type ArgoCDSSOSpec struct {
// Provider installs and configures the given SSO Provider with Argo CD.
Provider SSOProviderType `json:"provider,omitempty"`
// Dex contains the configuration for Argo CD dex authentication
Dex *ArgoCDDexSpec `json:"dex,omitempty"`
// Keycloak contains the configuration for Argo CD keycloak authentication
// Removed: This field is no longer supported and the related functionality has been removed.
Keycloak *ArgoCDKeycloakSpec `json:"keycloak,omitempty"`
}
ArgoCDSSOSpec defines SSO provider.
func (*ArgoCDSSOSpec) DeepCopy ¶
func (in *ArgoCDSSOSpec) DeepCopy() *ArgoCDSSOSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDSSOSpec.
func (*ArgoCDSSOSpec) DeepCopyInto ¶
func (in *ArgoCDSSOSpec) DeepCopyInto(out *ArgoCDSSOSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDSSOSpec) IsEnabled ¶
func (a *ArgoCDSSOSpec) IsEnabled() bool
type ArgoCDServerAutoscaleSpec ¶
type ArgoCDServerAutoscaleSpec struct {
// Enabled will toggle autoscaling support for the Argo CD Server component.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Autoscale Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
Enabled bool `json:"enabled"`
// HPA defines the HorizontalPodAutoscaler options for the Argo CD Server component.
HPA *autoscaling.HorizontalPodAutoscalerSpec `json:"hpa,omitempty"`
}
ArgoCDServerAutoscaleSpec defines the desired state for autoscaling the Argo CD Server component.
func (*ArgoCDServerAutoscaleSpec) DeepCopy ¶
func (in *ArgoCDServerAutoscaleSpec) DeepCopy() *ArgoCDServerAutoscaleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDServerAutoscaleSpec.
func (*ArgoCDServerAutoscaleSpec) DeepCopyInto ¶
func (in *ArgoCDServerAutoscaleSpec) DeepCopyInto(out *ArgoCDServerAutoscaleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDServerGRPCSpec ¶
type ArgoCDServerGRPCSpec struct {
// Host is the hostname to use for Ingress/Route resources.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="GRPC Host",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:text"}
Host string `json:"host,omitempty"`
// Ingress defines the desired state for the Argo CD Server GRPC Ingress.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="GRPC Ingress Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
Ingress ArgoCDIngressSpec `json:"ingress,omitempty"`
}
ArgoCDServerGRPCSpec defines the desired state for the Argo CD Server GRPC options.
func (*ArgoCDServerGRPCSpec) DeepCopy ¶
func (in *ArgoCDServerGRPCSpec) DeepCopy() *ArgoCDServerGRPCSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDServerGRPCSpec.
func (*ArgoCDServerGRPCSpec) DeepCopyInto ¶
func (in *ArgoCDServerGRPCSpec) DeepCopyInto(out *ArgoCDServerGRPCSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDServerServiceSpec ¶
type ArgoCDServerServiceSpec struct {
// Type is the ServiceType to use for the Service resource.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Service Type",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:text"}
Type corev1.ServiceType `json:"type"`
}
ArgoCDServerServiceSpec defines the Service options for Argo CD Server component.
func (*ArgoCDServerServiceSpec) DeepCopy ¶
func (in *ArgoCDServerServiceSpec) DeepCopy() *ArgoCDServerServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDServerServiceSpec.
func (*ArgoCDServerServiceSpec) DeepCopyInto ¶
func (in *ArgoCDServerServiceSpec) DeepCopyInto(out *ArgoCDServerServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDServerSpec ¶
type ArgoCDServerSpec struct {
// Autoscale defines the autoscale options for the Argo CD Server component.
Autoscale ArgoCDServerAutoscaleSpec `json:"autoscale,omitempty"`
// EnableRolloutsUI will add the Argo Rollouts UI extension in ArgoCD Dashboard.
EnableRolloutsUI bool `json:"enableRolloutsUI,omitempty"`
// GRPC defines the state for the Argo CD Server GRPC options.
GRPC ArgoCDServerGRPCSpec `json:"grpc,omitempty"`
// InitContainers defines the list of initialization containers for the Argo CD Server component.
InitContainers []corev1.Container `json:"initContainers,omitempty"`
// Host is the hostname to use for Ingress/Route resources.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Host",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:text"}
Host string `json:"host,omitempty"`
// Ingress defines the desired state for an Ingress for the Argo CD Server component.
Ingress ArgoCDIngressSpec `json:"ingress,omitempty"`
// Insecure toggles the insecure flag.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Insecure",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
Insecure bool `json:"insecure,omitempty"`
// LogLevel refers to the log level to be used by the ArgoCD Server component. Defaults to ArgoCDDefaultLogLevel if not set. Valid options are debug, info, error, and warn.
LogLevel string `json:"logLevel,omitempty"`
// LogFormat refers to the log level to be used by the ArgoCD Server component. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
LogFormat string `json:"logFormat,omitempty"`
// Replicas defines the number of replicas for argocd-server. Default is nil. Value should be greater than or equal to 0. Value will be ignored if Autoscaler is enabled.
Replicas *int32 `json:"replicas,omitempty"`
// Resources defines the Compute Resources required by the container for the Argo CD server component.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Requirements",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:resourceRequirements"}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// Route defines the desired state for an OpenShift Route for the Argo CD Server component.
Route ArgoCDRouteSpec `json:"route,omitempty"`
// Service defines the options for the Service backing the ArgoCD Server component.
Service ArgoCDServerServiceSpec `json:"service,omitempty"`
// SidecarContainers defines the list of sidecar containers for the server deployment
SidecarContainers []corev1.Container `json:"sidecarContainers,omitempty"`
// Env lets you specify environment for API server pods
Env []corev1.EnvVar `json:"env,omitempty"`
// Extra Command arguments that would append to the Argo CD server command.
// ExtraCommandArgs will not be added, if one of these commands is already part of the server command
// with same or different value.
ExtraCommandArgs []string `json:"extraCommandArgs,omitempty"`
// Enabled is the flag to enable ArgoCD Server during ArgoCD installation. (optional, default `true`)
Enabled *bool `json:"enabled,omitempty"`
// Volumes adds volumes to the Argo CD Server container.
Volumes []corev1.Volume `json:"volumes,omitempty"`
// VolumeMounts adds volumeMounts to the Argo CD Server container.
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
// Custom annotations to pods deployed by the operator
Annotations map[string]string `json:"annotations,omitempty"`
// Custom labels to pods deployed by the operator
Labels map[string]string `json:"labels,omitempty"`
// Metrics defines the metrics configuration for the Server ServiceMonitor.
Metrics *ArgoCDMetricsSpec `json:"metrics,omitempty"`
}
ArgoCDServerSpec defines the options for the ArgoCD Server component.
func (*ArgoCDServerSpec) DeepCopy ¶
func (in *ArgoCDServerSpec) DeepCopy() *ArgoCDServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDServerSpec.
func (*ArgoCDServerSpec) DeepCopyInto ¶
func (in *ArgoCDServerSpec) DeepCopyInto(out *ArgoCDServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDServerSpec) IsEnabled ¶
func (a *ArgoCDServerSpec) IsEnabled() bool
func (*ArgoCDServerSpec) WantsAutoTLS ¶
func (s *ArgoCDServerSpec) WantsAutoTLS() bool
WantsAutoTLS returns true if: 1. user has configured a route with reencrypt. 2. user has not configured TLS and we default to reencrypt.
type ArgoCDSourceHydratorSpec ¶
type ArgoCDSourceHydratorSpec struct {
// Enabled defines whether the Source Hydrator is enabled.
Enabled *bool `json:"enabled,omitempty"`
}
func (*ArgoCDSourceHydratorSpec) DeepCopy ¶
func (in *ArgoCDSourceHydratorSpec) DeepCopy() *ArgoCDSourceHydratorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDSourceHydratorSpec.
func (*ArgoCDSourceHydratorSpec) DeepCopyInto ¶
func (in *ArgoCDSourceHydratorSpec) DeepCopyInto(out *ArgoCDSourceHydratorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDSourceHydratorSpec) IsEnabled ¶
func (a *ArgoCDSourceHydratorSpec) IsEnabled() bool
type ArgoCDSpec ¶
type ArgoCDSpec struct {
// ArgoCDApplicationSet defines whether the Argo CD ApplicationSet controller should be installed.
ApplicationSet *ArgoCDApplicationSet `json:"applicationSet,omitempty"`
// ApplicationInstanceLabelKey is the key name where Argo CD injects the app name as a tracking label.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Application Instance Label Key",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
ApplicationInstanceLabelKey string `json:"applicationInstanceLabelKey,omitempty"`
// InstallationID uniquely identifies an Argo CD instance in multi-instance clusters.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Installation ID",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
InstallationID string `json:"installationID,omitempty"`
// Deprecated: ConfigManagementPlugins field is no longer supported. Argo CD now requires plugins to be defined as sidecar containers of repo server component. See '.spec.repo.sidecarContainers'. ConfigManagementPlugins was previously used to specify additional config management plugins.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Config Management Plugins",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
ConfigManagementPlugins string `json:"configManagementPlugins,omitempty"`
// Controller defines the Application Controller options for ArgoCD.
Controller ArgoCDApplicationControllerSpec `json:"controller,omitempty"`
// CommitServer defines the options for the ArgoCD Commit Server component.
CommitServer ArgoCDCommitServerSpec `json:"commitServer,omitempty"`
// DisableAdmin will disable the admin user.
DisableAdmin bool `json:"disableAdmin,omitempty"`
// ExtraConfig can be used to add fields to Argo CD configmap that are not supported by Argo CD CRD.
//
// Note: ExtraConfig takes precedence over Argo CD CRD.
// For example, A user sets `argocd.Spec.DisableAdmin` = true and also
// `a.Spec.ExtraConfig["admin.enabled"]` = true. In this case, operator updates
// Argo CD Configmap as follows -> argocd-cm.Data["admin.enabled"] = true.
ExtraConfig map[string]string `json:"extraConfig,omitempty"`
// GATrackingID is the google analytics tracking ID to use.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Google Analytics Tracking ID",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
GATrackingID string `json:"gaTrackingID,omitempty"`
// GAAnonymizeUsers toggles user IDs being hashed before sending to google analytics.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Google Analytics Anonymize Users",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch","urn:alm:descriptor:com.tectonic.ui:advanced"}
GAAnonymizeUsers bool `json:"gaAnonymizeUsers,omitempty"`
// Deprecated: Grafana defines the Grafana server options for ArgoCD.
Grafana ArgoCDGrafanaSpec `json:"grafana,omitempty"`
// HA options for High Availability support for the Redis component.
HA ArgoCDHASpec `json:"ha,omitempty"`
// HelpChatURL is the URL for getting chat help, this will typically be your Slack channel for support.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Help Chat URL",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
HelpChatURL string `json:"helpChatURL,omitempty"`
// HelpChatText is the text for getting chat help, defaults to "Chat now!"
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Help Chat Text",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
HelpChatText string `json:"helpChatText,omitempty"`
// Image is the ArgoCD container image for all ArgoCD components.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Image",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:ArgoCD","urn:alm:descriptor:com.tectonic.ui:text"}
Image string `json:"image,omitempty"`
// ImageUpdater defines whether the Argo CD ImageUpdater controller should be installed.
ImageUpdater ArgoCDImageUpdaterSpec `json:"imageUpdater,omitempty"`
// ImagePullPolicy is the image pull policy for all ArgoCD components.
// Valid values are Always, IfNotPresent, Never. If not specified, defaults to the operator's global setting.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Image Pull Policy",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:ArgoCD","urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:fieldDependency:image:enable"}
// +kubebuilder:validation:Enum=Always;IfNotPresent;Never
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
// Import is the import/restore options for ArgoCD.
Import *ArgoCDImportSpec `json:"import,omitempty"`
// Deprecated: InitialRepositories to configure Argo CD with upon creation of the cluster.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Initial Repositories",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
InitialRepositories string `json:"initialRepositories,omitempty"`
// InitialSSHKnownHosts defines the SSH known hosts data upon creation of the cluster for connecting Git repositories via SSH.
InitialSSHKnownHosts SSHHostsSpec `json:"initialSSHKnownHosts,omitempty"`
// KustomizeBuildOptions is used to specify build options/parameters to use with `kustomize build`.
KustomizeBuildOptions string `json:"kustomizeBuildOptions,omitempty"`
// KustomizeVersions is a listing of configured versions of Kustomize to be made available within ArgoCD.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Kustomize Build Options",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
KustomizeVersions []KustomizeVersionSpec `json:"kustomizeVersions,omitempty"`
// LocalUsers is a listing of local users to be created by the operator for the purpose of issuing ArgoCD API keys.
LocalUsers []LocalUserSpec `json:"localUsers,omitempty"`
// OIDCConfig is the OIDC configuration as an alternative to dex.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="OIDC Config",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
OIDCConfig string `json:"oidcConfig,omitempty"`
// Monitoring defines whether workload status monitoring configuration for this instance.
Monitoring ArgoCDMonitoringSpec `json:"monitoring,omitempty"`
// NetworkPolicy controls whether the operator should create NetworkPolicy resources for this Argo CD instance.
NetworkPolicy ArgoCDNetworkPolicySpec `json:"networkPolicy,omitempty"`
// NodePlacement defines NodeSelectors and Taints for Argo CD workloads
NodePlacement *ArgoCDNodePlacementSpec `json:"nodePlacement,omitempty"`
// PriorityClassName is the name of the PriorityClass resource to be assigned to all ArgoCD component pods.
// +optional
PriorityClassName string `json:"priorityClassName,omitempty"`
// Notifications defines whether the Argo CD Notifications controller should be installed.
Notifications ArgoCDNotifications `json:"notifications,omitempty"`
// Prometheus defines the Prometheus server options for ArgoCD.
Prometheus ArgoCDPrometheusSpec `json:"prometheus,omitempty"`
// RBAC defines the RBAC configuration for Argo CD.
RBAC ArgoCDRBACSpec `json:"rbac,omitempty"`
// Redis defines the Redis server options for ArgoCD.
Redis ArgoCDRedisSpec `json:"redis,omitempty"`
// Repo defines the repo server options for Argo CD.
Repo ArgoCDRepoSpec `json:"repo,omitempty"`
// Deprecated: RepositoryCredentials are the Git pull credentials to configure Argo CD with upon creation of the cluster.
RepositoryCredentials string `json:"repositoryCredentials,omitempty"`
// ResourceHealthChecks customizes resource health check behavior.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Health Check Customizations",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
ResourceHealthChecks []ResourceHealthCheck `json:"resourceHealthChecks,omitempty"`
// ResourceIgnoreDifferences customizes resource ignore difference behavior.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Ignore Difference Customizations",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
ResourceIgnoreDifferences *ResourceIgnoreDifference `json:"resourceIgnoreDifferences,omitempty"`
// ResourceActions customizes resource action behavior.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Action Customizations",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
ResourceActions []ResourceAction `json:"resourceActions,omitempty"`
// ResourceExclusions is used to completely ignore entire classes of resource group/kinds.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Exclusions",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
ResourceExclusions string `json:"resourceExclusions,omitempty"`
// ResourceInclusions is used to only include specific group/kinds in the
// reconciliation process.
ResourceInclusions string `json:"resourceInclusions,omitempty"`
// ResourceTrackingMethod defines how Argo CD should track resources that it manages
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Tracking Method",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
ResourceTrackingMethod string `json:"resourceTrackingMethod,omitempty"`
// Server defines the options for the ArgoCD Server component.
Server ArgoCDServerSpec `json:"server,omitempty"`
// SourceHydrator defines the options for the ArgoCD Source Hydrator component.
SourceHydrator ArgoCDSourceHydratorSpec `json:"sourceHydrator,omitempty"`
// SourceNamespaces defines the namespaces application resources are allowed to be created in
SourceNamespaces []string `json:"sourceNamespaces,omitempty"`
// SSO defines the Single Sign-on configuration for Argo CD
SSO *ArgoCDSSOSpec `json:"sso,omitempty"`
// StatusBadgeEnabled toggles application status badge feature.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Status Badge Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch","urn:alm:descriptor:com.tectonic.ui:advanced"}
StatusBadgeEnabled bool `json:"statusBadgeEnabled,omitempty"`
// TLS defines the TLS options for ArgoCD.
TLS ArgoCDTLSSpec `json:"tls,omitempty"`
// UsersAnonymousEnabled toggles anonymous user access.
// The anonymous users get default role permissions specified argocd-rbac-cm.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Anonymous Users Enabled",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch","urn:alm:descriptor:com.tectonic.ui:advanced"}
UsersAnonymousEnabled bool `json:"usersAnonymousEnabled,omitempty"`
// Version is the tag to use with the ArgoCD container image for all ArgoCD components.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Version",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:ArgoCD","urn:alm:descriptor:com.tectonic.ui:text"}
Version string `json:"version,omitempty"`
// ClusterDomain is the cluster domain suffix used for constructing service FQDNs. Defaults to "cluster.local".
// The full FQDN will be: <service>.<namespace>.svc.<clusterDomain>
// This is useful for clusters that use a different DNS suffix (e.g., "CLUSTER_ID.cluster.local", "edge.local").
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Cluster Domain",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text","urn:alm:descriptor:com.tectonic.ui:advanced"}
ClusterDomain string `json:"clusterDomain,omitempty"`
// Banner defines an additional banner to be displayed in Argo CD UI
Banner *Banner `json:"banner,omitempty"`
// DefaultClusterScopedRoleDisabled will disable creation of default ClusterRoles for a cluster scoped instance.
DefaultClusterScopedRoleDisabled bool `json:"defaultClusterScopedRoleDisabled,omitempty"`
// AggregatedClusterRoles will allow users to have aggregated ClusterRoles for a cluster scoped instance.
AggregatedClusterRoles bool `json:"aggregatedClusterRoles,omitempty"`
// CmdParams specifies command-line parameters for the Argo CD components.
// The only keys currently supported for this parameter are:
// - controller.resource.health.persist
// - applicationsetcontroller.enable.tokenref.strict.mode — when ApplicationSet-in-any-namespace is active, the operator defaults this to "true"
CmdParams map[string]string `json:"cmdParams,omitempty"`
// ArgoCDAgent defines configurations for the ArgoCD Agent component.
ArgoCDAgent *ArgoCDAgentSpec `json:"argoCDAgent,omitempty"`
// NamespaceManagement defines the list of namespaces that Argo CD is allowed to manage.
NamespaceManagement []ManagedNamespaces `json:"namespaceManagement,omitempty"`
// WebhookSecrets references Kubernetes Secrets that supply webhook credentials per provider.
// The operator syncs values into argocd-secret under the keys Argo CD expects.
WebhookSecrets *ArgoCDWebhookSecretsSpec `json:"webhookSecrets,omitempty"`
// WebTerminalEnabled allows you to get a shell inside a running pod just like you would with kubectl exec
WebTerminalEnabled *bool `json:"webTerminalEnabled,omitempty"`
// Promoter defines the spec for the GitOps Promoter component
Promoter *PromoterSpec `json:"promoter,omitempty"`
}
ArgoCDSpec defines the desired state of ArgoCD +k8s:openapi-gen=true +kubebuilder:validation:XValidation:rule="!(has(self.sso) && has(self.oidcConfig))",message="spec.sso and spec.oidcConfig cannot both be set"
func (*ArgoCDSpec) DeepCopy ¶
func (in *ArgoCDSpec) DeepCopy() *ArgoCDSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDSpec.
func (*ArgoCDSpec) DeepCopyInto ¶
func (in *ArgoCDSpec) DeepCopyInto(out *ArgoCDSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDStatus ¶
type ArgoCDStatus struct {
// ApplicationController is a simple, high-level summary of where the Argo CD application controller component is in its lifecycle.
// There are four possible ApplicationController values:
// Pending: The Argo CD application controller component has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
// Running: All of the required Pods for the Argo CD application controller component are in a Ready state.
// Failed: At least one of the Argo CD application controller component Pods had a failure.
// Unknown: The state of the Argo CD application controller component could not be obtained.
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="ApplicationController",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
ApplicationController string `json:"applicationController,omitempty"`
// ApplicationSetController is a simple, high-level summary of where the Argo CD applicationSet controller component is in its lifecycle.
// There are four possible ApplicationSetController values:
// Pending: The Argo CD applicationSet controller component has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
// Running: All of the required Pods for the Argo CD applicationSet controller component are in a Ready state.
// Failed: At least one of the Argo CD applicationSet controller component Pods had a failure.
// Unknown: The state of the Argo CD applicationSet controller component could not be obtained.
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="ApplicationSetController",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
ApplicationSetController string `json:"applicationSetController,omitempty"`
// SSO is a simple, high-level summary of where the Argo CD SSO(Dex/Keycloak) component is in its lifecycle.
// There are four possible sso values:
// Pending: The Argo CD SSO component has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
// Running: All of the required Pods for the Argo CD SSO component are in a Ready state.
// Failed: At least one of the Argo CD SSO component Pods had a failure.
// Unknown: The state of the Argo CD SSO component could not be obtained.
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="SSO",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
SSO string `json:"sso,omitempty"`
// NotificationsController is a simple, high-level summary of where the Argo CD notifications controller component is in its lifecycle.
// There are four possible NotificationsController values:
// Pending: The Argo CD notifications controller component has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
// Running: All of the required Pods for the Argo CD notifications controller component are in a Ready state.
// Failed: At least one of the Argo CD notifications controller component Pods had a failure.
// Unknown: The state of the Argo CD notifications controller component could not be obtained.
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="NotificationsController",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
NotificationsController string `json:"notificationsController,omitempty"`
// Phase is a simple, high-level summary of where the ArgoCD is in its lifecycle.
// There are four possible phase values:
// Pending: The ArgoCD has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
// Available: All of the resources for the ArgoCD are ready.
// Failed: At least one resource has experienced a failure.
// Unknown: The state of the ArgoCD phase could not be obtained.
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Phase",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
Phase string `json:"phase,omitempty"`
// Redis is a simple, high-level summary of where the Argo CD Redis component is in its lifecycle.
// There are four possible redis values:
// Pending: The Argo CD Redis component has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
// Running: All of the required Pods for the Argo CD Redis component are in a Ready state.
// Failed: At least one of the Argo CD Redis component Pods had a failure.
// Unknown: The state of the Argo CD Redis component could not be obtained.
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Redis",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
Redis string `json:"redis,omitempty"`
// Repo is a simple, high-level summary of where the Argo CD Repo component is in its lifecycle.
// There are four possible repo values:
// Pending: The Argo CD Repo component has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
// Running: All of the required Pods for the Argo CD Repo component are in a Ready state.
// Failed: At least one of the Argo CD Repo component Pods had a failure.
// Unknown: The state of the Argo CD Repo component could not be obtained.
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Repo",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
Repo string `json:"repo,omitempty"`
// Server is a simple, high-level summary of where the Argo CD server component is in its lifecycle.
// There are four possible server values:
// Pending: The Argo CD server component has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
// Running: All of the required Pods for the Argo CD server component are in a Ready state.
// Failed: At least one of the Argo CD server component Pods had a failure.
// Unknown: The state of the Argo CD server component could not be obtained.
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="Server",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
Server string `json:"server,omitempty"`
// CommitServer is a simple, high-level summary of where the Argo CD Commit Server component is in its lifecycle.
// There are four possible server values:
// Pending: The Argo CD commit server component has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
// Running: All of the required Pods for the Argo CD commit server component are in a Ready state.
// Failed: At least one of the Argo CD commit server component Pods had a failure.
// Unknown: The state of the Argo CD commit server component could not be obtained.
//+operator-sdk:csv:customresourcedefinitions:type=status,displayName="CommitServer",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"}
CommitServer string `json:"commitServer,omitempty"`
// RepoTLSChecksum contains the SHA256 checksum of the latest known state of tls.crt and tls.key in the argocd-repo-server-tls secret.
RepoTLSChecksum string `json:"repoTLSChecksum,omitempty"`
// RedisTLSChecksum contains the SHA256 checksum of the latest known state of tls.crt and tls.key in the argocd-operator-redis-tls secret.
RedisTLSChecksum string `json:"redisTLSChecksum,omitempty"`
// Host is the hostname of the Ingress.
Host string `json:"host,omitempty"`
// Conditions is an array of the ArgoCD's status conditions
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
ArgoCDStatus defines the observed state of ArgoCD +k8s:openapi-gen=true
func (*ArgoCDStatus) DeepCopy ¶
func (in *ArgoCDStatus) DeepCopy() *ArgoCDStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDStatus.
func (*ArgoCDStatus) DeepCopyInto ¶
func (in *ArgoCDStatus) DeepCopyInto(out *ArgoCDStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDSystemCATrustSpec ¶
type ArgoCDSystemCATrustSpec struct {
// DropImageCertificates will remove all certs that are present in the image, leaving only those explicitly configured here.
DropImageCertificates bool `json:"dropImageCertificates,omitempty"`
// ClusterTrustBundles is a list of projected ClusterTrustBundle volume definitions from where to take the trust certs.
ClusterTrustBundles []corev1.ClusterTrustBundleProjection `json:"clusterTrustBundles,omitempty"`
// Secrets is a list of projected Secret volume definitions from where to take the trust certs.
Secrets []corev1.SecretProjection `json:"secrets,omitempty"`
// ConfigMaps is a list of projected ConfigMap volume definitions from where to take the trust certs.
ConfigMaps []corev1.ConfigMapProjection `json:"configMaps,omitempty"`
}
ArgoCDSystemCATrustSpec defines custom certificates to inject into the repo server container and its plugins to trust source hosting sites
func (*ArgoCDSystemCATrustSpec) DeepCopy ¶
func (in *ArgoCDSystemCATrustSpec) DeepCopy() *ArgoCDSystemCATrustSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDSystemCATrustSpec.
func (*ArgoCDSystemCATrustSpec) DeepCopyInto ¶
func (in *ArgoCDSystemCATrustSpec) DeepCopyInto(out *ArgoCDSystemCATrustSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDTLSSpec ¶
type ArgoCDTLSSpec struct {
// CA defines the CA options.
CA ArgoCDCASpec `json:"ca,omitempty"`
// InitialCerts defines custom TLS certificates upon creation of the cluster for connecting Git repositories via HTTPS.
InitialCerts map[string]string `json:"initialCerts,omitempty"`
}
ArgoCDTLSSpec defines the TLS options for ArgCD.
func (*ArgoCDTLSSpec) DeepCopy ¶
func (in *ArgoCDTLSSpec) DeepCopy() *ArgoCDTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDTLSSpec.
func (*ArgoCDTLSSpec) DeepCopyInto ¶
func (in *ArgoCDTLSSpec) DeepCopyInto(out *ArgoCDTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDWebhookSecretsAzureDevOps ¶
type ArgoCDWebhookSecretsAzureDevOps struct {
// UsernameSecretRef points to the key holding the username.
UsernameSecretRef *WebhookSecretKeySelector `json:"usernameSecretRef,omitempty"`
// PasswordSecretRef points to the key holding the password or PAT.
PasswordSecretRef *WebhookSecretKeySelector `json:"passwordSecretRef,omitempty"`
}
ArgoCDWebhookSecretsAzureDevOps declares where to read the Azure DevOps webhook credentials. +k8s:openapi-gen=true +kubebuilder:validation:XValidation:rule="(has(self.usernameSecretRef) && has(self.passwordSecretRef)) || (!has(self.usernameSecretRef) && !has(self.passwordSecretRef))",message="usernameSecretRef and passwordSecretRef must be set together"
func (*ArgoCDWebhookSecretsAzureDevOps) DeepCopy ¶
func (in *ArgoCDWebhookSecretsAzureDevOps) DeepCopy() *ArgoCDWebhookSecretsAzureDevOps
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDWebhookSecretsAzureDevOps.
func (*ArgoCDWebhookSecretsAzureDevOps) DeepCopyInto ¶
func (in *ArgoCDWebhookSecretsAzureDevOps) DeepCopyInto(out *ArgoCDWebhookSecretsAzureDevOps)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDWebhookSecretsBitbucket ¶
type ArgoCDWebhookSecretsBitbucket struct {
// WebhookUUIDSecretRef points to the key holding the Bitbucket Cloud webhook UUID.
WebhookUUIDSecretRef *WebhookSecretKeySelector `json:"webhookUUIDSecretRef,omitempty"`
}
ArgoCDWebhookSecretsBitbucket declares where to read the Bitbucket Cloud webhook UUID. +k8s:openapi-gen=true
func (*ArgoCDWebhookSecretsBitbucket) DeepCopy ¶
func (in *ArgoCDWebhookSecretsBitbucket) DeepCopy() *ArgoCDWebhookSecretsBitbucket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDWebhookSecretsBitbucket.
func (*ArgoCDWebhookSecretsBitbucket) DeepCopyInto ¶
func (in *ArgoCDWebhookSecretsBitbucket) DeepCopyInto(out *ArgoCDWebhookSecretsBitbucket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDWebhookSecretsBitbucketServer ¶
type ArgoCDWebhookSecretsBitbucketServer struct {
// WebhookSecretRef points to the key holding the Bitbucket Server webhook shared secret.
WebhookSecretRef *WebhookSecretKeySelector `json:"webhookSecretRef,omitempty"`
}
ArgoCDWebhookSecretsBitbucketServer declares where to read the Bitbucket Server webhook secret. +k8s:openapi-gen=true
func (*ArgoCDWebhookSecretsBitbucketServer) DeepCopy ¶
func (in *ArgoCDWebhookSecretsBitbucketServer) DeepCopy() *ArgoCDWebhookSecretsBitbucketServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDWebhookSecretsBitbucketServer.
func (*ArgoCDWebhookSecretsBitbucketServer) DeepCopyInto ¶
func (in *ArgoCDWebhookSecretsBitbucketServer) DeepCopyInto(out *ArgoCDWebhookSecretsBitbucketServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDWebhookSecretsGitHub ¶
type ArgoCDWebhookSecretsGitHub struct {
// WebhookSecretRef points to the key holding the GitHub webhook shared secret.
WebhookSecretRef *WebhookSecretKeySelector `json:"webhookSecretRef,omitempty"`
}
ArgoCDWebhookSecretsGitHub declares where to read the GitHub webhook secret. +k8s:openapi-gen=true
func (*ArgoCDWebhookSecretsGitHub) DeepCopy ¶
func (in *ArgoCDWebhookSecretsGitHub) DeepCopy() *ArgoCDWebhookSecretsGitHub
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDWebhookSecretsGitHub.
func (*ArgoCDWebhookSecretsGitHub) DeepCopyInto ¶
func (in *ArgoCDWebhookSecretsGitHub) DeepCopyInto(out *ArgoCDWebhookSecretsGitHub)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDWebhookSecretsGitLab ¶
type ArgoCDWebhookSecretsGitLab struct {
// WebhookSecretRef points to the key holding the GitLab webhook shared secret.
WebhookSecretRef *WebhookSecretKeySelector `json:"webhookSecretRef,omitempty"`
}
ArgoCDWebhookSecretsGitLab declares where to read the GitLab webhook secret. +k8s:openapi-gen=true
func (*ArgoCDWebhookSecretsGitLab) DeepCopy ¶
func (in *ArgoCDWebhookSecretsGitLab) DeepCopy() *ArgoCDWebhookSecretsGitLab
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDWebhookSecretsGitLab.
func (*ArgoCDWebhookSecretsGitLab) DeepCopyInto ¶
func (in *ArgoCDWebhookSecretsGitLab) DeepCopyInto(out *ArgoCDWebhookSecretsGitLab)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDWebhookSecretsGogs ¶
type ArgoCDWebhookSecretsGogs struct {
// WebhookSecretRef points to the key holding the Gogs webhook shared secret.
WebhookSecretRef *WebhookSecretKeySelector `json:"webhookSecretRef,omitempty"`
}
ArgoCDWebhookSecretsGogs declares where to read the Gogs webhook secret. +k8s:openapi-gen=true
func (*ArgoCDWebhookSecretsGogs) DeepCopy ¶
func (in *ArgoCDWebhookSecretsGogs) DeepCopy() *ArgoCDWebhookSecretsGogs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDWebhookSecretsGogs.
func (*ArgoCDWebhookSecretsGogs) DeepCopyInto ¶
func (in *ArgoCDWebhookSecretsGogs) DeepCopyInto(out *ArgoCDWebhookSecretsGogs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDWebhookSecretsSpec ¶
type ArgoCDWebhookSecretsSpec struct {
// GitHub: Secret key reference for the GitHub webhook shared secret.
GitHub *ArgoCDWebhookSecretsGitHub `json:"github,omitempty"`
// GitLab: Secret key reference for the GitLab webhook shared secret.
GitLab *ArgoCDWebhookSecretsGitLab `json:"gitlab,omitempty"`
// Bitbucket: Secret key reference for the Bitbucket Cloud webhook UUID.
Bitbucket *ArgoCDWebhookSecretsBitbucket `json:"bitbucket,omitempty"`
// BitbucketServer: Secret key reference for the Bitbucket Server webhook secret.
BitbucketServer *ArgoCDWebhookSecretsBitbucketServer `json:"bitbucketServer,omitempty"`
// Gogs: Secret key reference for the Gogs webhook shared secret.
Gogs *ArgoCDWebhookSecretsGogs `json:"gogs,omitempty"`
// AzureDevOps: Secret key references for the Azure DevOps webhook username and password (or PAT).
AzureDevOps *ArgoCDWebhookSecretsAzureDevOps `json:"azureDevOps,omitempty"`
}
ArgoCDWebhookSecretsSpec holds declarative references to Secrets for Git provider webhook credentials. +k8s:openapi-gen=true
func (*ArgoCDWebhookSecretsSpec) DeepCopy ¶
func (in *ArgoCDWebhookSecretsSpec) DeepCopy() *ArgoCDWebhookSecretsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDWebhookSecretsSpec.
func (*ArgoCDWebhookSecretsSpec) DeepCopyInto ¶
func (in *ArgoCDWebhookSecretsSpec) DeepCopyInto(out *ArgoCDWebhookSecretsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Banner ¶
type Banner struct {
// Content defines the banner message content to display
Content string `json:"content"`
// URL defines an optional URL to be used as banner message link
URL string `json:"url,omitempty"`
// Permanent defines if the banner should be displayed permanently or only for a certain period of time
Permanent bool `json:"permanent,omitempty"`
// Position defines the position of the banner in the UI
Position string `json:"position,omitempty"`
}
Banner defines an additional banner message to be displayed in Argo CD UI https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/#banners
func (*Banner) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Banner.
func (*Banner) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationBasedMappingSpec ¶
type DestinationBasedMappingSpec struct {
// Enabled is the flag to enable destination based mapping for the Agent component.
Enabled *bool `json:"enabled,omitempty"`
// CreateNamespace enables automatic creation of target namespaces on the managed cluster
// when destination-based mapping is enabled.
CreateNamespace *bool `json:"createNamespace,omitempty"`
}
func (*DestinationBasedMappingSpec) DeepCopy ¶
func (in *DestinationBasedMappingSpec) DeepCopy() *DestinationBasedMappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationBasedMappingSpec.
func (*DestinationBasedMappingSpec) DeepCopyInto ¶
func (in *DestinationBasedMappingSpec) DeepCopyInto(out *DestinationBasedMappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DestinationBasedMappingSpec) IsCreateNamespaceEnabled ¶
func (d *DestinationBasedMappingSpec) IsCreateNamespaceEnabled() bool
func (*DestinationBasedMappingSpec) IsEnabled ¶
func (d *DestinationBasedMappingSpec) IsEnabled() bool
type IgnoreDifferenceCustomization ¶
type IgnoreDifferenceCustomization struct {
JqPathExpressions []string `json:"jqPathExpressions,omitempty"`
JsonPointers []string `json:"jsonPointers,omitempty"`
ManagedFieldsManagers []string `json:"managedFieldsManagers,omitempty"`
}
func (*IgnoreDifferenceCustomization) DeepCopy ¶
func (in *IgnoreDifferenceCustomization) DeepCopy() *IgnoreDifferenceCustomization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreDifferenceCustomization.
func (*IgnoreDifferenceCustomization) DeepCopyInto ¶
func (in *IgnoreDifferenceCustomization) DeepCopyInto(out *IgnoreDifferenceCustomization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KustomizeVersionSpec ¶
type KustomizeVersionSpec struct {
// Version is a configured kustomize version in the format of vX.Y.Z
Version string `json:"version,omitempty"`
// Path is the path to a configured kustomize version on the filesystem of your repo server.
Path string `json:"path,omitempty"`
}
KustomizeVersionSpec is used to specify information about a kustomize version to be used within ArgoCD.
func (*KustomizeVersionSpec) DeepCopy ¶
func (in *KustomizeVersionSpec) DeepCopy() *KustomizeVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeVersionSpec.
func (*KustomizeVersionSpec) DeepCopyInto ¶
func (in *KustomizeVersionSpec) DeepCopyInto(out *KustomizeVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalUserSpec ¶
type LocalUserSpec struct {
// Name of the local user
Name string `json:"name"`
// Enabled defines whether or not this local user is enabled. Default is
// true
Enabled *bool `json:"enabled,omitempty"`
// ApiKey defines whether or not the user is configured to use an ArgoCD API
// key. Default is true
ApiKey *bool `json:"apiKey,omitempty"`
// Login defines whether or not the user is configured to be able to login. Default is false
Login bool `json:"login,omitempty"`
// TokenLifetime defines the how long the token issued to this user is valid
// for. An empty string or the value 0 indicates an infinite lifetime.
// Examples: "30m", "8760h"
TokenLifetime string `json:"tokenLifetime,omitempty"`
// AutoRenewToken specifies if a new token is to be issued once the existing
// one has expired. Default is true
AutoRenewToken *bool `json:"autoRenewToken,omitempty"`
}
LocalUserSpec is used to specify information about an ArgoCD local user to be created by the operator.
func (*LocalUserSpec) DeepCopy ¶
func (in *LocalUserSpec) DeepCopy() *LocalUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalUserSpec.
func (*LocalUserSpec) DeepCopyInto ¶
func (in *LocalUserSpec) DeepCopyInto(out *LocalUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedNamespaces ¶
type ManagedNamespaces struct {
// Name of the namespace or pattern to be managed
Name string `json:"name"`
// Whether the namespace can be managed by ArgoCD
AllowManagedBy bool `json:"allowManagedBy"`
}
NamespaceManagement defines the namespace management settings
func (*ManagedNamespaces) DeepCopy ¶
func (in *ManagedNamespaces) DeepCopy() *ManagedNamespaces
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedNamespaces.
func (*ManagedNamespaces) DeepCopyInto ¶
func (in *ManagedNamespaces) DeepCopyInto(out *ManagedNamespaces)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceManagement ¶
type NamespaceManagement struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec NamespaceManagementSpec `json:"spec,omitempty"`
Status NamespaceManagementStatus `json:"status,omitempty"`
}
NamespaceManagement is the Schema for the namespacemanagements API
func (*NamespaceManagement) DeepCopy ¶
func (in *NamespaceManagement) DeepCopy() *NamespaceManagement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceManagement.
func (*NamespaceManagement) DeepCopyInto ¶
func (in *NamespaceManagement) DeepCopyInto(out *NamespaceManagement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceManagement) DeepCopyObject ¶
func (in *NamespaceManagement) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceManagementList ¶
type NamespaceManagementList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NamespaceManagement `json:"items"`
}
NamespaceManagementList contains a list of NamespaceManagement
func (*NamespaceManagementList) DeepCopy ¶
func (in *NamespaceManagementList) DeepCopy() *NamespaceManagementList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceManagementList.
func (*NamespaceManagementList) DeepCopyInto ¶
func (in *NamespaceManagementList) DeepCopyInto(out *NamespaceManagementList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceManagementList) DeepCopyObject ¶
func (in *NamespaceManagementList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceManagementSpec ¶
type NamespaceManagementSpec struct {
ManagedBy string `json:"managedBy"`
}
NamespaceManagementSpec defines the desired state of NamespaceManagement
func (*NamespaceManagementSpec) DeepCopy ¶
func (in *NamespaceManagementSpec) DeepCopy() *NamespaceManagementSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceManagementSpec.
func (*NamespaceManagementSpec) DeepCopyInto ¶
func (in *NamespaceManagementSpec) DeepCopyInto(out *NamespaceManagementSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceManagementStatus ¶
type NamespaceManagementStatus struct {
// Conditions is an array of the NamespaceManagement's status conditions
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
NamespaceManagementStatus defines the observed state of NamespaceManagement
func (*NamespaceManagementStatus) DeepCopy ¶
func (in *NamespaceManagementStatus) DeepCopy() *NamespaceManagementStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceManagementStatus.
func (*NamespaceManagementStatus) DeepCopyInto ¶
func (in *NamespaceManagementStatus) DeepCopyInto(out *NamespaceManagementStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrincipalJWTSpec ¶
type PrincipalJWTSpec struct {
// InsecureGenerate is the flag to allow the principal to generate its own private key for signing JWT tokens (insecure).
InsecureGenerate *bool `json:"insecureGenerate,omitempty"`
// SecretName is the name of the secret containing the JWT signing key.
SecretName string `json:"secretName,omitempty"`
}
func (*PrincipalJWTSpec) DeepCopy ¶
func (in *PrincipalJWTSpec) DeepCopy() *PrincipalJWTSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalJWTSpec.
func (*PrincipalJWTSpec) DeepCopyInto ¶
func (in *PrincipalJWTSpec) DeepCopyInto(out *PrincipalJWTSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrincipalNamespaceSpec ¶
type PrincipalNamespaceSpec struct {
// AllowedNamespaces is a list of namespaces the principal shall watch and process Argo CD resources in.
AllowedNamespaces []string `json:"allowedNamespaces,omitempty"`
// EnableNamespaceCreate is the flag to enable namespace creation for agents.
EnableNamespaceCreate *bool `json:"enableNamespaceCreate,omitempty"`
// NamespaceCreatePattern is a regexp pattern to restrict the names of namespaces to be created.
NamespaceCreatePattern string `json:"namespaceCreatePattern,omitempty"`
// NamespaceCreateLabels is the set of labels to apply to namespaces created for agents. Ex: "foo=bar,bar=baz"
NamespaceCreateLabels []string `json:"namespaceCreateLabels,omitempty"`
}
func (*PrincipalNamespaceSpec) DeepCopy ¶
func (in *PrincipalNamespaceSpec) DeepCopy() *PrincipalNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalNamespaceSpec.
func (*PrincipalNamespaceSpec) DeepCopyInto ¶
func (in *PrincipalNamespaceSpec) DeepCopyInto(out *PrincipalNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrincipalRedisSpec ¶
type PrincipalRedisSpec struct {
// ServerAddress is the address of the Redis server to be used by the Principal component.
ServerAddress string `json:"serverAddress,omitempty"`
// CompressionType is the compression type to be used by Redis.
CompressionType string `json:"compressionType,omitempty"`
}
func (*PrincipalRedisSpec) DeepCopy ¶
func (in *PrincipalRedisSpec) DeepCopy() *PrincipalRedisSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalRedisSpec.
func (*PrincipalRedisSpec) DeepCopyInto ¶
func (in *PrincipalRedisSpec) DeepCopyInto(out *PrincipalRedisSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrincipalResourceProxySpec ¶
type PrincipalResourceProxySpec struct {
// SecretName is the name of the secret containing the TLS certificate and key for the resource proxy.
SecretName string `json:"secretName,omitempty"`
// CASecretName is the name of the secret containing the CA certificate for the resource proxy.
CASecretName string `json:"caSecretName,omitempty"`
}
func (*PrincipalResourceProxySpec) DeepCopy ¶
func (in *PrincipalResourceProxySpec) DeepCopy() *PrincipalResourceProxySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalResourceProxySpec.
func (*PrincipalResourceProxySpec) DeepCopyInto ¶
func (in *PrincipalResourceProxySpec) DeepCopyInto(out *PrincipalResourceProxySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrincipalSelfRegistrationSpec ¶
type PrincipalSelfRegistrationSpec struct {
// Enabled is the flag to enable self-registration of agents.
// When enabled, agents with valid credentials can automatically register on connection.
Enabled *bool `json:"enabled,omitempty"`
// ClientCertSecretName is the name of the TLS secret containing shared client cert
// for self-registered cluster secrets (must have tls.crt, tls.key, ca.crt).
ClientCertSecretName string `json:"clientCertSecretName,omitempty"`
}
+kubebuilder:validation:XValidation:rule="!has(self.enabled) || self.enabled == false || (has(self.clientCertSecretName) && self.clientCertSecretName != \"\")",message="clientCertSecretName must be set when self-registration is enabled"
func (*PrincipalSelfRegistrationSpec) DeepCopy ¶
func (in *PrincipalSelfRegistrationSpec) DeepCopy() *PrincipalSelfRegistrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalSelfRegistrationSpec.
func (*PrincipalSelfRegistrationSpec) DeepCopyInto ¶
func (in *PrincipalSelfRegistrationSpec) DeepCopyInto(out *PrincipalSelfRegistrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrincipalServerSpec ¶
type PrincipalServerSpec struct {
// EnableWebSocket is the flag to enable the WebSocket on gRPC to stream events to the Agent.
EnableWebSocket *bool `json:"enableWebSocket,omitempty"`
// KeepAliveMinInterval is the minimum interval between keep-alive messages sent by the Agent to the Principal.
KeepAliveMinInterval string `json:"keepAliveMinInterval,omitempty"`
// Service defines the options for the Service backing the ArgoCD Agent component.
// If not set, type ClusterIP will be used by default.
Service ArgoCDAgentPrincipalServiceSpec `json:"service,omitempty"`
// Route defines the options for the Route backing the ArgoCD Agent component.
// Route is disabled only when explicitly configured with Enabled: false
Route ArgoCDAgentPrincipalRouteSpec `json:"route,omitempty"`
}
func (*PrincipalServerSpec) DeepCopy ¶
func (in *PrincipalServerSpec) DeepCopy() *PrincipalServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalServerSpec.
func (*PrincipalServerSpec) DeepCopyInto ¶
func (in *PrincipalServerSpec) DeepCopyInto(out *PrincipalServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrincipalSpec ¶
type PrincipalSpec struct {
// Enabled is the flag to enable the Principal component during Argo CD installation. (optional, default `false`)
Enabled *bool `json:"enabled,omitempty"`
// Auth is the authentication method for the Principal component.
Auth string `json:"auth,omitempty"`
// LogLevel refers to the log level used by the Principal component.
LogLevel string `json:"logLevel,omitempty"`
// LogFormat refers to the log format used by the Principal component.
LogFormat string `json:"logFormat,omitempty"`
// Image is the name of Argo CD Agent image
Image string `json:"image,omitempty"`
// Env lets you specify environment for principal pods
Env []corev1.EnvVar `json:"env,omitempty"`
// Server defines the server options for the Principal component.
Server *PrincipalServerSpec `json:"server,omitempty"`
// Namespace is the configuration for the Principal component namespace.
Namespace *PrincipalNamespaceSpec `json:"namespace,omitempty"`
// Resources defines the Compute Resources required by the container for the Argo CD Agent principal component.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resource Requirements",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Controller","urn:alm:descriptor:com.tectonic.ui:resourceRequirements"}
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// ResourceProxy defines the Resource Proxy options for the Principal component.
ResourceProxy *PrincipalResourceProxySpec `json:"resourceProxy,omitempty"`
// Redis defines the Redis options for the Principal component.
Redis *PrincipalRedisSpec `json:"redis,omitempty"`
// TLS defines the TLS options for the Principal component.
TLS *PrincipalTLSSpec `json:"tls,omitempty"`
// JWT defines the JWT options for the Principal component.
JWT *PrincipalJWTSpec `json:"jwt,omitempty"`
// DestinationBasedMapping is the flag to enable destination based mapping for the Principal component.
DestinationBasedMapping *bool `json:"destinationBasedMapping,omitempty"`
// LabelSelector is a Kubernetes label selector that restricts which resources the principal watches.
// Only resources matching this selector will be listed, watched, and processed by the principal.
LabelSelector string `json:"labelSelector,omitempty"`
// Metrics defines the metrics configuration for the Principal ServiceMonitor.
Metrics *ArgoCDMetricsSpec `json:"metrics,omitempty"`
// SelfRegistration defines the self-registration options for the Principal component.
SelfRegistration *PrincipalSelfRegistrationSpec `json:"selfRegistration,omitempty"`
}
func (*PrincipalSpec) DeepCopy ¶
func (in *PrincipalSpec) DeepCopy() *PrincipalSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalSpec.
func (*PrincipalSpec) DeepCopyInto ¶
func (in *PrincipalSpec) DeepCopyInto(out *PrincipalSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrincipalSpec) IsEnabled ¶
func (a *PrincipalSpec) IsEnabled() bool
type PrincipalTLSSpec ¶
type PrincipalTLSSpec struct {
// SecretName is The name of the secret containing the TLS certificate and key.
SecretName string `json:"secretName,omitempty"`
// RootCASecretName is the name of the secret containing the root CA TLS certificate
RootCASecretName string `json:"rootCASecretName,omitempty"`
// InsecureGenerate is the flag to allow the principal to generate its own set of TLS cert and key on startup when none are configured
InsecureGenerate *bool `json:"insecureGenerate,omitempty"`
}
func (*PrincipalTLSSpec) DeepCopy ¶
func (in *PrincipalTLSSpec) DeepCopy() *PrincipalTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrincipalTLSSpec.
func (*PrincipalTLSSpec) DeepCopyInto ¶
func (in *PrincipalTLSSpec) DeepCopyInto(out *PrincipalTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromoterAPIServerSpec ¶
type PromoterAPIServerSpec struct {
// Enabled defines whether or not the API server should be deployed or not (will default to true if the promoter is enabled)
Enabled *bool `json:"enabled,omitempty"`
// TLS defines the TLS settings for the API server
TLS *PromoterAPIServerTLSSpec `json:"tls,omitempty"`
}
PromoterAPIServerSpec defines the desired state for the GitOps Promoter's API server
func (*PromoterAPIServerSpec) DeepCopy ¶
func (in *PromoterAPIServerSpec) DeepCopy() *PromoterAPIServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoterAPIServerSpec.
func (*PromoterAPIServerSpec) DeepCopyInto ¶
func (in *PromoterAPIServerSpec) DeepCopyInto(out *PromoterAPIServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromoterAPIServerSpec) IsEnabled ¶
func (p *PromoterAPIServerSpec) IsEnabled() bool
type PromoterAPIServerTLSSpec ¶
type PromoterAPIServerTLSSpec struct {
// CertSecretName is the name of the secret holding the TLS cert to use for the API Server
CertSecretName string `json:"certSecretName,omitempty"`
// CABundleSecretName is the name of the secret holding the CA bundle for the API Server's API Service
CABundleSecretName string `json:"caSecretName,omitempty"`
// CABundleSecretKey is the name of the key that holds the CA bundle for the API Server's API Service (defaults to "ca.crt")
CABundleSecretKey string `json:"caSecretKey,omitempty"`
}
PromoterAPIServerTLSSpec defines the TLS options for the GitOps Promoter's API server
func (*PromoterAPIServerTLSSpec) DeepCopy ¶
func (in *PromoterAPIServerTLSSpec) DeepCopy() *PromoterAPIServerTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoterAPIServerTLSSpec.
func (*PromoterAPIServerTLSSpec) DeepCopyInto ¶
func (in *PromoterAPIServerTLSSpec) DeepCopyInto(out *PromoterAPIServerTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromoterComponentType ¶
type PromoterComponentType string
PromoterComponentType is a type that represents the possible components for the gitops-promoter
const ( // PromoterComponentTypeControllerManager indicates that the component is the controller manager PromoterComponentTypeControllerManager PromoterComponentType = "promoter-controller-manager" // PromoterComponentTypeAPIServer indicates that the component is the api server PromoterComponentTypeAPIServer PromoterComponentType = "promoter-apiserver" )
Possible gitops-promoter component types
type PromoterControllerWebhookSpec ¶
type PromoterControllerWebhookSpec struct {
// Enabled defines whether the webhook is enabled for the Promoter's controller (defaults to being disabled)
Enabled *bool `json:"enabled,omitempty"`
// ServiceType defines what service type the webhook service will be. If none is provided defaults to ClusterIP
ServiceType string `json:"serviceType,omitempty"`
}
PromoterControllerWebhookSpec defines the Webhook options for the GitOps Promoter's controller
func (*PromoterControllerWebhookSpec) DeepCopy ¶
func (in *PromoterControllerWebhookSpec) DeepCopy() *PromoterControllerWebhookSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoterControllerWebhookSpec.
func (*PromoterControllerWebhookSpec) DeepCopyInto ¶
func (in *PromoterControllerWebhookSpec) DeepCopyInto(out *PromoterControllerWebhookSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromoterControllerWebhookSpec) IsEnabled ¶
func (p *PromoterControllerWebhookSpec) IsEnabled() bool
type PromoterSpec ¶
type PromoterSpec struct {
// Enabled defines whether gitops promoter controller should be deployed or not (will default to being disabled)
Enabled *bool `json:"enabled,omitempty"`
// Image is the image to be used for the GitOps Promoter
Image string `json:"image,omitempty"`
// Env lets you specify the environment variables for the pods that run the controller
Env []corev1.EnvVar `json:"env,omitempty"`
// Resources defines the compute resources that are required for the pods running the controller
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// APIServer defines the configuration for the promoter's API server
APIServer *PromoterAPIServerSpec `json:"apiserver,omitempty"`
// Webhook defines the configuration for the Promoter's Controller Webhook
Webhook *PromoterControllerWebhookSpec `json:"webhook,omitempty"`
// ArgoCDUIExtensionEnabled defines whether the Argo CD UI extension is enabled
ArgoCDUIExtensionEnabled bool `json:"argoCDUIExtensionEnabled,omitempty"`
}
PromoterSpec defines the desired state for the GitOps Promoter
func (*PromoterSpec) DeepCopy ¶
func (in *PromoterSpec) DeepCopy() *PromoterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoterSpec.
func (*PromoterSpec) DeepCopyInto ¶
func (in *PromoterSpec) DeepCopyInto(out *PromoterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PromoterSpec) IsEnabled ¶
func (p *PromoterSpec) IsEnabled() bool
type ResourceAction ¶
type ResourceAction struct {
Group string `json:"group,omitempty"`
Kind string `json:"kind,omitempty"`
Action string `json:"action,omitempty"`
}
Resource Customization for custom action
func (*ResourceAction) DeepCopy ¶
func (in *ResourceAction) DeepCopy() *ResourceAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAction.
func (*ResourceAction) DeepCopyInto ¶
func (in *ResourceAction) DeepCopyInto(out *ResourceAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceHealthCheck ¶
type ResourceHealthCheck struct {
Group string `json:"group,omitempty"`
Kind string `json:"kind,omitempty"`
Check string `json:"check,omitempty"`
}
Resource Customization for custom health check
func (*ResourceHealthCheck) DeepCopy ¶
func (in *ResourceHealthCheck) DeepCopy() *ResourceHealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceHealthCheck.
func (*ResourceHealthCheck) DeepCopyInto ¶
func (in *ResourceHealthCheck) DeepCopyInto(out *ResourceHealthCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceIdentifiers ¶
type ResourceIdentifiers struct {
Group string `json:"group,omitempty"`
Kind string `json:"kind,omitempty"`
Customization IgnoreDifferenceCustomization `json:"customization,omitempty"`
}
Resource Customization fields for ignore difference
func (*ResourceIdentifiers) DeepCopy ¶
func (in *ResourceIdentifiers) DeepCopy() *ResourceIdentifiers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceIdentifiers.
func (*ResourceIdentifiers) DeepCopyInto ¶
func (in *ResourceIdentifiers) DeepCopyInto(out *ResourceIdentifiers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceIgnoreDifference ¶
type ResourceIgnoreDifference struct {
All *IgnoreDifferenceCustomization `json:"all,omitempty"`
ResourceIdentifiers []ResourceIdentifiers `json:"resourceIdentifiers,omitempty"`
}
Resource Customization for ignore difference
func (*ResourceIgnoreDifference) DeepCopy ¶
func (in *ResourceIgnoreDifference) DeepCopy() *ResourceIgnoreDifference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceIgnoreDifference.
func (*ResourceIgnoreDifference) DeepCopyInto ¶
func (in *ResourceIgnoreDifference) DeepCopyInto(out *ResourceIgnoreDifference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceTrackingMethod ¶
type ResourceTrackingMethod int
ResourceTrackingMethod represents the Argo CD resource tracking method to use
const ( ResourceTrackingMethodInvalid ResourceTrackingMethod = -1 ResourceTrackingMethodLabel ResourceTrackingMethod = 0 ResourceTrackingMethodAnnotation ResourceTrackingMethod = 1 ResourceTrackingMethodAnnotationAndLabel ResourceTrackingMethod = 2 )
func ParseResourceTrackingMethod ¶
func ParseResourceTrackingMethod(name string) ResourceTrackingMethod
ParseResourceTrackingMethod parses a string into a resource tracking method
func (ResourceTrackingMethod) String ¶
func (r ResourceTrackingMethod) String() string
String returns the string representation for a ResourceTrackingMethod
type SSHHostsSpec ¶
type SSHHostsSpec struct {
// ExcludeDefaultHosts describes whether you would like to include the default
// list of SSH Known Hosts provided by ArgoCD.
ExcludeDefaultHosts bool `json:"excludedefaulthosts,omitempty"`
// Keys describes a custom set of SSH Known Hosts that you would like to
// have included in your ArgoCD server.
Keys string `json:"keys,omitempty"`
}
func (*SSHHostsSpec) DeepCopy ¶
func (in *SSHHostsSpec) DeepCopy() *SSHHostsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHHostsSpec.
func (*SSHHostsSpec) DeepCopyInto ¶
func (in *SSHHostsSpec) DeepCopyInto(out *SSHHostsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSOProviderType ¶
type SSOProviderType string
SSOProviderType string defines the type of SSO provider.
const ( // SSOProviderTypeKeycloak means keycloak will be Installed and Integrated with Argo CD. A new realm with name argocd // will be created in this keycloak. This realm will have a client with name argocd that uses OpenShift v4 as Identity Provider. SSOProviderTypeKeycloak SSOProviderType = "keycloak" // SSOProviderTypeDex means dex will be Installed and Integrated with Argo CD. SSOProviderTypeDex SSOProviderType = "dex" )
func (SSOProviderType) ToLower ¶
func (p SSOProviderType) ToLower() SSOProviderType
ToLower returns the lower case representation for a SSOProviderType
type WebhookSecretKeySelector ¶
type WebhookSecretKeySelector struct {
// Name of the Secret.
// +kubebuilder:validation:Required
Name string `json:"name"`
// Key in the Secret whose value should be used.
// +kubebuilder:validation:Required
Key string `json:"key"`
}
WebhookSecretKeySelector references one key within a Secret. +k8s:openapi-gen=true
func (*WebhookSecretKeySelector) DeepCopy ¶
func (in *WebhookSecretKeySelector) DeepCopy() *WebhookSecretKeySelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookSecretKeySelector.
func (*WebhookSecretKeySelector) DeepCopyInto ¶
func (in *WebhookSecretKeySelector) DeepCopyInto(out *WebhookSecretKeySelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookServerSpec ¶
type WebhookServerSpec struct {
// Host is the hostname to use for Ingress/Route resources.
//+operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Host",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:fieldGroup:Server","urn:alm:descriptor:com.tectonic.ui:text"}
Host string `json:"host,omitempty"`
// Ingress defines the desired state for an Ingress for the Application set webhook component.
Ingress ArgoCDIngressSpec `json:"ingress,omitempty"`
// Route defines the desired state for an OpenShift Route for the Application set webhook component.
Route ArgoCDRouteSpec `json:"route,omitempty"`
}
WebhookServerSpec defines the options for the ApplicationSet Webhook Server component.
func (*WebhookServerSpec) DeepCopy ¶
func (in *WebhookServerSpec) DeepCopy() *WebhookServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookServerSpec.
func (*WebhookServerSpec) DeepCopyInto ¶
func (in *WebhookServerSpec) DeepCopyInto(out *WebhookServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.