From 4381ae1126d191bd9a057d0f7f0165b7bd6033fb Mon Sep 17 00:00:00 2001 From: Connor Kuehl Date: Thu, 18 Jan 2024 11:17:40 -0600 Subject: [PATCH] Add "harvester-" prefix to webhook name In order to be more consistent with the other Harvester Service objects. Signed-off-by: Connor Kuehl --- cmd/webhook/main.go | 2 +- manifests/service.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go index 3bce90cb..a352d539 100644 --- a/cmd/webhook/main.go +++ b/cmd/webhook/main.go @@ -17,7 +17,7 @@ import ( "github.com/harvester/node-manager/pkg/mutator" ) -const webhookName = "node-manager-webhook" +const webhookName = "harvester-node-manager-webhook" func main() { var options config.Options diff --git a/manifests/service.yaml b/manifests/service.yaml index 9e9f18eb..8af4bb3a 100644 --- a/manifests/service.yaml +++ b/manifests/service.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: - name: node-manager-webhook + name: harvester-node-manager-webhook namespace: harvester-system spec: type: ClusterIP