Skip to content

Commit

Permalink
Pull out the duplicate namespace definition to a separate 0-namespace…
Browse files Browse the repository at this point in the history
….yaml file.

Signed-off-by: Huang Xin <xin1.huang@intel.com>
  • Loading branch information
gyohuangxin committed Sep 13, 2022
1 parent fca5760 commit c26ecea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 4 additions & 0 deletions config/webhook/0-namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: gateway-system
5 changes: 0 additions & 5 deletions config/webhook/admission_webhook.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
apiVersion: v1
kind: Namespace
metadata:
name: gateway-system
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
Expand Down
5 changes: 0 additions & 5 deletions config/webhook/certificate_config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: gateway-system
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: gateway-api-admission
Expand Down

0 comments on commit c26ecea

Please sign in to comment.