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_proxy.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
{{- include "application.labels" . | nindent 4 }}
{{- if .Values.aurva_proxy.additionalLabels }}
{{ toYaml .Values.aurva_proxy.additionalLabels | indent 4 }}
{{- end }}
{{- with (mergeOverwrite (deepCopy .Values.global.deploymentAnnotations) .Values.aurva_proxy.annotations) }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
name: {{ include "aurva-proxy.fullname" . }}
namespace: {{ .Values.namespaceOverride }}
spec:
replicas: {{ default 4 .Values.aurva_proxy.replicas }}
selector:
matchLabels:
{{ include "aurva-proxy.selectorLabels" . | indent 6 }}
{{- if .Values.aurva_proxy.strategy }}
strategy:
{{ toYaml .Values.aurva_proxy.strategy | indent 4 }}
{{- end }}
{{- if not (kindIs "invalid" .Values.aurva_proxy.revisionHistoryLimit) }}
revisionHistoryLimit: {{ .Values.aurva_proxy.revisionHistoryLimit }}
{{- end }}
template:
metadata:
labels:
{{ include "aurva-proxy.selectorLabels" . | indent 8 }}
{{- if .Values.aurva_proxy.podLabels }}
{{ toYaml .Values.aurva_proxy.podLabels | indent 8 }}
{{- end }}
{{- if or .Values.aurva_proxy.additionalPodAnnotations }}
annotations:
{{- end }}
{{- with .Values.aurva_proxy.additionalPodAnnotations }}
{{ toYaml . | indent 8 }}
{{- end }}
spec:
{{- with .Values.aurva_proxy.priorityClassName | default .Values.global.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- if .Values.aurva_proxy.nodeSelector }}
nodeSelector:
{{ toYaml .Values.aurva_proxy.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.aurva_proxy.tolerations }}
tolerations:
{{ toYaml .Values.aurva_proxy.tolerations | indent 8 -}}
{{- end }}
{{- if .Values.aurva_proxy.affinity }}
affinity:
{{ toYaml .Values.aurva_proxy.affinity | indent 8 -}}
{{- end }}
serviceAccountName: {{ .Release.Name }}-{{ include "aurva-proxy.proxyServiceAccountName" . }}
{{- if .Values.aurva_proxy.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.aurva_proxy.imagePullSecrets }}
{{- end }}
containers:
- name: {{ template "aurva-proxy.fullname" . }}
{{- if .Values.aurva_proxy.image.digest }}
image: "{{ .Values.aurva_proxy.image.repository }}@{{ .Values.aurva_proxy.image.digest }}"
{{- else if .Values.aurva_proxy.image.tag }}
image: "{{ .Values.aurva_proxy.image.repository }}:{{ .Values.aurva_proxy.image.tag }}"
{{- end }}
imagePullPolicy: {{ .Values.aurva_proxy.image.pullPolicy }}
{{- if .Values.aurva_proxy.envFrom }}
envFrom:
{{- range $value := .Values.aurva_proxy.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_proxy.env }}
env:
{{- range $key, $value := .Values.aurva_proxy.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_proxy.resources | nindent 12 }}
{{- with .Values.aurva_proxy.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
dnsPolicy: {{ .Values.aurva_proxy.dnsPolicy }}
{{- end }}
@@ -0,0 +1,20 @@
{{- if .Values.global.aurva_proxy.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: {{ .Values.aurva_proxy.secret.name }}
namespace: {{ template "application.namespace" $ }}
labels:
{{- include "application.labels" $ | nindent 4 }}
{{- if .Values.aurva_proxy.secret.additionalLabels }}
{{ toYaml .Values.aurva_proxy.secret.additionalLabels | indent 4 }}
{{- end }}
{{- if .Values.aurva_proxy.secret.annotations }}
annotations:
{{ toYaml .Values.aurva_proxy.secret.annotations | indent 4 }}
{{- end }}
data:
{{- range $key, $value := .Values.aurva_proxy.secret.config }}
{{ $key }}: {{ $value | b64enc }}
{{- end }}
{{- end }}
@@ -0,0 +1,26 @@
{{- if .Values.global.aurva_proxy.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "aurva-proxy.fullname" . }}
namespace: {{ template "application.namespace" $ }}
labels:
{{- include "application.labels" . | nindent 4 }}
{{- if .Values.aurva_proxy.additionalLabels }}
{{ toYaml .Values.aurva_proxy.additionalLabels | indent 4 }}
{{- end }}
annotations:
service.beta.kubernetes.io/aws-load-balancer-type: nlb
spec:
type: LoadBalancer
selector:
{{ include "aurva-proxy.selectorLabels" . | indent 4 }}
{{- if .Values.aurva_proxy.podLabels }}
{{ toYaml .Values.aurva_proxy.podLabels | indent 4 }}
{{- end }}
ports:
- protocol: TCP
port: 8089
targetPort: 8089
name: http
{{- end }}
@@ -0,0 +1,20 @@
{{- if .Values.global.aurva_proxy.enabled }}
{{- if or .Values.aurva_proxy.enabled .Values.aurva_proxy.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Release.Name}}-{{ template "aurva-proxy.proxyServiceAccountName" . }}
namespace: {{ template "application.namespace" $ }}
{{- if .Values.aurva_proxy.serviceAccount.annotations }}
annotations:
{{- range $key, $value := .Values.aurva_proxy.serviceAccount.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
{{- include "application.labels" . | nindent 4 }}
{{- range $key, $value := .Values.aurva_proxy.serviceAccount.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}