• s

    Shahwar Saleem

    1 month ago
    đź‘‹ Hello, team! As my first question in this channel, I would like to ask what is the best way to override a value in
    core.yaml
    . I am particularly interested in this line: https://github.com/flyteorg/flyte/blob/ca704e24daad628535a4414e0a7cb1164621105d/charts/flyte-core/values.yaml#L599 I believe it should be
    namespace: {{ namespace }}
    rather than hard coded
    flyte
    . Please correct me if I am wrong.
  • Yee

    Yee

    1 month ago
    hey yeah that won’t work if your flyte installation is not in the
    flyte
    namespace
  • i don’t think it’s
    {{ namespace }}
    though.
  • if you search that yaml file, you’ll see that used in some of the templates… but those are flyte internal templates.
  • i think maybe what that should be is
    {{ .Release.Namespace }}
  • but would need to verify
  • it’s been a while since i’ve messed around with this
  • s

    Shahwar Saleem

    1 month ago
    Gotcha! I was just suspecting that this could cause issues if my namespace is different.
  • Yee

    Yee

    1 month ago
    yeah it probably will. are you deploying to a different namespace?
  • s

    Shahwar Saleem

    1 month ago
    Yes, Just following some best practices at my company.
  • s

    Sören Brunk

    1 month ago
    Ideally this should be templated yes. values.yaml can't be a templated though itself unfortunately until we use some weird tricks. This is an unfortunate limitation of helm.
  • Another way would be to change the actual template where that value is used.
  • s

    Shahwar Saleem

    1 month ago
    Yes, I was thinking of that. For that, I can just clone the repo?
  • s

    Sören Brunk

    1 month ago
    Yes. You can clone and install the chart from the local path. If you get the namespace templating working in your fork please send a PR 🙂
  • s

    Shahwar Saleem

    1 month ago
    Awesome, I will do that. 🙂