File tree 6 files changed +69
-1
lines changed
6 files changed +69
-1
lines changed Original file line number Diff line number Diff line change
1
+ ../../crd
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -55,3 +55,24 @@ webhooks:
55
55
resources :
56
56
- virtualmachines
57
57
sideEffects : None
58
+ - admissionReviewVersions :
59
+ - v1
60
+ - v1beta1
61
+ clientConfig :
62
+ service :
63
+ name : {{ .Values.virtController.name }}
64
+ namespace : {{ .Release.Namespace }}
65
+ path : /validate-v1alpha1-virtualmachinemigration
66
+ failurePolicy : Fail
67
+ name : validate.virtualmachinemigration.v1alpha1.virt.virtink.smartx.com
68
+ rules :
69
+ - apiGroups :
70
+ - virt.virtink.smartx.com
71
+ apiVersions :
72
+ - v1alpha1
73
+ operations :
74
+ - CREATE
75
+ - UPDATE
76
+ resources :
77
+ - virtualmachinemigrations
78
+ sideEffects : None
Original file line number Diff line number Diff line change @@ -72,6 +72,22 @@ rules:
72
72
- get
73
73
- list
74
74
- watch
75
+ - apiGroups :
76
+ - virt.virtink.smartx.com
77
+ resources :
78
+ - virtualmachinemigrations
79
+ verbs :
80
+ - get
81
+ - list
82
+ - watch
83
+ - apiGroups :
84
+ - virt.virtink.smartx.com
85
+ resources :
86
+ - virtualmachinemigrations/status
87
+ verbs :
88
+ - get
89
+ - patch
90
+ - update
75
91
- apiGroups :
76
92
- virt.virtink.smartx.com
77
93
resources :
Original file line number Diff line number Diff line change
1
+ {{- $service := .Values.virtDaemon }}
2
+ apiVersion : cert-manager.io/v1
3
+ kind : Certificate
4
+ metadata :
5
+ name : {{ $service.name }}-cert
6
+ spec :
7
+ issuerRef :
8
+ kind : Issuer
9
+ name : {{ $service.name }}-cert-issuer
10
+ dnsNames :
11
+ - {{ $service.name }}.{{ .Release.Namespace }}.svc
12
+ - {{ $service.name }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}
13
+ secretName : {{ $service.name }}-cert
14
+ ---
15
+ apiVersion : cert-manager.io/v1
16
+ kind : Issuer
17
+ metadata :
18
+ name : {{ $service.name }}-cert-issuer
19
+ spec :
20
+ selfSigned : {}
Original file line number Diff line number Diff line change @@ -35,12 +35,23 @@ spec:
35
35
valueFrom :
36
36
fieldRef :
37
37
fieldPath : spec.nodeName
38
+ - name : NODE_IP
39
+ valueFrom :
40
+ fieldRef :
41
+ fieldPath : status.podIP
38
42
args :
39
43
- --zap-time-encoding=iso8601
40
44
volumeMounts :
41
45
- name : kubelet-pods
42
46
mountPath : /var/lib/kubelet/pods
47
+ - name : cert
48
+ mountPath : /var/lib/virtink/daemon/cert
49
+ readOnly : true
43
50
volumes :
44
51
- name : kubelet-pods
45
52
hostPath :
46
53
path : /var/lib/kubelet/pods
54
+ - name : cert
55
+ secret :
56
+ secretName : virt-daemon-cert
57
+ defaultMode : 420
You can’t perform that action at this time.
0 commit comments