Skip to content

Commit

Permalink
add correction typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HansCeril authored and HansCeril committed Aug 5, 2022
1 parent 32e5c41 commit 65e9dc4
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/externalip_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type ExternalIPSpec struct {
// +optional
NodeName string `json:"nodeName,omitempty"`

// Whether to disable reconcialition of this resource for development purpose
// Whether to disable reconciliation of this resource for development purpose
//+kubebuilder:validation:Optional
//+kubebuilder:default:=false
DisableReconciliation bool `json:"disableReconciliation"`
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/firewallrule_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type FirewallRuleSpec struct {
// The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
ToPort *int64 `json:"toPort,omitempty"`

// Whether to disable reconcialition of this resource for development purpose
// Whether to disable reconciliation of this resource for development purpose
//+kubebuilder:validation:Optional
//+kubebuilder:default:=false
DisableReconciliation bool `json:"disableReconciliation"`
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kubestatic.quortex.io_externalips.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
properties:
disableReconciliation:
default: false
description: Whether to disable reconcialition of this resource for
description: Whether to disable reconciliation of this resource for
development purpose
type: boolean
nodeName:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kubestatic.quortex.io_firewallrules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
type: string
disableReconciliation:
default: false
description: Whether to disable reconcialition of this resource for
description: Whether to disable reconciliation of this resource for
development purpose
type: boolean
fromPort:
Expand Down
2 changes: 1 addition & 1 deletion controllers/externalip_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (r *ExternalIPReconciler) Reconcile(ctx context.Context, req ctrl.Request)
}

if externalIP.Spec.DisableReconciliation {
log.Info("Reconciliation externalIpdisabled")
log.Info("Reconciliation disabled")
return ctrl.Result{}, nil
}

Expand Down
2 changes: 1 addition & 1 deletion controllers/firewallrule_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (r *FirewallRuleReconciler) Reconcile(ctx context.Context, req ctrl.Request
}

if firewallRule.Spec.DisableReconciliation {
log.Info("Reconciliation externalIpdisabled")
log.Info("Reconciliation disabled")
return ctrl.Result{}, nil
}

Expand Down
3 changes: 2 additions & 1 deletion docs/api-docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ExternalIPSpec defines the desired state of ExternalIP
|===
| Field | Description
| *`nodeName`* __string__ | NodeName is the node's instance on which the address must be attached
| *`disableReconciliation`* __boolean__ | Whether to disable reconcialition of this resource for development purpose
| *`disableReconciliation`* __boolean__ | Whether to disable reconciliation of this resource for development purpose
|===


Expand Down Expand Up @@ -97,6 +97,7 @@ FirewallRuleSpec defines the desired state of FirewallRule
| *`protocol`* __string__ | The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). Use -1 to specify all protocols.
| *`ipRanges`* __xref:{anchor_prefix}-github-com-quortex-kubestatic-api-v1alpha1-iprange[$$IPRange$$]__ | The IPv4 ranges.
| *`toPort`* __integer__ | The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
| *`disableReconciliation`* __boolean__ | Whether to disable reconciliation of this resource for development purpose
|===


Expand Down

0 comments on commit 65e9dc4

Please sign in to comment.