-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix configmaps that need to be manually set when running the user dep…
…loyments helm chart in a different namespace (#7660) Summary: - We were requiring the dagster-instance configmap, even though for a long time now we have been passing through the dagster.yaml file as an instanceref instead. Instead, just don't pass through the dagster-instance configmap naymore. I tried to think it through and I don't actually think there's a back-compat issue here? As long as the pod with the run launcher is using the new version of the helm chart, it'll be passing through the instance ref (and we've been checking for a passed in instanceref in the entry point for execute_run for a very long time now) - We were using the wrong configmap name for DAGSTER_K8S_PIPELINE_RUN_ENV_CONFIGMAP for the user code deployments - it's intended to refer to the configmap in which it is defined. Since dagsterUserDeployments.sharedEnv is defined in the -user-deployments-shared-env configmap, that's the one tha it should use here. These two fixes allow us to remove the requirement in the integration tests that the configmaps need to be copied over from one namespace to the other. Test Plan: BK Co-authored-by: Sean Mackesey <s.mackesey@gmail.com>
- Loading branch information
Showing
5 changed files
with
16 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters