-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
executable file
·55 lines (55 loc) · 1.17 KB
/
deployment.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
apiVersion: v1
kind: Namespace
metadata:
name: iam
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: k8s-iam-operator
namespace: iam
spec:
selector:
matchLabels:
app: k8s-iam-operator
replicas: 1
template:
metadata:
labels:
app: k8s-iam-operator
spec:
serviceAccountName: k8s-iam-operator
containers:
- name: k8s-iam-operator
image: "quay.io/yannick_siewe/k8s-iam-operator:2.0.1-alpine"
imagePullPolicy: IfNotPresent
env:
- name: GROUP_NAME
value: 'k8sio.auth'
- name: ENABLE_TRACING
value: 'True'
- name: TEMPO_ENDPOINT
value: "http://apm-tempo.monitoring:4317/"
readinessProbe:
httpGet:
path: /actuator/health
port: 8081
initialDelaySeconds: 45
livenessProbe:
httpGet:
path: /actuator/health
port: 8081
initialDelaySeconds: 45
---
apiVersion: v1
kind: Service
metadata:
name: k8s-iam-operator
namespace: iam
spec:
selector:
app: k8s-iam-operator
ports:
- protocol: TCP
port: 8080
targetPort: 8080