|
89 | 89 | args: |
90 | 90 | - bash |
91 | 91 | - -c |
92 | | - - chmod -R +x ./docker_scripts; sync; ./docker_scripts/wait-for-it.sh -t 0 {{ template "retool.postgresql.host" . }}:{{ template "retool.postgresql.port" . }}; ./docker_scripts/start_api.sh |
| 92 | + - chmod -R +x ./docker_scripts; sync; ./docker_scripts/start_api.sh |
93 | 93 | {{- if .Values.commandline.args }} |
94 | 94 | {{ toYaml .Values.commandline.args | indent 10 }} |
95 | 95 | {{- end }} |
@@ -134,70 +134,6 @@ spec: |
134 | 134 | - name: MCP_SESSION_GAUGE_EMIT_INTERVAL_MS |
135 | 135 | value: {{ $mcpConfig.sessionGaugeEmitIntervalMs | quote }} |
136 | 136 | {{- end }} |
137 | | - - name: COOKIE_INSECURE |
138 | | - value: {{ .Values.config.useInsecureCookies | quote }} |
139 | | - - name: POSTGRES_HOST |
140 | | - value: {{ template "retool.postgresql.host" . }} |
141 | | - - name: POSTGRES_PORT |
142 | | - value: {{ template "retool.postgresql.port" . }} |
143 | | - - name: POSTGRES_DB |
144 | | - value: {{ template "retool.postgresql.database" . }} |
145 | | - - name: POSTGRES_USER |
146 | | - value: {{ template "retool.postgresql.user" . }} |
147 | | - - name: POSTGRES_SSL_ENABLED |
148 | | - value: {{ template "retool.postgresql.ssl_enabled" . }} |
149 | | - - name: POSTGRES_PASSWORD |
150 | | - valueFrom: |
151 | | - secretKeyRef: |
152 | | - {{- if .Values.postgresql.enabled }} |
153 | | - name: {{ template "retool.postgresql.fullname" . }} |
154 | | - key: postgres-password |
155 | | - {{- else }} |
156 | | - {{- if .Values.config.postgresql.passwordSecretName }} |
157 | | - name: {{ .Values.config.postgresql.passwordSecretName }} |
158 | | - key: {{ .Values.config.postgresql.passwordSecretKey | default "postgresql-password" }} |
159 | | - {{- else }} |
160 | | - name: {{ template "retool.fullname" . }} |
161 | | - key: postgresql-password |
162 | | - {{- end }} |
163 | | - {{- end }} |
164 | | - - name: LICENSE_KEY |
165 | | - valueFrom: |
166 | | - secretKeyRef: |
167 | | - {{- if .Values.config.licenseKeySecretName }} |
168 | | - name: {{ .Values.config.licenseKeySecretName }} |
169 | | - key: {{ .Values.config.licenseKeySecretKey | default "license-key" }} |
170 | | - {{- else }} |
171 | | - name: {{ template "retool.fullname" . }} |
172 | | - key: license-key |
173 | | - {{- end }} |
174 | | - - name: ENCRYPTION_KEY |
175 | | - valueFrom: |
176 | | - secretKeyRef: |
177 | | - {{- if .Values.config.encryptionKeySecretName }} |
178 | | - name: {{ .Values.config.encryptionKeySecretName }} |
179 | | - key: {{ .Values.config.encryptionKeySecretKey | default "encryption-key" }} |
180 | | - {{- else }} |
181 | | - name: {{ template "retool.fullname" . }} |
182 | | - key: encryption-key |
183 | | - {{- end }} |
184 | | - - name: JWT_SECRET |
185 | | - valueFrom: |
186 | | - secretKeyRef: |
187 | | - {{- if .Values.config.jwtSecretSecretName }} |
188 | | - name: {{ .Values.config.jwtSecretSecretName }} |
189 | | - key: {{ .Values.config.jwtSecretSecretKey | default "jwt-secret" }} |
190 | | - {{- else }} |
191 | | - name: {{ template "retool.fullname" . }} |
192 | | - key: jwt-secret |
193 | | - {{- end }} |
194 | | - {{- range .Values.environmentSecrets }} |
195 | | - - name: {{ .name }} |
196 | | - valueFrom: |
197 | | - secretKeyRef: |
198 | | - name: {{ .secretKeyRef.name }} |
199 | | - key: {{ .secretKeyRef.key }} |
200 | | - {{- end }} |
201 | 137 | {{- with .Values.mcp.environmentVariables }} |
202 | 138 | {{ toYaml . | indent 10 }} |
203 | 139 | {{- end }} |
|
0 commit comments