File tree 1 file changed +4
-11
lines changed
1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 1
- apiVersion : extensions/v1beta1
1
+ apiVersion : apps/v1
2
2
kind : Deployment
3
3
metadata :
4
- labels :
5
- name : etcdoperator
6
4
name : etcd-operator
7
5
spec :
8
- replicas : 1
9
6
selector :
10
7
matchLabels :
11
- name : etcd-operator
8
+ app : etcd-operator
9
+ replicas : 1
12
10
template :
13
11
metadata :
14
12
labels :
15
- name : etcd-operator
13
+ app : etcd-operator
16
14
spec :
17
15
containers :
18
16
- name : etcd-operator
19
17
image : quay.io/coreos/etcd-operator:v0.9.4
20
18
command :
21
19
- etcd-operator
22
- - --create-crd=false
23
20
env :
24
21
- name : MY_POD_NAMESPACE
25
22
valueFrom :
26
23
fieldRef :
27
- apiVersion : v1
28
24
fieldPath : metadata.namespace
29
25
- name : MY_POD_NAME
30
26
valueFrom :
31
27
fieldRef :
32
- apiVersion : v1
33
28
fieldPath : metadata.name
34
- imagePullPolicy : IfNotPresent
35
- serviceAccountName : etcd-operator-sa
You can’t perform that action at this time.
0 commit comments