v1alpha1

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the argoproj v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=argoproj.io

Package v1alpha1 contains API Schema definitions for the argoproj v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=argoproj.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "argoproj.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

Types

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

func (*ArgoCD) DeepCopy

func (in *ArgoCD) DeepCopy() *ArgoCD

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCD.

func (*ArgoCD) DeepCopyInto

func (in *ArgoCD) DeepCopyInto(out *ArgoCD)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArgoCD) DeepCopyObject

func (in *ArgoCD) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ArgoCD) IsDeletionFinalizerPresent added in v0.0.15

func (argocd *ArgoCD) IsDeletionFinalizerPresent() bool

IsDeletionFinalizerPresent checks if the instance has deletion finalizer

type ArgoCDApplicationControllerProcessorsSpec

type ArgoCDApplicationControllerProcessorsSpec struct {
	// Operation is the number of application operation processors.
	Operation int32 `json:"operation,omitempty"`

	// Status is the number of application status processors.
	Status int32 `json:"status,omitempty"`
}

ArgoCDApplicationControllerProcessorsSpec defines the options for the ArgoCD Application Controller processors.

func (*ArgoCDApplicationControllerProcessorsSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationControllerProcessorsSpec.

func (*ArgoCDApplicationControllerProcessorsSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArgoCDApplicationControllerSpec

type ArgoCDApplicationControllerSpec struct {
	// Processors contains the options for the Application Controller processors.
	Processors ArgoCDApplicationControllerProcessorsSpec `json:"processors,omitempty"`

	// Resources defines the Compute Resources required by the container for the Application Controller.
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`

	// AppSync is used to control the sync frequency, by default the ArgoCD
	// controller polls Git every 3m by default.
	//
	// Set this to a duration, e.g. 10m or 600s to control the synchronisation
	// frequency.
	// +optional
	AppSync *metav1.Duration `json:"appSync,omitempty"`
}

ArgoCDApplicationControllerSpec defines the options for the ArgoCD Application Controller component.

func (*ArgoCDApplicationControllerSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationControllerSpec.

func (*ArgoCDApplicationControllerSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArgoCDApplicationSet added in v0.0.15

type ArgoCDApplicationSet struct {

	// 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"`
}

ArgoCDApplicationSet defines whether the Argo CD ApplicationSet controller should be installed.

func (*ArgoCDApplicationSet) DeepCopy added in v0.0.15

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDApplicationSet.

func (*ArgoCDApplicationSet) DeepCopyInto added in v0.0.15

func (in *ArgoCDApplicationSet) DeepCopyInto(out *ArgoCDApplicationSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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

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 ArgoCDDexOAuthSpec added in v0.0.5

type ArgoCDDexOAuthSpec struct {
	// Enabled will toggle OAuth support for the Dex server.
	Enabled bool `json:"enabled"`
}

ArgoCDDexOAuthSpec defines the desired state for the Dex OAuth configuration.

func (*ArgoCDDexOAuthSpec) DeepCopy added in v0.0.5

func (in *ArgoCDDexOAuthSpec) DeepCopy() *ArgoCDDexOAuthSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDDexOAuthSpec.

func (*ArgoCDDexOAuthSpec) DeepCopyInto added in v0.0.5

func (in *ArgoCDDexOAuthSpec) DeepCopyInto(out *ArgoCDDexOAuthSpec)

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.
	Config string `json:"config,omitempty"`

	// Image is the Dex container image.
	Image string `json:"image,omitempty"`

	// OpenShiftOAuth enables OpenShift OAuth authentication for the Dex server.
	OpenShiftOAuth bool `json:"openShiftOAuth,omitempty"`

	// Resources defines the Compute Resources required by the container for Dex.
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`

	// Version is the Dex container image tag.
	Version string `json:"version,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 ArgoCDExport added in v0.0.4

type ArgoCDExport struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ArgoCDExportSpec   `json:"spec,omitempty"`
	Status ArgoCDExportStatus `json:"status,omitempty"`
}

ArgoCDExport is the Schema for the argocdexports API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=argocdexports,scope=Namespaced

func (*ArgoCDExport) DeepCopy added in v0.0.4

func (in *ArgoCDExport) DeepCopy() *ArgoCDExport

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDExport.

func (*ArgoCDExport) DeepCopyInto added in v0.0.4

func (in *ArgoCDExport) DeepCopyInto(out *ArgoCDExport)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArgoCDExport) DeepCopyObject added in v0.0.4

func (in *ArgoCDExport) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ArgoCDExportList added in v0.0.4

type ArgoCDExportList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ArgoCDExport `json:"items"`
}

ArgoCDExportList contains a list of ArgoCDExport

func (*ArgoCDExportList) DeepCopy added in v0.0.4

func (in *ArgoCDExportList) DeepCopy() *ArgoCDExportList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDExportList.

func (*ArgoCDExportList) DeepCopyInto added in v0.0.4

func (in *ArgoCDExportList) DeepCopyInto(out *ArgoCDExportList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArgoCDExportList) DeepCopyObject added in v0.0.4

func (in *ArgoCDExportList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ArgoCDExportSpec added in v0.0.4

type ArgoCDExportSpec struct {
	// Argocd is the name of the ArgoCD instance to export.
	Argocd string `json:"argocd"`

	// Image is the container image to use for the export Job.
	Image string `json:"image,omitempty"`

	// Schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
	Schedule *string `json:"schedule,omitempty"`

	// Storage defines the storage configuration options.
	Storage *ArgoCDExportStorageSpec `json:"storage,omitempty"`

	// Version is the tag/digest to use for the export Job container image.
	Version string `json:"version,omitempty"`
}

ArgoCDExportSpec defines the desired state of ArgoCDExport +k8s:openapi-gen=true

func (*ArgoCDExportSpec) DeepCopy added in v0.0.4

func (in *ArgoCDExportSpec) DeepCopy() *ArgoCDExportSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDExportSpec.

func (*ArgoCDExportSpec) DeepCopyInto added in v0.0.4

func (in *ArgoCDExportSpec) DeepCopyInto(out *ArgoCDExportSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArgoCDExportStatus added in v0.0.4

type ArgoCDExportStatus struct {
	// Phase is a simple, high-level summary of where the ArgoCDExport is in its lifecycle.
	// There are five possible phase values:
	// Pending: The ArgoCDExport has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
	// Running: All of the containers for the ArgoCDExport are still running, or in the process of starting or restarting.
	// Succeeded: All containers for the ArgoCDExport have terminated in success, and will not be restarted.
	// Failed: At least one container has terminated in failure, either exited with non-zero status or was terminated by the system.
	// Unknown: For some reason the state of the ArgoCDExport could not be obtained.
	Phase string `json:"phase"`
}

ArgoCDExportStatus defines the observed state of ArgoCDExport +k8s:openapi-gen=true

func (*ArgoCDExportStatus) DeepCopy added in v0.0.4

func (in *ArgoCDExportStatus) DeepCopy() *ArgoCDExportStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDExportStatus.

func (*ArgoCDExportStatus) DeepCopyInto added in v0.0.4

func (in *ArgoCDExportStatus) DeepCopyInto(out *ArgoCDExportStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArgoCDExportStorageSpec added in v0.0.4

type ArgoCDExportStorageSpec struct {
	// Backend defines the storage backend to use, must be "local" (the default), "aws", "azure" or "gcp".
	Backend string `json:"backend,omitempty"`

	// PVC is the desired characteristics for a PersistentVolumeClaim.
	PVC *corev1.PersistentVolumeClaimSpec `json:"pvc,omitempty"`

	// SecretName is the name of a Secret with encryption key, credentials, etc.
	SecretName string `json:"secretName,omitempty"`
}

ArgoCDExportStorageSpec defines the desired state for ArgoCDExport storage options.

func (*ArgoCDExportStorageSpec) DeepCopy added in v0.0.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDExportStorageSpec.

func (*ArgoCDExportStorageSpec) DeepCopyInto added in v0.0.4

func (in *ArgoCDExportStorageSpec) DeepCopyInto(out *ArgoCDExportStorageSpec)

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.
	Enabled bool `json:"enabled"`

	// Host is the hostname to use for Ingress/Route resources.
	Host string `json:"host,omitempty"`

	// Image is the Grafana container image.
	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.
	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.
	Size *int32 `json:"size,omitempty"`

	// Version is the Grafana container image tag.
	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 added in v0.0.5

type ArgoCDHASpec struct {
	// Enabled will toggle HA support globally for Argo CD.
	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 added in v0.0.5

func (in *ArgoCDHASpec) DeepCopy() *ArgoCDHASpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDHASpec.

func (*ArgoCDHASpec) DeepCopyInto added in v0.0.5

func (in *ArgoCDHASpec) DeepCopyInto(out *ArgoCDHASpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArgoCDImportSpec added in v0.0.4

type ArgoCDImportSpec struct {
	// Name of an ArgoCDExport from which to import data.
	Name string `json:"name"`

	// Namespace for the ArgoCDExport, defaults to the same namespace as the ArgoCD.
	Namespace *string `json:"namespace,omitempty"`
}

ArgoCDImportSpec defines the desired state for the ArgoCD import/restore process.

func (*ArgoCDImportSpec) DeepCopy added in v0.0.4

func (in *ArgoCDImportSpec) DeepCopy() *ArgoCDImportSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDImportSpec.

func (*ArgoCDImportSpec) DeepCopyInto added in v0.0.4

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.
	Enabled bool `json:"enabled"`

	// 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 []extv1beta1.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 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 ArgoCDPrometheusSpec

type ArgoCDPrometheusSpec struct {
	// Enabled will toggle Prometheus support globally for ArgoCD.
	Enabled bool `json:"enabled"`

	// Host is the hostname to use for Ingress/Route resources.
	Host string `json:"host,omitempty"`

	// Ingress defines the desired state for an Ingress for the Prometheus component.
	Ingress ArgoCDIngressSpec `json:"ingress,omitempty"`

	// Route defines the desired state for an OpenShift Route for the Prometheus component.
	Route ArgoCDRouteSpec `json:"route,omitempty"`

	// Size is the replica count for the Prometheus StatefulSet.
	Size *int32 `json:"size,omitempty"`
}

ArgoCDPrometheusSpec defines the desired state for the Prometheus component.

func (*ArgoCDPrometheusSpec) DeepCopy

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 added in v0.0.5

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...
	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.
	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]'.
	Scopes *string `json:"scopes,omitempty"`
}

ArgoCDRBACSpec defines the desired state for the Argo CD RBAC configuration.

func (*ArgoCDRBACSpec) DeepCopy added in v0.0.5

func (in *ArgoCDRBACSpec) DeepCopy() *ArgoCDRBACSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRBACSpec.

func (*ArgoCDRBACSpec) DeepCopyInto added in v0.0.5

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.
	Image string `json:"image,omitempty"`

	// Resources defines the Compute Resources required by the container for Redis.
	Resources *corev1.ResourceRequirements `json:"resources,omitempty"`

	// Version is the Redis container image tag.
	Version string `json:"version,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.

type ArgoCDRepoSpec added in v0.0.5

type ArgoCDRepoSpec struct {
	// MountSAToken describes whether you would like to have the Repo server mount the service account token
	MountSAToken bool `json:"mountsatoken,omitempty"`

	// Resources defines the Compute Resources required by the container for Redis.
	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"`
}

ArgoCDRepoSpec defines the desired state for the Argo CD repo server component.

func (*ArgoCDRepoSpec) DeepCopy added in v0.0.5

func (in *ArgoCDRepoSpec) DeepCopy() *ArgoCDRepoSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRepoSpec.

func (*ArgoCDRepoSpec) DeepCopyInto added in v0.0.5

func (in *ArgoCDRepoSpec) DeepCopyInto(out *ArgoCDRepoSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArgoCDRouteSpec added in v0.0.10

type ArgoCDRouteSpec struct {
	// Annotations is the map of annotations to use for the Route resource.
	Annotations map[string]string `json:"annotations,omitempty"`

	// Enabled will toggle the creation of the OpenShift Route.
	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 added in v0.0.10

func (in *ArgoCDRouteSpec) DeepCopy() *ArgoCDRouteSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRouteSpec.

func (*ArgoCDRouteSpec) DeepCopyInto added in v0.0.10

func (in *ArgoCDRouteSpec) DeepCopyInto(out *ArgoCDRouteSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArgoCDServerAutoscaleSpec added in v0.0.5

type ArgoCDServerAutoscaleSpec struct {
	// Enabled will toggle autoscaling support for the Argo CD Server component.
	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 added in v0.0.5

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDServerAutoscaleSpec.

func (*ArgoCDServerAutoscaleSpec) DeepCopyInto added in v0.0.5

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.
	Host string `json:"host,omitempty"`

	// Ingress defines the desired state for the Argo CD Server GRPC Ingress.
	Ingress ArgoCDIngressSpec `json:"ingress,omitempty"`
}

ArgoCDServerGRPCSpec defines the desired state for the Argo CD Server GRPC options.

func (*ArgoCDServerGRPCSpec) DeepCopy

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.
	Type corev1.ServiceType `json:"type"`
}

ArgoCDServerServiceSpec defines the Service options for Argo CD Server component.

func (*ArgoCDServerServiceSpec) DeepCopy

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"`

	// GRPC defines the state for the Argo CD Server GRPC options.
	GRPC ArgoCDServerGRPCSpec `json:"grpc,omitempty"`

	// Host is the hostname to use for Ingress/Route resources.
	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.
	Insecure bool `json:"insecure,omitempty"`

	// Resources defines the Compute Resources required by the container for the Argo CD server component.
	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"`
}

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.

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.
	ApplicationInstanceLabelKey string `json:"applicationInstanceLabelKey,omitempty"`

	// ConfigManagementPlugins is used to specify additional config management plugins.
	ConfigManagementPlugins string `json:"configManagementPlugins,omitempty"`

	// Controller defines the Application Controller options for ArgoCD.
	Controller ArgoCDApplicationControllerSpec `json:"controller,omitempty"`

	// Dex defines the Dex server options for ArgoCD.
	Dex ArgoCDDexSpec `json:"dex,omitempty"`

	// DisableAdmin will disable the admin user.
	DisableAdmin bool `json:"disableAdmin,omitempty"`

	// GATrackingID is the google analytics tracking ID to use.
	GATrackingID string `json:"gaTrackingID,omitempty"`

	// GAAnonymizeUsers toggles user IDs being hashed before sending to google analytics.
	GAAnonymizeUsers bool `json:"gaAnonymizeUsers,omitempty"`

	// 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.
	HelpChatURL string `json:"helpChatURL,omitempty"`

	// HelpChatText is the text for getting chat help, defaults to "Chat now!"
	HelpChatText string `json:"helpChatText,omitempty"`

	// Image is the ArgoCD container image for all ArgoCD components.
	Image string `json:"image,omitempty"`

	// Import is the import/restore options for ArgoCD.
	Import *ArgoCDImportSpec `json:"import,omitempty"`

	// InitialRepositories to configure Argo CD with upon creation of the cluster.
	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"`

	// OIDCConfig is the OIDC configuration as an alternative to dex.
	OIDCConfig string `json:"oidcConfig,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"`

	// RepositoryCredentials are the Git pull credentials to configure Argo CD with upon creation of the cluster.
	RepositoryCredentials string `json:"repositoryCredentials,omitempty"`

	// ResourceCustomizations customizes resource behavior. Keys are in the form: group/Kind.
	ResourceCustomizations string `json:"resourceCustomizations,omitempty"`

	// ResourceExclusions is used to completely ignore entire classes of resource group/kinds.
	ResourceExclusions string `json:"resourceExclusions,omitempty"`

	// ResourceInclusions is used to only include specific group/kinds in the
	// reconciliation process.
	ResourceInclusions string `json:"resourceInclusions,omitempty"`

	// Server defines the options for the ArgoCD Server component.
	Server ArgoCDServerSpec `json:"server,omitempty"`

	// StatusBadgeEnabled toggles application status badge feature.
	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.
	UsersAnonymousEnabled bool `json:"usersAnonymousEnabled,omitempty"`

	// Version is the tag to use with the ArgoCD container image for all ArgoCD components.
	Version string `json:"version,omitempty"`
}

ArgoCDSpec defines the desired state of ArgoCD +k8s:openapi-gen=true

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 five 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: For some reason the state of the Argo CD application controller component could not be obtained.
	ApplicationController string `json:"applicationController,omitempty"`

	// Dex is a simple, high-level summary of where the Argo CD Dex component is in its lifecycle.
	// There are five possible dex values:
	// Pending: The Argo CD Dex 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 Dex component are in a Ready state.
	// Failed: At least one of the  Argo CD Dex component Pods had a failure.
	// Unknown: For some reason the state of the Argo CD Dex component could not be obtained.
	Dex string `json:"dex,omitempty"`

	// Phase is a simple, high-level summary of where the ArgoCD is in its lifecycle.
	// There are five 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: For some reason the state of the ArgoCD phase could not be obtained.
	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 five 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: For some reason the state of the Argo CD Redis component could not be obtained.
	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 five 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: For some reason the state of the Argo CD Repo component could not be obtained.
	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 five 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: For some reason the state of the Argo CD server component could not be obtained.
	Server string `json:"server,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 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 SSHHostsSpec added in v0.0.13

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 added in v0.0.14

func (in *SSHHostsSpec) DeepCopy() *SSHHostsSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHHostsSpec.

func (*SSHHostsSpec) DeepCopyInto added in v0.0.14

func (in *SSHHostsSpec) DeepCopyInto(out *SSHHostsSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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