Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ArgoRolloutsImageEnvName is an environment variable that can be used to deploy a // Custom Image of rollouts controller. ArgoRolloutsImageEnvName = "ARGO_ROLLOUTS_IMAGE" // DefaultArgoRolloutsMetricsServiceName is the default name for rollouts metrics service. DefaultArgoRolloutsMetricsServiceName = "argo-rollouts-metrics" // ArgoRolloutsDefaultImage is the default image for rollouts controller. DefaultArgoRolloutsImage = "quay.io/argoproj/argo-rollouts" // ArgoRolloutsDefaultVersion is the default version for the rollouts controller. DefaultArgoRolloutsVersion = "sha256:995450a0a7f7843d68e96d1a7f63422fa29b245c58f7b57dd0cf9cad72b8308f" //v1.4.1 // DefaultArgoRolloutsResourceName is the default name for rollout controller resources such as // deployment, service, role, rolebinding and serviceaccount. DefaultArgoRolloutsResourceName = "argo-rollouts" // DefaultRolloutsNotificationSecretName is the default name for rollout controller secret resource. DefaultRolloutsNotificationSecretName = "argo-rollouts-notification-secret" // DefaultRolloutsServiceSelectorKey is key used by selector DefaultRolloutsSelectorKey = "app.kubernetes.io/name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RolloutManagerReconciler ¶
RolloutManagerReconciler reconciles a RolloutManager object
func (*RolloutManagerReconciler) Reconcile ¶
func (r *RolloutManagerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RolloutManager object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*RolloutManagerReconciler) SetupWithManager ¶
func (r *RolloutManagerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.