Skip to content

Commit 0d01259

Browse files
committed
Add bump tool and bump version to 4.7.1
Signed-off-by: Yanir Quinn <[email protected]>
1 parent b24fb6d commit 0d01259

File tree

8 files changed

+754
-3
lines changed

8 files changed

+754
-3
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ dist-docs-generator: build-output-dir
9090
dist-functests:
9191
./hack/build-test-bin.sh
9292

93+
.PHONY: new-zversion
94+
new-zversion: dist-clean bump-zversion generate
95+
96+
.PHONY: bump-zversion
97+
bump-zversion:
98+
./hack/bump-zversion.sh
99+
93100
.PHONY: build-containers
94101
build-containers: bundle-container index-container operator-container must-gather-container
95102

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
annotations:
2+
operators.operatorframework.io.bundle.mediatype.v1: "registry+v1"
3+
operators.operatorframework.io.bundle.manifests.v1: "manifests/"
4+
operators.operatorframework.io.bundle.metadata.v1: "metadata/"
5+
operators.operatorframework.io.bundle.package.v1: "performance-addon-operator"
6+
operators.operatorframework.io.bundle.channels.v1: "4.7"
7+
operators.operatorframework.io.bundle.channel.default.v1: "4.7"
Lines changed: 269 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,269 @@
1+
---
2+
apiVersion: operators.coreos.com/v1alpha1
3+
kind: ClusterServiceVersion
4+
metadata:
5+
annotations:
6+
alm-examples: |-
7+
[
8+
{
9+
"apiVersion": "performance.openshift.io/v1",
10+
"kind": "PerformanceProfile",
11+
"metadata": {
12+
"name": "example-performanceprofile"
13+
},
14+
"spec": {
15+
"additionalKernelArgs": [
16+
"nmi_watchdog=0",
17+
"audit=0",
18+
"mce=off",
19+
"processor.max_cstate=1",
20+
"idle=poll",
21+
"intel_idle.max_cstate=0"
22+
],
23+
"cpu": {
24+
"isolated": "2-3",
25+
"reserved": "0-1"
26+
},
27+
"hugepages": {
28+
"defaultHugepagesSize": "1G",
29+
"pages": [
30+
{
31+
"count": 2,
32+
"node": 0,
33+
"size": "1G"
34+
}
35+
]
36+
},
37+
"nodeSelector": {
38+
"node-role.kubernetes.io/performance": ""
39+
},
40+
"realTimeKernel": {
41+
"enabled": true
42+
}
43+
}
44+
},
45+
{
46+
"apiVersion": "performance.openshift.io/v2",
47+
"kind": "PerformanceProfile",
48+
"metadata": {
49+
"name": "example-performanceprofile"
50+
},
51+
"spec": {
52+
"additionalKernelArgs": [
53+
"nmi_watchdog=0",
54+
"audit=0",
55+
"mce=off",
56+
"processor.max_cstate=1",
57+
"idle=poll",
58+
"intel_idle.max_cstate=0"
59+
],
60+
"cpu": {
61+
"isolated": "2-3",
62+
"reserved": "0-1"
63+
},
64+
"hugepages": {
65+
"defaultHugepagesSize": "1G",
66+
"pages": [
67+
{
68+
"count": 2,
69+
"node": 0,
70+
"size": "1G"
71+
}
72+
]
73+
},
74+
"nodeSelector": {
75+
"node-role.kubernetes.io/performance": ""
76+
},
77+
"realTimeKernel": {
78+
"enabled": true
79+
}
80+
}
81+
}
82+
]
83+
capabilities: Basic Install
84+
containerImage: REPLACE_IMAGE
85+
description: Operator to optimize OpenShift clusters for applications sensitive to CPU and network latency.
86+
olm.skipRange: '>=4.6.0 <4.7.1'
87+
operators.operatorframework.io/builder: operator-sdk-v1.0.0
88+
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
89+
repository: https://github.com/openshift-kni/performance-addon-operators
90+
name: performance-addon-operator.v4.7.1
91+
namespace: placeholder
92+
spec:
93+
apiservicedefinitions: {}
94+
customresourcedefinitions:
95+
owned:
96+
- description: PerformanceProfile is the Schema for the performanceprofiles API v2.
97+
displayName: Performance Profile v2
98+
kind: PerformanceProfile
99+
name: performanceprofiles.performance.openshift.io
100+
version: v2
101+
- description: PerformanceProfile is the Schema for the performanceprofiles API v1.
102+
displayName: Performance Profile v1
103+
kind: PerformanceProfile
104+
name: performanceprofiles.performance.openshift.io
105+
version: v1
106+
- description: PerformanceProfile is the Schema for the performanceprofiles API v1alpha1.
107+
displayName: Performance Profile v1alpha1
108+
kind: PerformanceProfile
109+
name: performanceprofiles.performance.openshift.io
110+
version: v1alpha1
111+
description: |2-
112+
113+
Performance Addon Operator provides the ability to enable advanced node performance tunings on a set of nodes.
114+
displayName: Performance Addon Operator
115+
icon:
116+
- base64data: PHN2ZyBpZD0iZTY5YmZjMDktYTIzMi00YmM5LWEzOGQtZDcwM2Y5MTY4OTE2IiBkYXRhLW5hbWU9Ikljb24iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDM2IDM2Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmVjNTIyYmY1LTQ5YWMtNDQ4MS1iN2YwLTdkYmM3NGEyZTg1YiB7CiAgICAgICAgZmlsbDogI2UwMDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggY2xhc3M9ImVjNTIyYmY1LTQ5YWMtNDQ4MS1iN2YwLTdkYmM3NGEyZTg1YiIgZD0iTTE4LDkuNjJBLjYyLjYyLDAsMSwwLDE3LjM4LDksLjYxLjYxLDAsMCwwLDE4LDkuNjJaIi8+CiAgPGc+CiAgICA8cGF0aCBjbGFzcz0iZWM1MjJiZjUtNDlhYy00NDgxLWI3ZjAtN2RiYzc0YTJlODViIiBkPSJNNiwyNC42MkgzMGEuNjEuNjEsMCwwLDAsLjYyLS42MlY5QS42MS42MSwwLDAsMCwzMCw4LjM4SDIxYS42Mi42MiwwLDEsMCwwLDEuMjRoOC4zOFYyMy4zOEg2LjYyVjkuNjJIMTVhLjYyLjYyLDAsMCwwLDAtMS4yNEg2QS42MS42MSwwLDAsMCw1LjM4LDlWMjRBLjYxLjYxLDAsMCwwLDYsMjQuNjJaIi8+CiAgICA8cGF0aCBjbGFzcz0iZWM1MjJiZjUtNDlhYy00NDgxLWI3ZjAtN2RiYzc0YTJlODViIiBkPSJNMzIsMjYuMzhINGEuNjIuNjIsMCwxLDAsMCwx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NzVBMS4zOCwxLjM4LDAsMCwxLDIzLjUsMTUuMTJaIi8+CiAgPC9nPgo8L3N2Zz4K
117+
mediatype: image/svg+xml
118+
install:
119+
spec:
120+
clusterPermissions:
121+
- rules:
122+
- apiGroups:
123+
- ""
124+
resources:
125+
- events
126+
verbs:
127+
- '*'
128+
- apiGroups:
129+
- machineconfiguration.openshift.io
130+
resources:
131+
- kubeletconfigs
132+
- machineconfigpools
133+
- machineconfigs
134+
verbs:
135+
- '*'
136+
- apiGroups:
137+
- node.k8s.io
138+
resources:
139+
- runtimeclasses
140+
verbs:
141+
- '*'
142+
- apiGroups:
143+
- performance.openshift.io
144+
resources:
145+
- performanceprofiles
146+
- performanceprofiles/finalizers
147+
- performanceprofiles/status
148+
verbs:
149+
- '*'
150+
- apiGroups:
151+
- tuned.openshift.io
152+
resources:
153+
- tuneds
154+
verbs:
155+
- '*'
156+
serviceAccountName: performance-operator
157+
deployments:
158+
- name: performance-operator
159+
spec:
160+
replicas: 1
161+
selector:
162+
matchLabels:
163+
name: performance-operator
164+
strategy: {}
165+
template:
166+
metadata:
167+
labels:
168+
name: performance-operator
169+
spec:
170+
affinity:
171+
nodeAffinity:
172+
requiredDuringSchedulingIgnoredDuringExecution:
173+
nodeSelectorTerms:
174+
- matchExpressions:
175+
- key: node-role.kubernetes.io/master
176+
operator: Exists
177+
containers:
178+
- command:
179+
- performance-operator
180+
env:
181+
- name: WATCH_NAMESPACE
182+
valueFrom:
183+
fieldRef:
184+
fieldPath: metadata.annotations['olm.targetNamespaces']
185+
- name: POD_NAME
186+
valueFrom:
187+
fieldRef:
188+
fieldPath: metadata.name
189+
- name: OPERATOR_NAME
190+
value: performance-operator
191+
image: REPLACE_IMAGE
192+
imagePullPolicy: Always
193+
name: performance-operator
194+
resources: {}
195+
serviceAccountName: performance-operator
196+
tolerations:
197+
- effect: NoSchedule
198+
key: node-role.kubernetes.io/master
199+
permissions:
200+
- rules:
201+
- apiGroups:
202+
- apps
203+
resources:
204+
- daemonsets
205+
- deployments
206+
- replicasets
207+
- statefulsets
208+
verbs:
209+
- '*'
210+
- apiGroups:
211+
- apps
212+
resourceNames:
213+
- performance-operator
214+
resources:
215+
- deployments/finalizers
216+
verbs:
217+
- update
218+
- apiGroups:
219+
- ""
220+
resources:
221+
- configmaps
222+
- pods
223+
- services
224+
- services/finalizers
225+
verbs:
226+
- '*'
227+
- apiGroups:
228+
- monitoring.coreos.com
229+
resources:
230+
- servicemonitors
231+
verbs:
232+
- '*'
233+
serviceAccountName: performance-operator
234+
strategy: deployment
235+
installModes:
236+
- supported: false
237+
type: OwnNamespace
238+
- supported: false
239+
type: SingleNamespace
240+
- supported: false
241+
type: MultiNamespace
242+
- supported: true
243+
type: AllNamespaces
244+
keywords:
245+
- numa
246+
- realtime
247+
- cpu pinning
248+
- hugepages
249+
links:
250+
- name: Source Code
251+
url: https://github.com/openshift-kni/performance-addon-operators
252+
maturity: alpha
253+
minKubeVersion: 1.19.0
254+
provider:
255+
name: Red Hat
256+
version: 4.7.1
257+
webhookdefinitions:
258+
- admissionReviewVersions:
259+
- v1
260+
- v1alpha1
261+
containerPort: 443
262+
conversionCRDs:
263+
- performanceprofiles.performance.openshift.io
264+
deploymentName: performance-operator
265+
generateName: cwb.performance.openshift.io
266+
sideEffects: None
267+
targetPort: 4343
268+
type: ConversionWebhook
269+
webhookPath: /convert

0 commit comments

Comments
 (0)