added repo

This commit is contained in:
Your Name
2026-08-26 03:39:42 +05:30
parent 45c25a95af
commit b8575bb8b9
6889 changed files with 1217125 additions and 0 deletions
@@ -0,0 +1,97 @@
{{- if .Values.global.aurva_ocr.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
{{- include "application.labels" . | nindent 4 }}
{{- if .Values.aurva_ocr.additionalLabels }}
{{ toYaml .Values.aurva_ocr.additionalLabels | indent 4 }}
{{- end }}
{{- with (mergeOverwrite (deepCopy .Values.global.deploymentAnnotations) .Values.aurva_ocr.annotations) }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
name: {{ include "aurva-ocr.fullname" . }}
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ default 4 .Values.aurva_ocr.replicas }}
selector:
matchLabels:
{{ include "aurva-ocr.selectorLabels" . | indent 6 }}
{{- if .Values.aurva_ocr.strategy }}
strategy:
{{ toYaml .Values.aurva_ocr.strategy | indent 4 }}
{{- end }}
{{- if not (kindIs "invalid" .Values.aurva_ocr.revisionHistoryLimit) }}
revisionHistoryLimit: {{ .Values.aurva_ocr.revisionHistoryLimit }}
{{- end }}
template:
metadata:
labels:
{{ include "aurva-ocr.selectorLabels" . | indent 8 }}
{{- if .Values.aurva_ocr.podLabels }}
{{ toYaml .Values.aurva_ocr.podLabels | indent 8 }}
{{- end }}
{{- if or .Values.aurva_ocr.additionalPodAnnotations }}
annotations:
{{- end }}
{{- with .Values.aurva_ocr.additionalPodAnnotations }}
{{ toYaml . | indent 8 }}
{{- end }}
spec:
{{- with .Values.aurva_ocr.priorityClassName | default .Values.global.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- if .Values.aurva_ocr.nodeSelector }}
nodeSelector:
{{ toYaml .Values.aurva_ocr.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.aurva_ocr.tolerations }}
tolerations:
{{ toYaml .Values.aurva_ocr.tolerations | indent 8 -}}
{{- end }}
{{- if .Values.aurva_ocr.affinity }}
affinity:
{{ toYaml .Values.aurva_ocr.affinity | indent 8 -}}
{{- end }}
serviceAccountName: {{ .Release.Namespace }}-{{ include "aurva-ocr.ocrServiceAccountName" . }}
{{- if .Values.aurva_ocr.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.aurva_ocr.imagePullSecrets }}
{{- end }}
containers:
- name: {{ template "aurva-ocr.fullname" . }}
{{- if .Values.aurva_ocr.image.digest }}
image: "{{ .Values.aurva_ocr.image.repository }}@{{ .Values.aurva_ocr.image.digest }}"
{{- else if .Values.aurva_ocr.image.tag }}
image: "{{ .Values.aurva_ocr.image.repository }}:{{ .Values.aurva_ocr.image.tag }}"
{{- end }}
imagePullPolicy: {{ .Values.aurva_ocr.image.pullPolicy }}
{{- if .Values.aurva_ocr.envFrom }}
envFrom:
{{- range $value := .Values.aurva_ocr.envFrom }}
{{- if (eq .type "secret") }}
- secretRef:
{{- if .name }}
name: {{ include "application.tplvalues.render" ( dict "value" $value.name "context" $ ) }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.aurva_ocr.env }}
env:
{{- range $key, $value := .Values.aurva_ocr.env }}
- name: {{ include "application.tplvalues.render" ( dict "value" $key "context" $ ) }}
{{ include "application.tplvalues.render" ( dict "value" $value "context" $ ) | indent 10 }}
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.aurva_ocr.resources | nindent 12 }}
{{- with .Values.aurva_ocr.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
dnsPolicy: {{ .Values.aurva_ocr.dnsPolicy }}
{{- end }}