@@ -4,10 +4,10 @@ apiVersion: rbac.authorization.k8s.io/v1
44metadata :
55 name : citrix-node-controller
66rules :
7- - apiGroups : ["* "]
7+ - apiGroups : [""]
88 resources : ["configmaps", "pods"]
99 verbs : ["get", "list", "watch", "create", "patch", "delete", "update"]
10- - apiGroups : [""]
10+ - apiGroups : ["* "]
1111 resources : ["configmaps", "pods"]
1212 verbs : ["get", "list", "watch", "create", "patch", "delete", "update"]
1313 - apiGroups : [""]
@@ -37,90 +37,62 @@ roleRef:
3737subjects :
3838- kind : ServiceAccount
3939 name : citrix-node-controller
40- namespace : default
41- apiVersion : rbac.authorization.k8s.io/v1
40+ namespace : citrix-system
4241---
4342apiVersion : v1
4443kind : ServiceAccount
4544metadata :
4645 name : citrix-node-controller
47- namespace : default
48- ---
49- kind : ClusterRole
50- apiVersion : rbac.authorization.k8s.io/v1
51- metadata :
52- name : kube-cnc-router
53- rules :
54- - apiGroups : ["*"]
55- resources : ["configmaps"]
56- verbs : ["get", "list", "watch", "create", "patch", "delete", "update"]
57- - apiGroups : [""]
58- resources : ["configmaps"]
59- verbs : ["get", "list", "watch", "create", "patch", "delete", "update"]
60- - apiGroups : ["crd.projectcalico.org"]
61- resources : ["ipamblocks"]
62- verbs : ["get", "list"]
46+ namespace : citrix-system
6347---
64- kind : ClusterRoleBinding
65- apiVersion : rbac.authorization.k8s.io/v1
66- metadata :
67- name : kube-cnc-router
68- roleRef :
69- apiGroup : rbac.authorization.k8s.io
70- kind : ClusterRole
71- name : kube-cnc-router
72- subjects :
73- - kind : ServiceAccount
74- name : kube-cnc-router
75- namespace : default
76- apiVersion : rbac.authorization.k8s.io/v1
77- ---
78- apiVersion : v1
79- kind : ServiceAccount
80- metadata :
81- name : kube-cnc-router
82- namespace : default
83-
84- ---
85- apiVersion : apps/v1
48+ apiVersion : apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and before 1.8.0 use extensions/v1beta1
8649kind : Deployment
8750metadata :
88- name : citrix-node-controller
51+ name : cnc-citrix-node-controller
52+ namespace : citrix-system
8953spec :
9054 selector :
9155 matchLabels :
92- app : citrix-node-controller
56+ app.kubernetes.io/name : citrix-node-controller
57+ app.kubernetes.io/instance : cnc
9358 replicas : 1
9459 template :
9560 metadata :
9661 labels :
97- app : citrix-node-controller
62+ app.kubernetes.io/name : citrix-node-controller
63+ app.kubernetes.io/instance : cnc
9864 spec :
9965 serviceAccountName : citrix-node-controller
10066 containers :
10167 - name : citrix-node-controller
102- image : " quay.io/citrix/citrix-k8s-node-controller:2.2.10 "
68+ image : " quay.io/citrix/citrix-k8s-node-controller:2.2.11 "
10369 imagePullPolicy : Always
10470 env :
71+ - name : EULA
72+ value : " yes"
10573 - name : NS_IP
10674 value : " xxxxxxx"
10775 - name : NS_USER
10876 valueFrom :
10977 secretKeyRef :
110- name : nslogin
111- key : username
78+ name : nslogin
79+ key : username
11280 - name : NS_PASSWORD
11381 valueFrom :
11482 secretKeyRef :
115- name : nslogin
116- key : password
83+ name : nslogin
84+ key : password
11785 - name : NETWORK
118- value : " 172.16 .3.0/24"
86+ value : " 172.18 .3.0/24"
11987 - name : REMOTE_VTEPIP
120- value : " xx.xx.xx.xx"
121- - name : VXLAN_PORT
122- value : " 3267"
88+ value : " xx.xx.xx.yy"
12389 - name : VNID
124- value : " 300"
90+ value : " 175"
91+ - name : VXLAN_PORT
92+ value : " 8472"
12593 - name : CNI_TYPE
126- value : " xxxx"
94+ value : <CNI-NAME like calico, flannel>
95+ - name : " CNC_ROUTER_NAME"
96+ value : kube-cnc-router
97+ - name : " CNC_CONFIGMAP"
98+ value : citrix-node-controller
0 commit comments