Skip to content

Commit f40b649

Browse files
committed
Fix apicurio patching
Signed-off-by: David Kornel <kornys@outlook.com>
1 parent 863d04e commit f40b649

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

components/core/base/apicurio-registry-operator/kustomization.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ patches:
2727
- op: replace
2828
path: /metadata/name
2929
value: apicurio-registry-operator
30-
# Set watched namespaces (replace OLM valueFrom with direct value)
30+
# Set resources, startup probe, and watched namespaces (replace OLM valueFrom with direct value)
3131
- target:
3232
kind: Deployment
33-
name: apicurio-registry-operator
33+
labelSelector: app.kubernetes.io/name=apicurio-registry-operator
3434
patch: |-
3535
apiVersion: apps/v1
3636
kind: Deployment
@@ -43,11 +43,14 @@ patches:
4343
- name: apicurio-registry-operator
4444
resources:
4545
requests:
46-
cpu: 200m
47-
memory: 256Mi
46+
cpu: 500m
47+
memory: 512Mi
4848
limits:
49-
cpu: 200m
50-
memory: 256Mi
49+
cpu: 500m
50+
memory: 512Mi
51+
startupProbe:
52+
periodSeconds: 10
53+
failureThreshold: 30
5154
env:
5255
- name: APICURIO_OPERATOR_WATCHED_NAMESPACES
5356
value: ''

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ LOCAL_DIR="${LOCAL_DIR:-}"
3131
REPO="${REPO:-streamshub/developer-quickstart}"
3232
REF="${REF:-main}"
3333
OVERLAY="${OVERLAY:-}"
34-
TIMEOUT="${TIMEOUT:-120s}"
34+
TIMEOUT="${TIMEOUT:-180s}"
3535

3636
# Color output helpers
3737
RED='\033[0;31m'

0 commit comments

Comments
 (0)