|
|
@ -33,9 +33,11 @@ spec: |
|
|
|
{{- toYaml .Values.securityContext | nindent 12 }} |
|
|
|
{{- toYaml .Values.securityContext | nindent 12 }} |
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }} |
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }} |
|
|
|
|
|
|
|
{{- if .Values.storage.enabled }} |
|
|
|
volumeMounts: |
|
|
|
volumeMounts: |
|
|
|
- name: {{ include "nocodb.fullname" . }} |
|
|
|
- name: {{ include "nocodb.fullname" . }} |
|
|
|
mountPath: /usr/app/data |
|
|
|
mountPath: /usr/app/data |
|
|
|
|
|
|
|
{{- end }} |
|
|
|
envFrom: |
|
|
|
envFrom: |
|
|
|
- configMapRef: |
|
|
|
- configMapRef: |
|
|
|
name: {{ include "nocodb.fullname" . }} |
|
|
|
name: {{ include "nocodb.fullname" . }} |
|
|
@ -67,7 +69,9 @@ spec: |
|
|
|
tolerations: |
|
|
|
tolerations: |
|
|
|
{{- toYaml . | nindent 8 }} |
|
|
|
{{- toYaml . | nindent 8 }} |
|
|
|
{{- end }} |
|
|
|
{{- end }} |
|
|
|
|
|
|
|
{{- if .Values.storage.enabled }} |
|
|
|
volumes: |
|
|
|
volumes: |
|
|
|
- name: {{ include "nocodb.fullname" . }} |
|
|
|
- name: {{ include "nocodb.fullname" . }} |
|
|
|
persistentVolumeClaim: |
|
|
|
persistentVolumeClaim: |
|
|
|
claimName: {{ include "nocodb.fullname" . }} |
|
|
|
claimName: {{ include "nocodb.fullname" . }} |
|
|
|
|
|
|
|
{{- end }} |
|
|
|