apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "chart.fullname" . }}-cm-raczylo-com labels: control-plane: cm-raczylo-com {{- include "chart.labels" . | nindent 4 }} spec: replicas: {{ .Values.cmRaczyloCom.replicas }} selector: matchLabels: control-plane: cm-raczylo-com {{- include "chart.selectorLabels" . | nindent 6 }} template: metadata: labels: control-plane: cm-raczylo-com {{- include "chart.selectorLabels" . | nindent 8 }} annotations: kubectl.kubernetes.io/default-container: manager spec: containers: - args: {{- toYaml .Values.cmRaczyloCom.manager.args | nindent 8 }} command: - /manager env: - name: KUBERNETES_CLUSTER_DOMAIN value: {{ quote .Values.kubernetesClusterDomain }} image: {{ .Values.cmRaczyloCom.manager.image.repository }}:{{ .Values.cmRaczyloCom.manager.image.tag | default .Chart.AppVersion }} livenessProbe: httpGet: path: /healthz port: 8081 initialDelaySeconds: 15 periodSeconds: 20 name: manager readinessProbe: httpGet: path: /readyz port: 8081 initialDelaySeconds: 5 periodSeconds: 10 resources: {{- toYaml .Values.cmRaczyloCom.manager.resources | nindent 10 }} securityContext: {{- toYaml .Values.cmRaczyloCom.manager.containerSecurityContext | nindent 10 }} securityContext: runAsNonRoot: true serviceAccountName: {{ include "chart.fullname" . }}-cm-raczylo-com terminationGracePeriodSeconds: 10