This repository has been archived by the owner on Sep 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
kubernetes.yaml
64 lines (62 loc) · 2.79 KB
/
kubernetes.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apiVersion: v1
kind: Service
metadata:
labels:
name: strimzi-topic-webhook
name: strimzi-topic-webhook
namespace: default
spec:
ports:
- name: https
port: 443
targetPort: 8443
selector:
name: strimzi-topic-webhook
type: ClusterIP
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: strimzi-topic-webhook
labels:
name: strimzi-topic-webhook
namespace: default
spec:
replicas: 1
template:
metadata:
name: strimzi-topic-webhook
labels:
name: strimzi-topic-webhook
spec:
containers:
- image: strimzi/kafka-topic-webhook:latest
name: strimzi-topic-webhook
env:
- name: ZOOKEEPER_URL
value: my-cluster-zookeeper:2181
ports:
- containerPort: 8443
name: https
---
apiVersion: admissionregistration.k8s.io/v1alpha1
kind: ExternalAdmissionHookConfiguration
metadata:
name: strimzi-topic-webhook
externalAdmissionHooks:
- name: topic-webhook.kafka.strimzi.io
rules:
- apiGroups:
- ""
apiVersions:
- v1
operations:
- CREATE
resources:
- pods
failurePolicy: Ignore
clientConfig:
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURPakNDQWlLZ0F3SUJBZ0lVSnNOeklveUNESEpYcmhDakJvM1M2elZTNnNvd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0l6RWhNQjhHQTFVRUNoTVlVM1J5YVcxNmFTQlViM0JwWXlCWFpXSm9iMjlySUVOQk1CNFhEVEU0TURFdwpOekl4TVRBd01Gb1hEVEl6TURFd05qSXhNVEF3TUZvd0l6RWhNQjhHQTFVRUNoTVlVM1J5YVcxNmFTQlViM0JwCll5QlhaV0pvYjI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