infra/helm/platform/templates/agents.yaml
Metadata
- Purpose: Kubernetes Helm chart template or values configuration.
- Domain:
infrastructure - Language:
yaml - Bytes: 1643
- Lines: 58
- Content hash (short):
51628d9a - Source (start): infra/helm/platform/templates/agents.yaml:1
- Source (end): infra/helm/platform/templates/agents.yaml:58
Indexed Symbols
No indexed functions/methods detected in this file.
Markdown Headings (if applicable)
No markdown headings detected.
Source Preview
{{- if .Values.agents.enabled }}
{{- range $agent := .Values.agents.list }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ $agent }}
namespace: {{ $.Values.namespace.name }}
labels:
app.kubernetes.io/name: {{ $agent }}
anchor.io/agent: "true"
spec:
replicas: {{ $.Values.agents.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: {{ $agent }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ $agent }}
anchor.io/agent: "true"
spec:
serviceAccountName: {{ $.Values.global.serviceAccountName }}
automountServiceAccountToken: false
securityContext:
runAsNonRoot: true