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 = "v1.6.6" // v1.6.6 // 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" // #nosec G101 // DefaultRolloutsServiceSelectorKey is key used by selector DefaultRolloutsSelectorKey = "app.kubernetes.io/name" // OpenShiftRolloutPluginName is the plugin name for Openshift Route Plugin OpenShiftRolloutPluginName = "openshift-route-plugin" // OpenShiftRolloutPluginPath is the path on the rollout controller pod where the plugin will be mounted OpenShiftRolloutPluginPath = "/plugin/rollouts-plugin-trafficrouter-openshift" // DefaultRolloutsConfigMapName is the default name of the ConfigMap that contains the Rollouts controller configuration DefaultRolloutsConfigMapName = "argo-rollouts-config" )
Variables ¶
This section is empty.
Functions ¶
func GetPolicyRules ¶
func GetPolicyRules() []rbacv1.PolicyRule
getPolicyRules returns the policy rules for Argo Rollouts Role.
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.
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.