diff --git a/api/v1alpha1/endpointmonitor_types.go b/api/v1alpha1/endpointmonitor_types.go index 31e686a4..a819a96b 100644 --- a/api/v1alpha1/endpointmonitor_types.go +++ b/api/v1alpha1/endpointmonitor_types.go @@ -195,7 +195,7 @@ type StatusCakeConfig struct { // +optional NodeLocations string `json:"nodeLocations,omitempty"` - // Comma seperated list of HTTP codes to trigger error on + // Comma separated list of HTTP codes to trigger error on // +optional StatusCodes string `json:"statusCodes,omitempty"` diff --git a/bundle/manifests/endpointmonitor.stakater.com_endpointmonitors.yaml b/bundle/manifests/endpointmonitor.stakater.com_endpointmonitors.yaml index 73d200e1..ac7f6781 100644 --- a/bundle/manifests/endpointmonitor.stakater.com_endpointmonitors.yaml +++ b/bundle/manifests/endpointmonitor.stakater.com_endpointmonitors.yaml @@ -161,7 +161,7 @@ spec: description: Enable Real Browser type: boolean statusCodes: - description: Comma seperated list of HTTP codes to trigger error + description: Comma separated list of HTTP codes to trigger error on type: string testTags: diff --git a/charts/ingressmonitorcontroller/crds/endpointmonitor.stakater.com_endpointmonitors.yaml b/charts/ingressmonitorcontroller/crds/endpointmonitor.stakater.com_endpointmonitors.yaml index 6cfb5cf3..344a521c 100644 --- a/charts/ingressmonitorcontroller/crds/endpointmonitor.stakater.com_endpointmonitors.yaml +++ b/charts/ingressmonitorcontroller/crds/endpointmonitor.stakater.com_endpointmonitors.yaml @@ -162,7 +162,7 @@ spec: description: Enable Real Browser type: boolean statusCodes: - description: Comma seperated list of HTTP codes to trigger error + description: Comma separated list of HTTP codes to trigger error on type: string testTags: diff --git a/config/crd/bases/endpointmonitor.stakater.com_endpointmonitors.yaml b/config/crd/bases/endpointmonitor.stakater.com_endpointmonitors.yaml index 6cfb5cf3..344a521c 100644 --- a/config/crd/bases/endpointmonitor.stakater.com_endpointmonitors.yaml +++ b/config/crd/bases/endpointmonitor.stakater.com_endpointmonitors.yaml @@ -162,7 +162,7 @@ spec: description: Enable Real Browser type: boolean statusCodes: - description: Comma seperated list of HTTP codes to trigger error + description: Comma separated list of HTTP codes to trigger error on type: string testTags: diff --git a/docs/uptimerobot-configuration.md b/docs/uptimerobot-configuration.md index 478b3120..d1bff5b3 100644 --- a/docs/uptimerobot-configuration.md +++ b/docs/uptimerobot-configuration.md @@ -29,7 +29,7 @@ You will get a response similar to what is shown below ] ``` -Copy values of `id` field of your alert contacts which you want to use for Ingress Monitor Controller and append `_0_0` to them and seperate them by `-`. You will now have a string similar to `12345_0_0-23564_0_0`. This is basically the value you will need to specify in Ingress Monitor Controller's ConfigMap as `alertContacts`. +Copy values of `id` field of your alert contacts which you want to use for Ingress Monitor Controller and append `_0_0` to them and separate them by `-`. You will now have a string similar to `12345_0_0-23564_0_0`. This is basically the value you will need to specify in Ingress Monitor Controller's ConfigMap as `alertContacts`. ## Configuration @@ -82,7 +82,7 @@ You will get a response similar to what is shown below } ``` -Copy values of `id` field of your public status page which you want to use for Ingress Monitor Controller into the relevant EndpointMonitor CR. +Copy values of `id` field of your public status page which you want to use for Ingress Monitor Controller into the relevant EndpointMonitor CR. ### Fetching maintenance windows from UpTime Robot @@ -121,7 +121,7 @@ You will get a response similar to what is shown below Copy values of `id` field of the maintenance windows which you want to use for Ingress Monitor Controller and separate them by `-`. You will now have a string similar to `12345-23564`. This is basically the value you will need to specify in the maintenance-windows EndpointMonitor CR. -## Example: +## Example: ```yaml apiVersion: endpointmonitor.stakater.com/v1alpha1 @@ -139,5 +139,5 @@ spec: keywordExists: true keywordValue: 404 statusPages: "status-page" - + ``` diff --git a/pkg/monitors/pingdom/pingdom-monitor.go b/pkg/monitors/pingdom/pingdom-monitor.go index 11d62bc2..c8b54184 100644 --- a/pkg/monitors/pingdom/pingdom-monitor.go +++ b/pkg/monitors/pingdom/pingdom-monitor.go @@ -248,7 +248,7 @@ func (service *PingdomMonitorService) addConfigToHttpCheck(httpCheck *pingdom.Ht log.Info("Should contain detected. Setting Should Contain string: " + providerConfig.ShouldContain) } - // Tags should be a single word or multiple comma-seperated words + // Tags should be a single word or multiple comma-separated words if providerConfig != nil && len(providerConfig.Tags) > 0 { if !strings.Contains(providerConfig.Tags, " ") { httpCheck.Tags = providerConfig.Tags