From 45d8bb3545a2cdc2bd8fbf36a78a6ff0aebd514e Mon Sep 17 00:00:00 2001 From: Johanne TROTIN Date: Thu, 6 Mar 2025 10:37:42 +0100 Subject: [PATCH] Supprimer helm-chart/deployment.yaml --- helm-chart/deployment.yaml | 71 -------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 helm-chart/deployment.yaml diff --git a/helm-chart/deployment.yaml b/helm-chart/deployment.yaml deleted file mode 100644 index ae7f030..0000000 --- a/helm-chart/deployment.yaml +++ /dev/null @@ -1,71 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "helm-chart.fullname" . }} - labels: - {{- include "helm-chart.labels" . | nindent 4 }} -spec: - {{- if not .Values.autoscaling.enabled }} - replicas: {{ .Values.replicaCount }} - {{- end }} - selector: - matchLabels: - {{- include "helm-chart.selectorLabels" . | nindent 6 }} - template: - metadata: - annotations: - releaseTime: {{ dateInZone "2006-01-02 15:04:05Z" (now) "UTC"| quote }} - {{- with .Values.podAnnotations }} - {{- toYaml . | nindent 8 }} - {{- end }} - labels: - {{- include "helm-chart.selectorLabels" . | nindent 8 }} - spec: - {{- with .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - serviceAccountName: {{ include "helm-chart.serviceAccountName" . }} - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - containers: - - name: {{ .Chart.Name }} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - env: - - name: DATABASE_URL - value: "postgres://{{ .Values.postgresql.auth.username }}:{{ .Values.postgresql.auth.password }}@{{ .Release.Name }}-postgresql:5432/{{ .Values.postgresql.auth.database }}" - - name: OTREE_ADMIN_PASSWORD - value: "{{ .Values.otree.admin_password }}" - - name: OTREE_AUTH_LEVEL - value: "{{ .Values.otree.auth_level }}" - - name: OTREE_PRODUCTION - value: "{{ .Values.otree.production }}" - ports: - - name: http - containerPort: {{ .Values.service.port }} - protocol: TCP - # livenessProbe: - # httpGet: - # path: / - # port: http - # readinessProbe: - # httpGet: - # path: / - # port: http - resources: - {{- toYaml .Values.resources | nindent 12 }} - {{- with .Values.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }}