Skip to content

Commit 8ccd414

Browse files
committed
add: webhook configuration along with CO kustomize
1 parent 08b5bc9 commit 8ccd414

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

config/default/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ commonLabels:
1616
bases:
1717
- ../rbac
1818
- ../manager
19+
- ../raycluster_webhook
1920
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
2021
# - ../prometheus
2122

config/raycluster_webhook/cluster_role_binding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
subjects:
66
- kind: ServiceAccount
77
name: raycluster-mutating-webhook
8-
namespace: default
8+
namespace: system
99
roleRef:
1010
kind: ClusterRole
1111
name: raycluster-mutating-webhook

config/raycluster_webhook/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: raycluster-mutating-webhook
5-
namespace: default
5+
namespace: system
66
labels:
77
app: raycluster-mutating-webhook
88
spec:

config/raycluster_webhook/mutating_webhook_configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ webhooks:
1414
caBundle: Cg==
1515
service:
1616
name: raycluster-mutating-webhook
17-
namespace: default
17+
namespace: system
1818
path: "/mutate"
1919
rules:
2020
- operations: ["CREATE", "UPDATE"]

config/raycluster_webhook/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: raycluster-mutating-webhook
5-
namespace: default
5+
namespace: system
66
annotations:
77
service.beta.openshift.io/serving-cert-secret-name: raycluster-webhook-cert
88
spec:

config/raycluster_webhook/service_account.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v1
22
kind: ServiceAccount
33
metadata:
44
name: raycluster-mutating-webhook
5-
namespace: default
5+
namespace: system
66

0 commit comments

Comments
 (0)