Skip to content

Commit c26ecea

Browse files
committed
Pull out the duplicate namespace definition to a separate 0-namespace.yaml file.
Signed-off-by: Huang Xin <[email protected]>
1 parent fca5760 commit c26ecea

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

config/webhook/0-namespace.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: gateway-system

config/webhook/admission_webhook.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
apiVersion: v1
2-
kind: Namespace
3-
metadata:
4-
name: gateway-system
5-
---
61
apiVersion: admissionregistration.k8s.io/v1
72
kind: ValidatingWebhookConfiguration
83
metadata:

config/webhook/certificate_config.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
apiVersion: v1
2-
kind: Namespace
3-
metadata:
4-
name: gateway-system
5-
---
6-
apiVersion: v1
72
kind: ServiceAccount
83
metadata:
94
name: gateway-api-admission

0 commit comments

Comments
 (0)