Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions multi-agent/deploy/charts/observer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ spec:
secretKeyRef:
name: {{ default (include "observer.configSecretName" .) .Values.existingSecret }}
key: {{ default "cluster-secret" .Values.cluster.secretKey }}
{{- with .Values.cluster.assertSecret.resources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}
containers:
Expand Down
12 changes: 12 additions & 0 deletions multi-agent/deploy/charts/observer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ cluster:
headlessServiceName: "" # default "<release>-observer-headless" computed in _helpers.tpl
networkPolicy:
enabled: true
# Resources for the assert-cluster-secret init container. Namespaces
# with a ResourceQuota that requires per-container cpu/memory
# requests+limits (e.g. dev-yuzishu) will reject the Deployment
# otherwise. Match postgresql.wait.resources for consistency.
assertSecret:
resources:
requests:
cpu: 25m
memory: 64Mi
limits:
cpu: 100m
memory: 128Mi

secret:
create: false
Expand Down
Loading