diff --git a/api/v1alpha1/instrumentation_webhook.go b/api/v1alpha1/instrumentation_webhook.go index 1d9d7b9..a38d096 100644 --- a/api/v1alpha1/instrumentation_webhook.go +++ b/api/v1alpha1/instrumentation_webhook.go @@ -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{} @@ -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 == "" { diff --git a/bundle/manifests/newrelic-agent-operator.clusterserviceversion.yaml b/bundle/manifests/newrelic-agent-operator.clusterserviceversion.yaml index 725faa9..64bfda5 100644 --- a/bundle/manifests/newrelic-agent-operator.clusterserviceversion.yaml +++ b/bundle/manifests/newrelic-agent-operator.clusterserviceversion.yaml @@ -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 @@ -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 diff --git a/chart/templates/mutating-webhook-configuration.yaml b/chart/templates/mutating-webhook-configuration.yaml index e099eb9..8bd6d33 100644 --- a/chart/templates/mutating-webhook-configuration.yaml +++ b/chart/templates/mutating-webhook-configuration.yaml @@ -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 diff --git a/config/webhook/manifests.yaml b/config/webhook/manifests.yaml index e049973..c765aec 100644 --- a/config/webhook/manifests.yaml +++ b/config/webhook/manifests.yaml @@ -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 diff --git a/kind-1.19.yaml b/kind-1.19.yaml deleted file mode 100644 index 8b85a6a..0000000 --- a/kind-1.19.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.19.16@sha256:707469aac7e6805e52c3bde2a8a8050ce2b15decff60db6c5077ba9975d28b98 diff --git a/kind-1.20.yaml b/kind-1.20.yaml deleted file mode 100644 index 44e7f6a..0000000 --- a/kind-1.20.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.20.15@sha256:d67de8f84143adebe80a07672f370365ec7d23f93dc86866f0e29fa29ce026fe diff --git a/kind-1.21.yaml b/kind-1.21.yaml deleted file mode 100644 index 2894a87..0000000 --- a/kind-1.21.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.21.14@sha256:f9b4d3d1112f24a7254d2ee296f177f628f9b4c1b32f0006567af11b91c1f301 diff --git a/kind-1.22.yaml b/kind-1.22.yaml deleted file mode 100644 index 27fe599..0000000 --- a/kind-1.22.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.22.13@sha256:4904eda4d6e64b402169797805b8ec01f50133960ad6c19af45173a27eadf959 \ No newline at end of file