Skip to main content

infra/helm/platform/templates/web-deployment.yaml

Metadata

Indexed Symbols

No indexed functions/methods detected in this file.

Markdown Headings (if applicable)

No markdown headings detected.

Source Preview

{{- if .Values.web.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: anchor-web
namespace: {{ .Values.namespace.name }}
labels:
app.kubernetes.io/name: anchor-web
anchor.io/environment: {{ .Values.global.environment | quote }}
spec:
replicas: {{ .Values.web.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: anchor-web
template:
metadata:
labels:
app.kubernetes.io/name: anchor-web
spec:
serviceAccountName: {{ .Values.global.serviceAccountName }}
automountServiceAccountToken: false
securityContext:
runAsNonRoot: true
runAsUser: 10001
runAsGroup: 10001