Skip to content

Commit b8dc705

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 f9ea169 commit b8dc705

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
@@ -152,6 +152,9 @@ spec:
152152
readOnly: true
153153
- mountPath: /run/xtables.lock
154154
name: xtables-lock
155+
- mountPath: /var/run/cilium/netns
156+
name: cilium-netns
157+
mountPropagation: HostToContainer
155158
dnsPolicy: ClusterFirst
156159
hostNetwork: true
157160
initContainers:
@@ -428,6 +431,10 @@ spec:
428431
path: /proc/sys/kernel
429432
type: Directory
430433
name: host-proc-sys-kernel
434+
- hostPath:
435+
path: /var/run/netns
436+
type: DirectoryOrCreate
437+
name: cilium-netns
431438
updateStrategy:
432439
rollingUpdate:
433440
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
@@ -152,6 +152,9 @@ spec:
152152
readOnly: true
153153
- mountPath: /run/xtables.lock
154154
name: xtables-lock
155+
- mountPath: /var/run/cilium/netns
156+
name: cilium-netns
157+
mountPropagation: HostToContainer
155158
dnsPolicy: ClusterFirst
156159
hostNetwork: true
157160
initContainers:
@@ -415,6 +418,10 @@ spec:
415418
path: /proc/sys/kernel
416419
type: Directory
417420
name: host-proc-sys-kernel
421+
- hostPath:
422+
path: /var/run/netns
423+
type: DirectoryOrCreate
424+
name: cilium-netns
418425
updateStrategy:
419426
rollingUpdate:
420427
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)