Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-lozoya committed Dec 4, 2023
1 parent 483ae50 commit 2f23349
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 26 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/instrumentation_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (r *Instrumentation) SetupWebhookWithManager(mgr ctrl.Manager) error {
Complete()
}

// +kubebuilder:webhook:path=/mutate-newrelic-com-v1alpha1-instrumentation,mutating=true,failurePolicy=fail,sideEffects=None,groups=newrelic.com,resources=instrumentations,verbs=create;update,versions=v1alpha1,name=minstrumentation.kb.io,admissionReviewVersions=v1
// +kubebuilder:webhook:path=/mutate-newrelic-com-v1alpha1-instrumentation,mutating=true,failurePolicy=fail,sideEffects=None,groups=newrelic.com,resources=instrumentations,verbs=create;update,versions=v1alpha1,name=instrumentation.kb.io,admissionReviewVersions=v1

var _ webhook.Defaulter = &Instrumentation{}

Expand All @@ -57,7 +57,7 @@ func (r *Instrumentation) Default() {
r.Labels = map[string]string{}
}
if r.Labels["app.kubernetes.io/managed-by"] == "" {
r.Labels["app.kubernetes.io/managed-by"] = "newrelice-agent-operator"
r.Labels["app.kubernetes.io/managed-by"] = "newrelic-agent-operator"
}

if r.Spec.Java.Image == "" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2023-12-01T00:18:18Z"
createdAt: "2023-12-04T21:11:35Z"
operators.operatorframework.io/builder: operator-sdk-v1.27.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4-alpha
name: newrelic-agent-operator.v0.1.2
Expand Down Expand Up @@ -262,7 +262,7 @@ spec:
containerPort: 443
deploymentName: newrelic-agent-operator-controller-manager
failurePolicy: Fail
generateName: minstrumentation.kb.io
generateName: instrumentation.kb.io
rules:
- apiGroups:
- newrelic.com
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/mutating-webhook-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ webhooks:
namespace: '{{ .Release.Namespace }}'
path: /mutate-newrelic-com-v1alpha1-instrumentation
failurePolicy: Fail
name: minstrumentation.kb.io
name: instrumentation.kb.io
rules:
- apiGroups:
- newrelic.com
Expand Down
2 changes: 1 addition & 1 deletion config/webhook/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ webhooks:
namespace: system
path: /mutate-newrelic-com-v1alpha1-instrumentation
failurePolicy: Fail
name: minstrumentation.kb.io
name: instrumentation.kb.io
rules:
- apiGroups:
- newrelic.com
Expand Down
5 changes: 0 additions & 5 deletions kind-1.19.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions kind-1.20.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions kind-1.21.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions kind-1.22.yaml

This file was deleted.

0 comments on commit 2f23349

Please sign in to comment.