pipeline_constants.py 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Copyright 2018-2022 Elyra Authors
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. PIPELINE_DEFAULTS = "pipeline_defaults"
  17. RUNTIME_IMAGE = "runtime_image"
  18. ENV_VARIABLES = "env_vars"
  19. MOUNTED_VOLUMES = "mounted_volumes"
  20. KUBERNETES_SECRETS = "kubernetes_secrets"
  21. KUBERNETES_TOLERATIONS = "kubernetes_tolerations"
  22. KUBERNETES_POD_ANNOTATIONS = "kubernetes_pod_annotations"
  23. DISALLOW_CACHED_OUTPUT = "disallow_cached_output"
  24. PIPELINE_META_PROPERTIES = ["name", "description", "runtime"]
  25. # optional static prefix to be used when generating an object name for object storage
  26. COS_OBJECT_PREFIX = "cos_object_prefix"
  27. ELYRA_COMPONENT_PROPERTIES = [
  28. MOUNTED_VOLUMES,
  29. KUBERNETES_TOLERATIONS,
  30. KUBERNETES_POD_ANNOTATIONS,
  31. DISALLOW_CACHED_OUTPUT,
  32. ]