Skip to content

Commit f0c774c

Browse files
laveryagithub-actions[bot]
authored andcommitted
Create new OpenEBS version
1 parent 14e9049 commit f0c774c

File tree

10 files changed

+669
-0
lines changed

10 files changed

+669
-0
lines changed

addons/openebs/4.4.0/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
image linux-utils docker.io/openebs/linux-utils:4.3.0
2+
image provisioner-localpv docker.io/openebs/provisioner-localpv:4.4.0

addons/openebs/4.4.0/install.sh

Lines changed: 436 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
---
2+
# Source: localpv-provisioner/templates/rbac.yaml
3+
apiVersion: v1
4+
kind: ServiceAccount
5+
metadata:
6+
name: openebs-localpv-provisioner
7+
labels:
8+
chart: localpv-provisioner-4.4.0
9+
heritage: Helm
10+
app: localpv-provisioner
11+
release: openebs
12+
component: "localpv-provisioner"
13+
openebs.io/component-name: openebs-localpv-provisioner
14+
---
15+
# Source: localpv-provisioner/templates/rbac.yaml
16+
apiVersion: rbac.authorization.k8s.io/v1
17+
kind: ClusterRole
18+
metadata:
19+
name: openebs-localpv-provisioner
20+
labels:
21+
chart: localpv-provisioner-4.4.0
22+
heritage: Helm
23+
app: localpv-provisioner
24+
release: openebs
25+
component: "localpv-provisioner"
26+
openebs.io/component-name: openebs-localpv-provisioner
27+
rules:
28+
- apiGroups: ["*"]
29+
resources: ["nodes"]
30+
verbs: ["get", "list", "watch"]
31+
- apiGroups: ["*"]
32+
resources: ["namespaces", "pods", "events", "endpoints"]
33+
verbs: ["*"]
34+
- apiGroups: ["*"]
35+
resources: ["resourcequotas", "limitranges"]
36+
verbs: ["list", "watch"]
37+
- apiGroups: ["*"]
38+
resources: ["storageclasses", "persistentvolumeclaims", "persistentvolumes"]
39+
verbs: ["*"]
40+
- apiGroups: ["apiextensions.k8s.io"]
41+
resources: ["customresourcedefinitions"]
42+
verbs: [ "get", "list", "create", "update", "delete", "patch"]
43+
- apiGroups: ["openebs.io"]
44+
resources: [ "*"]
45+
verbs: ["*" ]
46+
- apiGroups: ["coordination.k8s.io"]
47+
resources: ["leases"]
48+
verbs: ["get", "create", "update"]
49+
- nonResourceURLs: ["/metrics"]
50+
verbs: ["get"]
51+
---
52+
# Source: localpv-provisioner/templates/rbac.yaml
53+
apiVersion: rbac.authorization.k8s.io/v1
54+
kind: ClusterRoleBinding
55+
metadata:
56+
name: openebs-localpv-provisioner
57+
labels:
58+
chart: localpv-provisioner-4.4.0
59+
heritage: Helm
60+
app: localpv-provisioner
61+
release: openebs
62+
component: "localpv-provisioner"
63+
openebs.io/component-name: openebs-localpv-provisioner
64+
roleRef:
65+
apiGroup: rbac.authorization.k8s.io
66+
kind: ClusterRole
67+
name: openebs-localpv-provisioner
68+
subjects:
69+
- kind: ServiceAccount
70+
name: openebs-localpv-provisioner
71+
namespace: __OPENEBS_NAMESPACE__
72+
---
73+
# Source: localpv-provisioner/templates/deployment.yaml
74+
apiVersion: apps/v1
75+
kind: Deployment
76+
metadata:
77+
name: openebs-localpv-provisioner
78+
labels:
79+
chart: localpv-provisioner-4.4.0
80+
heritage: Helm
81+
app: localpv-provisioner
82+
release: openebs
83+
component: "localpv-provisioner"
84+
openebs.io/component-name: openebs-localpv-provisioner
85+
spec:
86+
replicas: 1
87+
strategy:
88+
type: "Recreate"
89+
rollingUpdate: null
90+
selector:
91+
matchLabels:
92+
app: localpv-provisioner
93+
release: openebs
94+
component: "localpv-provisioner"
95+
template:
96+
metadata:
97+
labels:
98+
chart: localpv-provisioner-4.4.0
99+
heritage: Helm
100+
app: localpv-provisioner
101+
release: openebs
102+
component: "localpv-provisioner"
103+
openebs.io/component-name: openebs-localpv-provisioner
104+
name: openebs-localpv-provisioner
105+
106+
openebs.io/logging: "true"
107+
spec:
108+
serviceAccountName: openebs-localpv-provisioner
109+
securityContext:
110+
{}
111+
containers:
112+
- name: openebs-localpv-provisioner
113+
image: "docker.io/openebs/provisioner-localpv:4.4.0"
114+
imagePullPolicy: IfNotPresent
115+
resources:
116+
limits:
117+
cpu: 100m
118+
memory: 128Mi
119+
requests:
120+
cpu: 100m
121+
memory: 128Mi
122+
env:
123+
# OPENEBS_IO_K8S_MASTER enables openebs provisioner to connect to K8s
124+
# based on this address. This is ignored if empty.
125+
# This is supported for openebs provisioner version 0.5.2 onwards
126+
#- name: OPENEBS_IO_K8S_MASTER
127+
# value: "http://10.128.0.12:8080"
128+
# OPENEBS_IO_KUBE_CONFIG enables openebs provisioner to connect to K8s
129+
# based on this config. This is ignored if empty.
130+
# This is supported for openebs provisioner version 0.5.2 onwards
131+
#- name: OPENEBS_IO_KUBE_CONFIG
132+
# value: "/home/ubuntu/.kube/config"
133+
- name: OPENEBS_NAMESPACE
134+
valueFrom:
135+
fieldRef:
136+
fieldPath: metadata.namespace
137+
- name: NODE_NAME
138+
valueFrom:
139+
fieldRef:
140+
fieldPath: spec.nodeName
141+
# OPENEBS_SERVICE_ACCOUNT provides the service account of this pod as
142+
# environment variable
143+
- name: OPENEBS_SERVICE_ACCOUNT
144+
valueFrom:
145+
fieldRef:
146+
fieldPath: spec.serviceAccountName
147+
# OPENEBS_IO_BASE_PATH is the environment variable that provides the
148+
# default base path on the node where host-path PVs will be provisioned.
149+
- name: OPENEBS_IO_ENABLE_ANALYTICS
150+
value: "false"
151+
- name: OPENEBS_IO_BASE_PATH
152+
value: "/var/openebs/local"
153+
- name: OPENEBS_IO_HELPER_IMAGE
154+
value: "docker.io/openebs/linux-utils:4.3.0"
155+
- name: OPENEBS_IO_HELPER_POD_HOST_NETWORK
156+
value: "false"
157+
- name: OPENEBS_IO_INSTALLER_TYPE
158+
value: "localpv-charts-helm"
159+
# LEADER_ELECTION_ENABLED is used to enable/disable leader election. By default
160+
# leader election is enabled.
161+
- name: LEADER_ELECTION_ENABLED
162+
value: "true"
163+
# Process name used for matching is limited to the 15 characters
164+
# present in the pgrep output.
165+
# So fullname can't be used here with pgrep (>15 chars).A regular expression
166+
# that matches the entire command name has to specified.
167+
# Anchor `^` : matches any string that starts with `provisioner-loc`
168+
# `.*`: matches any string that has `provisioner-loc` followed by zero or more char
169+
livenessProbe:
170+
exec:
171+
command:
172+
- sh
173+
- -c
174+
- test `pgrep -c "^provisioner-loc.*"` = 1
175+
initialDelaySeconds: 30
176+
periodSeconds: 60
177+
tolerations:
178+
- effect: NoExecute
179+
key: node.kubernetes.io/unreachable
180+
operator: Exists
181+
tolerationSeconds: 5
182+
- effect: NoExecute
183+
key: node.kubernetes.io/not-ready
184+
operator: Exists
185+
tolerationSeconds: 5

addons/openebs/4.4.0/spec/storage/kustomization.yaml

Whitespace-only changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: storage.k8s.io/v1
2+
kind: StorageClass
3+
metadata:
4+
name: ${OPENEBS_LOCALPV_STORAGE_CLASS}
5+
annotations:
6+
openebs.io/cas-type: local
7+
cas.openebs.io/config: |
8+
- name: BasePath
9+
value: "/var/openebs/local"
10+
- name: StorageType
11+
value: "hostpath"
12+
provisioner: openebs.io/local
13+
reclaimPolicy: Delete
14+
volumeBindingMode: WaitForFirstConsumer
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: storage.k8s.io/v1
2+
kind: StorageClass
3+
metadata:
4+
name: ${OPENEBS_LOCALPV_STORAGE_CLASS}
5+
annotations:
6+
storageclass.kubernetes.io/is-default-class: "true"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace: ${OPENEBS_NAMESPACE}
2+
3+
resources:
4+
- namespace.yaml
5+
- openebs.yaml
6+
- troubleshoot.yaml
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: ${OPENEBS_NAMESPACE}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: kurl-openebs-supportbundle-spec
5+
labels:
6+
troubleshoot.io/kind: support-bundle
7+
data:
8+
support-bundle-spec: |
9+
apiVersion: troubleshoot.sh/v1beta2
10+
kind: SupportBundle
11+
spec:
12+
collectors:
13+
- logs:
14+
namespace: ${OPENEBS_NAMESPACE}
15+
name: openebs/logs

web/src/installers/versions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ module.exports.InstallerVersions = {
618618
],
619619
openebs: [
620620
// cron-openebs-update-4
621+
"4.4.0",
621622
"4.3.0",
622623
"4.2.0",
623624
"4.1.2",

0 commit comments

Comments
 (0)