|
59 | 59 | - name: MARMOT_SERVER_ROOT_URL |
60 | 60 | value: {{ .Values.config.server.rootUrl | quote }} |
61 | 61 | {{- end }} |
62 | | - |
| 62 | + {{- if or .Values.config.server.encryptionKey .Values.config.server.encryptionKeySecretRef .Values.config.server.autoGenerateEncryptionKey }} |
| 63 | + - name: MARMOT_SERVER_ENCRYPTION_KEY |
| 64 | + {{- if .Values.config.server.encryptionKeySecretRef }} |
| 65 | + {{- if and .Values.config.server.encryptionKey .Values.config.server.encryptionKeySecretRef }} |
| 66 | + {{- fail "Cannot specify both config.server.encryptionKey and config.server.encryptionKeySecretRef" }} |
| 67 | + {{- end }} |
| 68 | + {{- if .Values.config.server.autoGenerateEncryptionKey }} |
| 69 | + {{- fail "Cannot specify both config.server.autoGenerateEncryptionKey and config.server.encryptionKeySecretRef" }} |
| 70 | + {{- end }} |
| 71 | + valueFrom: |
| 72 | + secretKeyRef: |
| 73 | + name: {{ .Values.config.server.encryptionKeySecretRef.name }} |
| 74 | + key: {{ .Values.config.server.encryptionKeySecretRef.key }} |
| 75 | + {{- else if .Values.config.server.encryptionKey }} |
| 76 | + {{- if .Values.config.server.autoGenerateEncryptionKey }} |
| 77 | + {{- fail "Cannot specify both config.server.autoGenerateEncryptionKey and config.server.encryptionKey" }} |
| 78 | + {{- end }} |
| 79 | + value: {{ .Values.config.server.encryptionKey | quote }} |
| 80 | + {{- else if .Values.config.server.autoGenerateEncryptionKey }} |
| 81 | + valueFrom: |
| 82 | + secretKeyRef: |
| 83 | + name: {{ include "marmot.fullname" . }}-encryption-key |
| 84 | + key: encryption-key |
| 85 | + {{- end }} |
| 86 | + {{- end }} |
| 87 | + - name: MARMOT_SERVER_ALLOW_UNENCRYPTED |
| 88 | + value: {{ .Values.config.server.allowUnencrypted | quote }} |
| 89 | + |
63 | 90 | # Database configuration - use subchart values if enabled |
64 | 91 | - name: MARMOT_DATABASE_HOST |
65 | 92 | {{- if .Values.postgresql.enabled }} |
@@ -126,6 +153,8 @@ spec: |
126 | 153 | {{- end }} |
127 | 154 |
|
128 | 155 | # Auth configuration |
| 156 | + - name: MARMOT_AUTH_OPENLINEAGE_ENABLED |
| 157 | + value: {{ .Values.config.auth.openlineage.enabled | quote }} |
129 | 158 | - name: MARMOT_AUTH_ANONYMOUS_ENABLED |
130 | 159 | value: {{ .Values.config.auth.anonymous.enabled | quote }} |
131 | 160 | - name: MARMOT_AUTH_ANONYMOUS_ROLE |
@@ -162,7 +191,35 @@ spec: |
162 | 191 | value: {{ .Values.config.auth.providers.okta.clientSecret | quote }} |
163 | 192 | {{- end }} |
164 | 193 | {{- end }} |
165 | | - |
| 194 | + |
| 195 | + # Rate limit configuration |
| 196 | + - name: MARMOT_RATE_LIMIT_ENABLED |
| 197 | + value: {{ .Values.config.rateLimit.enabled | quote }} |
| 198 | + |
| 199 | + # UI configuration |
| 200 | + - name: MARMOT_UI_BANNER_ENABLED |
| 201 | + value: {{ .Values.config.ui.banner.enabled | quote }} |
| 202 | + {{- if .Values.config.ui.banner.enabled }} |
| 203 | + - name: MARMOT_UI_BANNER_DISMISSIBLE |
| 204 | + value: {{ .Values.config.ui.banner.dismissible | quote }} |
| 205 | + - name: MARMOT_UI_BANNER_VARIANT |
| 206 | + value: {{ .Values.config.ui.banner.variant | quote }} |
| 207 | + - name: MARMOT_UI_BANNER_MESSAGE |
| 208 | + value: {{ .Values.config.ui.banner.message | quote }} |
| 209 | + - name: MARMOT_UI_BANNER_ID |
| 210 | + value: {{ .Values.config.ui.banner.id | quote }} |
| 211 | + {{- end }} |
| 212 | + |
| 213 | + # Pipelines configuration |
| 214 | + - name: MARMOT_PIPELINES_MAX_WORKERS |
| 215 | + value: {{ .Values.config.pipelines.maxWorkers | quote }} |
| 216 | + - name: MARMOT_PIPELINES_SCHEDULER_INTERVAL |
| 217 | + value: {{ .Values.config.pipelines.schedulerInterval | quote }} |
| 218 | + - name: MARMOT_PIPELINES_LEASE_EXPIRY |
| 219 | + value: {{ .Values.config.pipelines.leaseExpiry | quote }} |
| 220 | + - name: MARMOT_PIPELINES_CLAIM_EXPIRY |
| 221 | + value: {{ .Values.config.pipelines.claimExpiry | quote }} |
| 222 | + |
166 | 223 | # Additional environment variables |
167 | 224 | {{- range $key, $value := .Values.env }} |
168 | 225 | - name: {{ $key }} |
|
0 commit comments