cs: fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-17 17:00:07 +03:00
parent dddfa808e9
commit 48e01337c9
12 changed files with 200 additions and 200 deletions

View File

@ -27,40 +27,40 @@ spec:
securityContext:
{{- toYaml .Values.n8n.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.n8n.securityContext | nindent 12 }}
image: "{{ .Values.n8n.image.registry }}/{{ .Values.n8n.image.repository }}:{{ .Values.n8n.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.n8n.image.pullPolicy }}
envFrom:
- configMapRef:
name: {{ include "n8n.fullname" . }}
image: "{{ .Values.n8n.image.registry }}/{{ .Values.n8n.image.repository }}:{{ .Values.n8n.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.n8n.image.pullPolicy }}
envFrom:
- configMapRef:
name: {{ include "n8n.fullname" . }}
{{- if .Values.n8n.extraEnvVarsSecret }}
- secretRef:
name: {{ .Values.n8n.extraEnvVarsSecret }}
- secretRef:
name: {{ .Values.n8n.extraEnvVarsSecret }}
{{- else }}
- secretRef:
name: {{ include "n8n.fullname" . }}
- secretRef:
name: {{ include "n8n.fullname" . }}
{{- end }}
ports:
- name: http
containerPort: 5678
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: http
readinessProbe:
httpGet:
path: /healthz
port: http
startupProbe:
httpGet:
path: /healthz
port: http
failureThreshold: 30
periodSeconds: 10
resources:
ports:
- name: http
containerPort: 5678
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: http
readinessProbe:
httpGet:
path: /healthz
port: http
startupProbe:
httpGet:
path: /healthz
port: http
failureThreshold: 30
periodSeconds: 10
resources:
{{- toYaml .Values.n8n.resources | nindent 12 }}
{{- with .Values.n8n.nodeSelector }}
nodeSelector: