Skip to content

Commit 68194dd

Browse files
Merge pull request #649 from camilamacedo86/manifests
OCPBUGS-60060: (fix) Update the operator-ibm-cloud-managed with the same configuration applied to operator manually
2 parents a6dd165 + c05bf44 commit 68194dd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

manifests/09_operator-ibm-cloud-managed.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ spec:
4343
containers:
4444
- name: marketplace-operator
4545
securityContext:
46+
readOnlyRootFilesystem: true
4647
allowPrivilegeEscalation: false
4748
capabilities:
4849
drop: ["ALL"]
@@ -72,8 +73,9 @@ spec:
7273
port: 8080
7374
resources:
7475
requests:
75-
cpu: 10m
76-
memory: 50Mi
76+
cpu: 1m
77+
memory: 5Mi
78+
terminationMessagePolicy: FallbackToLogsOnError
7779
env:
7880
- name: WATCH_NAMESPACE
7981
valueFrom:
@@ -88,12 +90,18 @@ spec:
8890
- name: "RELEASE_VERSION"
8991
# The string "0.0.1-snapshot" is substituted by the CVO with the version of the payload
9092
value: "0.0.1-snapshot"
93+
- name: GOMEMLIMIT
94+
value: 5MiB
9195
volumeMounts:
96+
- mountPath: /tmp
97+
name: tmp
9298
- name: marketplace-trusted-ca
9399
mountPath: /etc/pki/ca-trust/extracted/pem/
94100
- name: marketplace-operator-metrics
95101
mountPath: /var/run/secrets/serving-cert
96102
volumes:
103+
- emptyDir: {}
104+
name: tmp
97105
- name: marketplace-trusted-ca
98106
configMap:
99107
optional: true

0 commit comments

Comments
 (0)