Skip to content

Commit 4bdbd71

Browse files
authored
chore: add cilium 1.17 charts (#3413)
* chore: add cilium 1.17 and chart updates for k8s 1.32 * fix: rename config path * fix: make json path * swap kpr to strict in hubble chart
1 parent 0d069df commit 4bdbd71

File tree

18 files changed

+1882
-3
lines changed

18 files changed

+1882
-3
lines changed

test/integration/manifests/cilium/v1.16/cilium-agent/templates/daemonset-dualstack.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ spec:
154154
readOnly: true
155155
- mountPath: /run/xtables.lock
156156
name: xtables-lock
157+
- mountPath: /var/run/cilium/netns
158+
name: cilium-netns
159+
mountPropagation: HostToContainer
157160
dnsPolicy: ClusterFirst
158161
hostNetwork: true
159162
initContainers:
@@ -424,6 +427,10 @@ spec:
424427
path: /proc/sys/kernel
425428
type: Directory
426429
name: host-proc-sys-kernel
430+
- hostPath:
431+
path: /var/run/netns
432+
type: DirectoryOrCreate
433+
name: cilium-netns
427434
updateStrategy:
428435
rollingUpdate:
429436
maxSurge: 0

test/integration/manifests/cilium/v1.16/cilium-agent/templates/daemonset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ spec:
154154
readOnly: true
155155
- mountPath: /run/xtables.lock
156156
name: xtables-lock
157+
- mountPath: /var/run/cilium/netns
158+
name: cilium-netns
159+
mountPropagation: HostToContainer
157160
dnsPolicy: ClusterFirst
158161
hostNetwork: true
159162
initContainers:
@@ -411,6 +414,10 @@ spec:
411414
path: /proc/sys/kernel
412415
type: Directory
413416
name: host-proc-sys-kernel
417+
- hostPath:
418+
path: /var/run/netns
419+
type: DirectoryOrCreate
420+
name: cilium-netns
414421
updateStrategy:
415422
rollingUpdate:
416423
maxSurge: 0

test/integration/manifests/cilium/v1.16/cilium-config/cilium-config-dualstack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ data:
6969
synchronize-k8s-nodes: "true"
7070
tofqdns-dns-reject-response-code: refused
7171
tofqdns-enable-dns-compression: "true"
72-
tofqdns-endpoint-max-ip-per-hostname: "50"
72+
tofqdns-endpoint-max-ip-per-hostname: "1000"
7373
tofqdns-idle-connection-grace-period: 0s
7474
tofqdns-max-deferred-connection-deletes: "10000"
7575
tofqdns-min-ttl: "0"

test/integration/manifests/cilium/v1.16/cilium-config/cilium-config-hubble.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ data:
7070
synchronize-k8s-nodes: "true"
7171
tofqdns-dns-reject-response-code: refused
7272
tofqdns-enable-dns-compression: "true"
73-
tofqdns-endpoint-max-ip-per-hostname: "50"
73+
tofqdns-endpoint-max-ip-per-hostname: "1000"
7474
tofqdns-idle-connection-grace-period: 0s
7575
tofqdns-max-deferred-connection-deletes: "10000"
7676
tofqdns-min-ttl: "0"

test/integration/manifests/cilium/v1.16/cilium-config/cilium-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ data:
6565
synchronize-k8s-nodes: "true"
6666
tofqdns-dns-reject-response-code: refused
6767
tofqdns-enable-dns-compression: "true"
68-
tofqdns-endpoint-max-ip-per-hostname: "50"
68+
tofqdns-endpoint-max-ip-per-hostname: "1000"
6969
tofqdns-idle-connection-grace-period: 0s
7070
tofqdns-max-deferred-connection-deletes: "10000"
7171
tofqdns-min-ttl: "0"
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: cilium
5+
labels:
6+
app.kubernetes.io/part-of: cilium
7+
rules:
8+
- apiGroups:
9+
- networking.k8s.io
10+
resources:
11+
- networkpolicies
12+
verbs:
13+
- get
14+
- list
15+
- watch
16+
- apiGroups:
17+
- discovery.k8s.io
18+
resources:
19+
- endpointslices
20+
verbs:
21+
- get
22+
- list
23+
- watch
24+
- apiGroups:
25+
- ""
26+
resources:
27+
- namespaces
28+
- services
29+
- pods
30+
- endpoints
31+
- nodes
32+
verbs:
33+
- get
34+
- list
35+
- watch
36+
- apiGroups:
37+
- apiextensions.k8s.io
38+
resources:
39+
- customresourcedefinitions
40+
verbs:
41+
- list
42+
- watch
43+
# This is used when validating policies in preflight. This will need to stay
44+
# until we figure out how to avoid "get" inside the preflight, and then
45+
# should be removed ideally.
46+
- get
47+
- apiGroups:
48+
- cilium.io
49+
resources:
50+
- ciliumbgppeeringpolicies
51+
- ciliumclusterwideenvoyconfigs
52+
- ciliumclusterwidenetworkpolicies
53+
- ciliumegressgatewaypolicies
54+
- ciliumendpoints
55+
- ciliumendpointslices
56+
- ciliumenvoyconfigs
57+
- ciliumidentities
58+
- ciliumlocalredirectpolicies
59+
- ciliumnetworkpolicies
60+
- ciliumnodes
61+
- ciliumnodeconfigs
62+
- ciliumloadbalancerippools
63+
- ciliumcidrgroups
64+
- ciliuml2announcementpolicies
65+
- ciliumpodippools
66+
- ciliumbgpnodeconfigs
67+
- ciliumbgpadvertisements
68+
- ciliumbgppeerconfigs
69+
verbs:
70+
- list
71+
- watch
72+
- apiGroups:
73+
- cilium.io
74+
resources:
75+
- ciliumidentities
76+
- ciliumendpoints
77+
- ciliumnodes
78+
verbs:
79+
- create
80+
- apiGroups:
81+
- cilium.io
82+
# To synchronize garbage collection of such resources
83+
resources:
84+
- ciliumidentities
85+
verbs:
86+
- update
87+
- apiGroups:
88+
- cilium.io
89+
resources:
90+
- ciliumendpoints
91+
verbs:
92+
- delete
93+
- get
94+
- apiGroups:
95+
- cilium.io
96+
resources:
97+
- ciliumnodes
98+
- ciliumnodes/status
99+
verbs:
100+
- get
101+
- update
102+
- apiGroups:
103+
- cilium.io
104+
resources:
105+
- ciliumnetworkpolicies/status
106+
- ciliumclusterwidenetworkpolicies/status
107+
- ciliumendpoints/status
108+
- ciliumendpoints
109+
- ciliuml2announcementpolicies/status
110+
- ciliumbgpnodeconfigs/status
111+
verbs:
112+
- patch
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRoleBinding
3+
metadata:
4+
name: cilium
5+
labels:
6+
app.kubernetes.io/part-of: cilium
7+
roleRef:
8+
apiGroup: rbac.authorization.k8s.io
9+
kind: ClusterRole
10+
name: cilium
11+
subjects:
12+
- kind: ServiceAccount
13+
name: "cilium"
14+
namespace: kube-system
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
kind: ServiceAccount
3+
metadata:
4+
name: "cilium"
5+
namespace: kube-system

0 commit comments

Comments
 (0)