Skip to content

Commit 5af05ec

Browse files
Kubernetes Enterprise Operator Release 1.16.1 (#221)
1 parent 69307ca commit 5af05ec

File tree

4 files changed

+100
-4
lines changed

4 files changed

+100
-4
lines changed

crds.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,9 @@ spec:
602602
type: object
603603
type: object
604604
service:
605-
description: this is an optional service, it will get the name "<rsName>-service"
606-
in case not provided
605+
description: DEPRECATED please use `spec.statefulSet.spec.serviceName`
606+
to provide a custom service name. this is an optional service, it
607+
will get the name "<rsName>-service" in case not provided
607608
type: string
608609
shard:
609610
properties:
@@ -681,6 +682,16 @@ spec:
681682
type: object
682683
x-kubernetes-preserve-unknown-fields: true
683684
type: object
685+
statefulSet:
686+
description: StatefulSetConfiguration holds the optional custom StatefulSet
687+
that should be merged into the operator created one.
688+
properties:
689+
spec:
690+
type: object
691+
x-kubernetes-preserve-unknown-fields: true
692+
required:
693+
- spec
694+
type: object
684695
type:
685696
enum:
686697
- Standalone

mongodb-enterprise-openshift.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ spec:
189189
serviceAccountName: mongodb-enterprise-operator
190190
containers:
191191
- name: mongodb-enterprise-operator
192-
image: registry.connect.redhat.com/mongodb/enterprise-operator:1.16.0
192+
image: registry.connect.redhat.com/mongodb/enterprise-operator:1.16.1
193193
imagePullPolicy: Always
194194
args:
195195
- -watch-resource=mongodb

mongodb-enterprise.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ spec:
192192
runAsUser: 2000
193193
containers:
194194
- name: mongodb-enterprise-operator
195-
image: quay.io/mongodb/mongodb-enterprise-operator:1.16.0
195+
image: quay.io/mongodb/mongodb-enterprise-operator:1.16.1
196196
imagePullPolicy: Always
197197
args:
198198
- -watch-resource=mongodb
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: helloworld1
5+
labels:
6+
app: helloworld1
7+
service: helloworld1
8+
spec:
9+
ports:
10+
- port: 5000
11+
name: http
12+
selector:
13+
app: helloworld
14+
---
15+
apiVersion: v1
16+
kind: Service
17+
metadata:
18+
name: helloworld2
19+
labels:
20+
app: helloworld2
21+
service: helloworld2
22+
spec:
23+
ports:
24+
- port: 5000
25+
name: http
26+
selector:
27+
app: helloworld
28+
---
29+
apiVersion: apps/v1
30+
kind: Deployment
31+
metadata:
32+
name: helloworld-v1
33+
labels:
34+
app: helloworld
35+
version: v1
36+
spec:
37+
replicas: 1
38+
selector:
39+
matchLabels:
40+
app: helloworld
41+
version: v1
42+
template:
43+
metadata:
44+
labels:
45+
app: helloworld
46+
version: v1
47+
spec:
48+
containers:
49+
- name: helloworld
50+
image: docker.io/istio/examples-helloworld-v1
51+
resources:
52+
requests:
53+
cpu: "100m"
54+
imagePullPolicy: IfNotPresent #Always
55+
ports:
56+
- containerPort: 5000
57+
---
58+
apiVersion: apps/v1
59+
kind: Deployment
60+
metadata:
61+
name: helloworld-v2
62+
labels:
63+
app: helloworld
64+
version: v2
65+
spec:
66+
replicas: 1
67+
selector:
68+
matchLabels:
69+
app: helloworld
70+
version: v2
71+
template:
72+
metadata:
73+
labels:
74+
app: helloworld
75+
version: v2
76+
spec:
77+
containers:
78+
- name: helloworld
79+
image: docker.io/istio/examples-helloworld-v2
80+
resources:
81+
requests:
82+
cpu: "100m"
83+
imagePullPolicy: IfNotPresent #Always
84+
ports:
85+
- containerPort: 5000

0 commit comments

Comments
 (0)