Skip to content

Commit

Permalink
Add Cilium v1.15.1
Browse files Browse the repository at this point in the history
Signed-off-by: Michi Mutsuzaki <[email protected]>
  • Loading branch information
michi-covalent committed Feb 16, 2024
1 parent 163628b commit 8983467
Show file tree
Hide file tree
Showing 184 changed files with 34,854 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Makefile.releases
Original file line number Diff line number Diff line change
Expand Up @@ -742,3 +742,23 @@ images.operator.all: images.operator.v1.14.7 generate.configs.v1.14.7
generate.configs.all: generate.configs.v1.14.7

images.operator.v1.14.7 generate.configs.v1.14.7: cilium_version=1.14.7


# Cilium v1.15.1

images.all: images.operator.v1.15.1

images.operator.all: images.operator.v1.15.1 generate.configs.v1.15.1
generate.configs.all: generate.configs.v1.15.1

images.operator.v1.15.1 generate.configs.v1.15.1: cilium_version=1.15.1


# Cilium v1.15.1

images.all: images.operator.v1.15.1

images.operator.all: images.operator.v1.15.1 generate.configs.v1.15.1
generate.configs.all: generate.configs.v1.15.1

images.operator.v1.15.1 generate.configs.v1.15.1: cilium_version=1.15.1
362 changes: 362 additions & 0 deletions bundles/cilium.v1.15.1/manifests/cilium.clusterserviceversion.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Copyright 2017-2020 Authors of Cilium
# SPDX-License-Identifier: Apache-2.0
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: ciliumconfigs.cilium.io
spec:
group: cilium.io
names:
kind: CiliumConfig
listKind: CiliumConfigList
plural: ciliumconfigs
singular: ciliumconfig
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Schema for the CiliumConfigs API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: Spec defines the desired state of CiliumConfig
type: object
x-kubernetes-preserve-unknown-fields: true
status:
description: Status defines the observed state of CiliumConfig
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
served: true
storage: true
subresources:
status: {}
11 changes: 11 additions & 0 deletions bundles/cilium.v1.15.1/metadata/annotations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
annotations:
operators.operatorframework.io.bundle.channel.default.v1: "1.15"
operators.operatorframework.io.bundle.channels.v1: "1.15"
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: cilium
operators.operatorframework.io.metrics.builder: operator-sdk-v1.0.1
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
com.redhat.openshift.versions: "v4.9"
39 changes: 39 additions & 0 deletions ciliumconfig.conformance.v1.15.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: cilium.io/v1alpha1
kind: CiliumConfig
metadata:
name: cilium
namespace: cilium
spec:
debug:
enabled: true
k8s:
requireIPv4PodCIDR: true
logSystemLoad: true
bpf:
preallocateMaps: true
etcd:
leaseTTL: 30s
ipv4:
enabled: true
ipv6:
enabled: true
identityChangeGracePeriod: 0s
ipam:
mode: "cluster-pool"
operator:
clusterPoolIPv4PodCIDRList:
- "10.128.0.0/14"
clusterPoolIPv4MaskSize: "23"
nativeRoutingCIDR: "10.128.0.0/14"
endpointRoutes: {enabled: true}
clusterHealthPort: 9940
tunnelPort: 4789
cni:
binPath: "/var/lib/cni/bin"
confPath: "/var/run/multus/cni/net.d"
chainingMode: portmap
prometheus:
serviceMonitor: {enabled: false}
hubble:
tls: {enabled: false}
sessionAffinity: true
18 changes: 18 additions & 0 deletions ciliumconfig.v1.15.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: cilium.io/v1alpha1
kind: CiliumConfig
metadata:
name: cilium
namespace: cilium
spec:
ipam:
mode: "cluster-pool"
cni:
binPath: "/var/lib/cni/bin"
confPath: "/var/run/multus/cni/net.d"
prometheus:
serviceMonitor: {enabled: false}
hubble:
tls: {enabled: false}
securityContext:
privileged: true
sessionAffinity: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Copyright 2017-2020 Authors of Cilium
# SPDX-License-Identifier: Apache-2.0
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: ciliumconfigs.cilium.io
spec:
group: cilium.io
names:
kind: CiliumConfig
listKind: CiliumConfigList
plural: ciliumconfigs
singular: ciliumconfig
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Schema for the CiliumConfigs API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: Spec defines the desired state of CiliumConfig
type: object
x-kubernetes-preserve-unknown-fields: true
status:
description: Status defines the observed state of CiliumConfig
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Namespace
metadata:
annotations:
openshift.io/node-selector: ""
labels:
name: cilium
openshift.io/cluster-logging: "true"
openshift.io/cluster-monitoring: "true"
openshift.io/run-level: "0"
name: cilium
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
name: cilium-olm
name: cilium-olm
namespace: cilium
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
name: cilium-olm
name: cilium-olm
namespace: cilium
spec:
replicas: 1
selector:
matchLabels:
name: cilium-olm
template:
metadata:
labels:
name: cilium-olm
spec:
containers:
- command:
- /usr/local/bin/helm-operator
- run
- --watches-file=watches.yaml
- --enable-leader-election
- --leader-election-id=cilium-olm
- --zap-devel
- --metrics-addr=localhost:8082
- --health-probe-bind-address=localhost:8081
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: RELATED_IMAGE_CILIUM
value: quay.io/cilium/cilium@sha256:351d6685dc6f6ffbcd5451043167cfa8842c6decf80d8c8e426a417c73fb56d4
- name: RELATED_IMAGE_HUBBLE_RELAY
value: quay.io/cilium/hubble-relay@sha256:3254aaf85064bc1567e8ce01ad634b6dd269e91858c83be99e47e685d4bb8012
- name: RELATED_IMAGE_CILIUM_OPERATOR
value: quay.io/cilium/operator-generic@sha256:819c7281f5a4f25ee1ce2ec4c76b6fbc69a660c68b7825e9580b1813833fa743
- name: RELATED_IMAGE_PREFLIGHT
value: quay.io/cilium/cilium@sha256:351d6685dc6f6ffbcd5451043167cfa8842c6decf80d8c8e426a417c73fb56d4
- name: RELATED_IMAGE_CLUSTERMESH
value: quay.io/cilium/clustermesh-apiserver@sha256:b353badd255c2ce47eaa8f394ee4cbf70666773d7294bd887693e0c33503dc37
- name: RELATED_IMAGE_CERTGEN
value: quay.io/cilium/certgen@sha256:f09fccb919d157fc0a83de20011738192a606250c0ee3238e3610b6cb06c0981
- name: RELATED_IMAGE_HUBBLE_UI_BE
value: quay.io/cilium/hubble-ui-backend@sha256:6a396a3674b7d90ff8c408a2e13bc70b7871431bddd63da57afcdeea1d77d27c
- name: RELATED_IMAGE_HUBBLE_UI_FE
value: quay.io/cilium/hubble-ui@sha256:cc0d4f6f610409707566087895062ac40960d667dd79e4f33a4f0f393758fc1e
- name: RELATED_IMAGE_ETCD_OPERATOR
value: quay.io/cilium/cilium-etcd-operator@sha256:04b8327f7f992693c2cb483b999041ed8f92efc8e14f2a5f3ab95574a65ea2dc
- name: RELATED_IMAGE_NODEINIT
value: quay.io/cilium/startup-script@sha256:a1454ca1f93b69ecd2c43482c8e13dc418ae15e28a46009f5934300a20afbdba
- name: RELATED_IMAGE_CLUSTERMESH_ETCD
value: null@null
image: registry.connect.redhat.com/isovalent/cilium-olm:262bc76a8812ded7601c52acedfb1ea9cfe9f198-v1.15.1
name: operator
ports:
- containerPort: 9443
name: https
protocol: TCP
resources:
requests:
cpu: 100m
memory: 512Mi
volumeMounts:
- mountPath: /tmp
name: tmp
hostNetwork: true
serviceAccount: cilium-olm
terminationGracePeriodSeconds: 10
tolerations:
- operator: Exists
volumes:
- emptyDir: {}
name: tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: cilium-olm
name: cilium-olm
namespace: cilium
spec:
ports:
- name: https
port: 443
targetPort: 9443
selector:
name: cilium-olm
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: cilium-olm-leader-election
namespace: cilium
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: cilium-olm
namespace: cilium
rules:
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- apiGroups:
- cilium.io
resources:
- ciliumconfigs
- ciliumconfigs/status
verbs:
- list
- apiGroups:
- cilium.io
resources:
- ciliumconfigs
- ciliumconfigs/status
- ciliumconfigs/finalizers
verbs:
- get
- patch
- update
- watch
- list
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- apiGroups:
- ""
resources:
- secrets
verbs:
- '*'
- apiGroups:
- ""
resources:
- serviceaccounts
- configmaps
- secrets
- services
verbs:
- '*'
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- '*'
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- '*'
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: leader-election
namespace: cilium
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: leader-election
subjects:
- kind: ServiceAccount
name: cilium-olm
namespace: cilium
Loading

0 comments on commit 8983467

Please sign in to comment.