podAnnotations for all services

This commit is contained in:
nicktrn
2025-06-23 20:55:34 +01:00
parent f39d93d53d
commit b2222fd782
8 changed files with 64 additions and 31 deletions
@@ -14,6 +14,10 @@ spec:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 6 }}
template:
metadata:
{{- with .Values.clickhouse.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 8 }}
spec:
+4
View File
@@ -13,6 +13,10 @@ spec:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 6 }}
template:
metadata:
{{- with .Values.electric.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 8 }}
spec:
+4
View File
@@ -14,6 +14,10 @@ spec:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 6 }}
template:
metadata:
{{- with .Values.minio.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 8 }}
spec:
@@ -14,6 +14,10 @@ spec:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 6 }}
template:
metadata:
{{- with .Values.postgresql.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 8 }}
spec:
+4
View File
@@ -14,6 +14,10 @@ spec:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 6 }}
template:
metadata:
{{- with .Values.redis.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 8 }}
spec:
+4
View File
@@ -14,6 +14,10 @@ spec:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 6 }}
template:
metadata:
{{- with .Values.registry.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 8 }}
spec:
+5 -8
View File
@@ -64,13 +64,10 @@ spec:
metadata:
labels:
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 8 }}
{{- with .Values.supervisor.podAnnotations }}
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "{{ .Values.supervisor.service.ports.metrics }}"
prometheus.io/path: "/metrics"
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
spec:
serviceAccountName: {{ include "trigger-v4.supervisorServiceAccountName" . }}
{{- with .Values.supervisor.podSecurityContext }}
@@ -218,15 +215,15 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
{{- with .Values.nodeSelector }}
{{- with .Values.supervisor.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
{{- with .Values.supervisor.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
{{- with .Values.supervisor.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
+35 -23
View File
@@ -105,29 +105,23 @@ webapp:
basicAuth: {}
# OpenTelemetry configuration
# internal:
# otel:
# trace:
# exporterUrl: ""
# exporterAuthHeaders: ""
# loggingEnabled: "1"
# samplingRate: "20"
# instrumentPrismaEnabled: "0"
# disabled: "0"
# log:
# exporterUrl: ""
# # Log auth headers are currently set to trace.exporterAuthHeaders
# metric:
# exporterUrl: ""
# exporterAuthHeaders: ""
# exporterEnabled: "0"
# exporterIntervalMs: 30000
nodeSelector: {}
tolerations: []
affinity: {}
internal:
otel:
trace:
exporterUrl: ""
exporterAuthHeaders: ""
loggingEnabled: "1"
samplingRate: "20"
instrumentPrismaEnabled: "0"
disabled: "0"
log:
exporterUrl: ""
# Log auth headers are currently set to trace.exporterAuthHeaders
metric:
exporterUrl: ""
exporterAuthHeaders: ""
exporterEnabled: "0"
exporterIntervalMs: 30000
# Shared application configuration (used by multiple services)
config:
@@ -171,6 +165,8 @@ postgresql:
password: "postgres"
database: "main"
podAnnotations: {}
# podSecurityContext:
# fsGroup: 1000
@@ -213,6 +209,8 @@ redis:
auth:
enabled: false
podAnnotations: {}
# podSecurityContext:
# fsGroup: 1000
@@ -251,6 +249,8 @@ electric:
insecure: true
usageReporting: false
podAnnotations: {}
# podSecurityContext:
# fsGroup: 1000
@@ -281,6 +281,8 @@ clickhouse:
adminUser: "default"
adminPassword: "password"
podAnnotations: {}
# podSecurityContext:
# fsGroup: 1000
@@ -314,6 +316,8 @@ minio:
rootUser: "admin"
rootPassword: "very-safe-password"
podAnnotations: {}
# podSecurityContext:
# fsGroup: 1000
@@ -350,6 +354,8 @@ registry:
username: "registry-user"
password: "very-secure-indeed"
podAnnotations: {}
# podSecurityContext:
# fsGroup: 1000
@@ -388,6 +394,8 @@ supervisor:
tag: "" # Defaults to Chart.appVersion when empty
pullPolicy: IfNotPresent
podAnnotations: {}
# podSecurityContext:
# fsGroup: 1000
@@ -459,6 +467,10 @@ supervisor:
labels: {}
basicAuth: {}
nodeSelector: {}
tolerations: []
affinity: {}
# Shared persistent volumes
persistence:
# This is used for the worker token file