Skip to content

Commit 7fcf03c

Browse files
carlydfclaude
andcommitted
Clean up config/webhook/manifests.yaml
- Remove stale MutatingWebhookConfiguration for TWD (not registered in main.go) - Rename ValidatingWebhookConfiguration to wrt-validating-webhook-configuration so a future twd-validating-webhook-configuration can coexist cleanly Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a348b01 commit 7fcf03c

3 files changed

Lines changed: 9 additions & 27 deletions

File tree

api/v1alpha1/temporalworker_webhook.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Unless explicitly stated otherwise all files in this repository are licensed under the MIT License.
2+
//
3+
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
4+
15
package v1alpha1
26

37
import (

api/v1alpha1/temporalworker_webhook_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Unless explicitly stated otherwise all files in this repository are licensed under the MIT License.
2+
//
3+
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
4+
15
package v1alpha1_test
26

37
import (

config/webhook/manifests.yaml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,8 @@
11
---
22
apiVersion: admissionregistration.k8s.io/v1
3-
kind: MutatingWebhookConfiguration
4-
metadata:
5-
name: mutating-webhook-configuration
6-
webhooks:
7-
- admissionReviewVersions:
8-
- v1
9-
clientConfig:
10-
service:
11-
name: webhook-service
12-
namespace: system
13-
path: /mutate-temporal-io-temporal-io-v1alpha1-temporalworkerdeployment
14-
failurePolicy: Fail
15-
name: mtemporalworker.kb.io
16-
rules:
17-
- apiGroups:
18-
- temporal.io.temporal.io
19-
apiVersions:
20-
- v1alpha1
21-
operations:
22-
- CREATE
23-
- UPDATE
24-
resources:
25-
- temporalworkers
26-
sideEffects: None
27-
---
28-
apiVersion: admissionregistration.k8s.io/v1
293
kind: ValidatingWebhookConfiguration
304
metadata:
31-
name: validating-webhook-configuration
5+
name: wrt-validating-webhook-configuration
326
webhooks:
337
- admissionReviewVersions:
348
- v1

0 commit comments

Comments
 (0)