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
9 changes: 9 additions & 0 deletions signadot/operator/templates/agent-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ spec:
- mountPath: /etc/signadot/
name: signadot-config
readOnly: true
{{- with .Values }}{{- with .agent }}{{- with .nodeAffinity }}
affinity:
nodeAffinity:
{{ toYaml . | indent 10 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- with .Values }}{{- with .agent }}{{- with .tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
serviceAccountName: agent
volumes:
- name: signadot-config
Expand Down
9 changes: 9 additions & 0 deletions signadot/operator/templates/io-context-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,14 @@ spec:
{{- with .Values }}{{- with .ioContextServer }}{{- with .resources }}
resources:
{{ toYaml . | indent 10 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- with .Values }}{{- with .ioContextServer }}{{- with .nodeAffinity }}
affinity:
nodeAffinity:
{{ toYaml . | indent 10 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- with .Values }}{{- with .ioContextServer }}{{- with .tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
serviceAccountName: io-context-server
9 changes: 9 additions & 0 deletions signadot/operator/templates/routeserver-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ spec:
- mountPath: /etc/signadot/
name: signadot-config
readOnly: true
{{- with .Values }}{{- with .routeServer }}{{- with .nodeAffinity }}
affinity:
nodeAffinity:
{{ toYaml . | indent 10 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- with .Values }}{{- with .routeServer }}{{- with .tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
serviceAccountName: routeserver
volumes:
- name: signadot-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ spec:
- mountPath: /etc/signadot/
name: signadot-config
readOnly: true
{{- with .Values }}{{- with .controllerManager }}{{- with .nodeAffinity }}
affinity:
nodeAffinity:
{{ toYaml . | indent 10 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- with .Values }}{{- with .controllerManager }}{{- with .tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
securityContext:
runAsNonRoot: true
serviceAccountName: signadot-controller-manager
Expand Down
9 changes: 9 additions & 0 deletions signadot/operator/templates/traffic-manager-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ spec:
- mountPath: /etc/signadot/
name: signadot-config
readOnly: true
{{- with .Values }}{{- with .trafficManager }}{{- with .nodeAffinity }}
affinity:
nodeAffinity:
{{ toYaml . | indent 10 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- with .Values }}{{- with .trafficManager }}{{- with .tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
serviceAccountName: traffic-manager
volumes:
- name: signadot-config
Expand Down
9 changes: 9 additions & 0 deletions signadot/operator/templates/tunnel-api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,14 @@ spec:
{{- with .Values }}{{- with .tunnel }}{{- with .api }}{{- with .resources }}
resources:
{{ toYaml . | indent 10 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- with .Values }}{{- with .tunnel }}{{- with .api }}{{- with .nodeAffinity }}
affinity:
nodeAffinity:
{{ toYaml . | indent 10 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- with .Values }}{{- with .tunnel }}{{- with .api }}{{- with .tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
serviceAccountName: tunnel-api
9 changes: 9 additions & 0 deletions signadot/operator/templates/tunnel-proxy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,15 @@ spec:
- mountPath: /usr/local/share/lua
name: luarocks
{{- end }}
{{- with .Values }}{{- with .tunnel }}{{- with .proxy }}{{- with .nodeAffinity }}
affinity:
nodeAffinity:
{{ toYaml . | indent 10 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
{{- with .Values }}{{- with .tunnel }}{{- with .proxy }}{{- with .tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}{{- else -}}{{- end }}
serviceAccountName: tunnel-proxy
volumes:
{{- if and (not $istioEnabled) (not $linkerdEnabled) $auditorEnabled }}
Expand Down
149 changes: 148 additions & 1 deletion signadot/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,27 @@ controllerManager:
memory: 512Mi
# image: my-private-registry/signadot/operator:latest
# imagePullPolicy: Always
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# preference:
# matchExpressions:
# - key: node-role.kubernetes.io/control-plane
# operator: In
# values:
# - ""
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"

agent:
resources:
Expand All @@ -97,7 +118,28 @@ agent:
memory: 128Mi
# image: my-private-registry/signadot/agent:latest
# imagePullPolicy: Always

# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# preference:
# matchExpressions:
# - key: node-role.kubernetes.io/control-plane
# operator: In
# values:
# - ""
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"

routeServer:
resources:
limits:
Expand All @@ -106,6 +148,27 @@ routeServer:
memory: 128Mi
# image: my-private-registry/signadot/route-server:latest
# imagePullPolicy: Always
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# preference:
# matchExpressions:
# - key: node-role.kubernetes.io/control-plane
# operator: In
# values:
# - ""
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"

ioContextServer:
replicas: 1
Expand All @@ -116,6 +179,27 @@ ioContextServer:
memory: 128Mi
# image: my-private-registry/signadot/io-context-server:latest
# imagePullPolicy: Always
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# preference:
# matchExpressions:
# - key: node-role.kubernetes.io/control-plane
# operator: In
# values:
# - ""
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"

# routeInit:
# resources:
Expand Down Expand Up @@ -184,6 +268,27 @@ tunnel:
# maxSurge: 25%
# maxUnavailable: 25%
# type: RollingUpdate
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# preference:
# matchExpressions:
# - key: node-role.kubernetes.io/control-plane
# operator: In
# values:
# - ""
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"
proxy:
replicas: 1
resources:
Expand All @@ -198,6 +303,27 @@ tunnel:
# maxSurge: 25%
# maxUnavailable: 25%
# type: RollingUpdate
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# preference:
# matchExpressions:
# - key: node-role.kubernetes.io/control-plane
# operator: In
# values:
# - ""
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"
auditor:
# Enable the tunnel auditor (Envoy-based sidecar for auditing and filtering tunnel traffic).
# Automatically disabled when Istio or Linkerd is enabled, as they provide their own proxy sidecars.
Expand Down Expand Up @@ -262,6 +388,27 @@ trafficManager:
memory: 128Mi
# image: my-private-registry/signadot/traffic-manager:latest
# imagePullPolicy: Always
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# preference:
# matchExpressions:
# - key: node-role.kubernetes.io/control-plane
# operator: In
# values:
# - ""
# tolerations:
# - key: "key1"
# operator: "Equal"
# value: "value1"
# effect: "NoSchedule"

# jobExecutorInit:
# resources:
Expand Down