You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move copilotStorageSecretRef to configuration.co-pilot.storageSecretRef
The value configures co-pilot, not the deployment's object store, so it sat
under the wrong section and had to carry a copilot prefix to say so. Under the
co-pilot section it is just storageSecretRef, the same way the Go field became
StorageConfigSecretName once it lived in FlyteCoPilotConfig.
The section name has a hyphen, so reads go through a helper rather than
repeating the index dance at four call sites.
Renders are byte-identical for every valid combination, and the gate matrix
is unchanged: a supplied ref still suppresses the chart's own Secret, and the
install still fails when combined with external configuration.
Signed-off-by: Kevin Su <pingsutw@apache.org>
{{- fail "configuration.storage.copilotStorageSecretRef has no effect while configuration.externalConfigMap or configuration.externalSecretRef is set: the chart renders no ConfigMap, and that is what would carry plugins.k8s.co-pilot.storage-config-secret-name. Set that key in your own configuration instead, then unset copilotStorageSecretRef." -}}
{{- fail "configuration.co-pilot.storageSecretRef has no effect while configuration.externalConfigMap or configuration.externalSecretRef is set: the chart renders no ConfigMap, and that is what would carry plugins.k8s.co-pilot.storage-config-secret-name. Set that key in your own configuration instead, then unset storageSecretRef." -}}
120
129
{{- end -}}
121
130
{{- end -}}
122
131
@@ -221,12 +230,12 @@ it into the Secret, so err towards the Secret rather than towards the command li
221
230
S3 with only secretKeyPath is the one credential-bearing case that stays on the command
222
231
line: the path names a file living solely in this deployment's container, so the chart
223
232
cannot read it to render a Secret. Those deployments supply their own via
0 commit comments