Skip to content
Open
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
2 changes: 1 addition & 1 deletion contrib/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: centaur
description: Helm chart for the trusted Centaur control plane
type: application
version: 0.1.79
version: 0.1.80
appVersion: "0.1.0"
dependencies:
- name: connect
Expand Down
12 changes: 12 additions & 0 deletions contrib/chart/templates/apirs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,18 @@ spec:
serviceAccountName: {{ $apiRsName }}
{{- with .Values.global.imagePullSecrets }}
imagePullSecrets:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.apiRs.nodeSelector }}
nodeSelector:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.apiRs.affinity }}
affinity:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.apiRs.tolerations }}
tolerations:
{{ toYaml . | nindent 8 }}
{{- end }}
containers:
Expand Down
12 changes: 12 additions & 0 deletions contrib/chart/templates/slackbotv2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ spec:
automountServiceAccountToken: false
{{- with .Values.global.imagePullSecrets }}
imagePullSecrets:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.slackbotv2.nodeSelector }}
nodeSelector:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.slackbotv2.affinity }}
affinity:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.slackbotv2.tolerations }}
tolerations:
{{ toYaml . | nindent 8 }}
{{- end }}
containers:
Expand Down
12 changes: 12 additions & 0 deletions contrib/chart/templates/workloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ spec:
automountServiceAccountToken: false
{{- with .Values.global.imagePullSecrets }}
imagePullSecrets:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.postgres.nodeSelector }}
nodeSelector:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.postgres.affinity }}
affinity:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.postgres.tolerations }}
tolerations:
{{ toYaml . | nindent 8 }}
{{- end }}
containers:
Expand Down
15 changes: 12 additions & 3 deletions contrib/chart/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,10 @@
"extraEnv": {
"type": "object",
"additionalProperties": { "type": "string" }
}
},
"nodeSelector": { "type": "object" },
"tolerations": { "type": "array" },
"affinity": { "type": "object" }
}
},
"slackbotv2": {
Expand All @@ -276,7 +279,10 @@
"extraEnv": {
"type": "object",
"additionalProperties": { "type": "string" }
}
},
"nodeSelector": { "type": "object" },
"tolerations": { "type": "array" },
"affinity": { "type": "object" }
}
},
"postgres": {
Expand All @@ -294,7 +300,10 @@
"enabled": { "type": "boolean" },
"sizeLimit": { "type": "string" }
}
}
},
"nodeSelector": { "type": "object" },
"tolerations": { "type": "array" },
"affinity": { "type": "object" }
}
},
"networkPolicy": {
Expand Down
14 changes: 14 additions & 0 deletions contrib/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ apiRs:
terminationGracePeriodSeconds: 35
extraEnv: {}
resources: {}
# Pin the control plane to specific nodes (e.g. a dedicated spot pool).
nodeSelector: {}
tolerations: []
affinity: {}

# Chat SDK Slackbot v2. Forwards Slack events to the api-rs control plane
# (:8080) and streams responses back. Listens on :3001.
Expand All @@ -368,6 +372,10 @@ slackbotv2:
annotations: {}
extraEnv: {}
resources: {}
# Pin to specific nodes (e.g. a dedicated spot pool).
nodeSelector: {}
tolerations: []
affinity: {}

# Chat SDK Linear bot — Linear agent (actor=app) ingress. Receives
# AgentSessionEvent webhooks on /api/webhooks/linear, forwards sessions to the
Expand Down Expand Up @@ -456,6 +464,12 @@ postgres:
enabled: true
sizeLimit: 1Gi
resources: {}
# Pin to specific nodes (e.g. a dedicated spot pool). Note: a StatefulSet's
# PVC binds to the node's zone, so keep the pool single-zone or use a
# multi-zone-aware storage class when pinning Postgres.
nodeSelector: {}
tolerations: []
affinity: {}

ingress:
enabled: false
Expand Down
Loading