Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-2119

Kogito CLI support for setting variable values from secret

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 0.13.0
    • 0.10.1
    • Operator
    • None
    • 2020 Week 25-27 (from Jun 15), 2020 Week 28-30 (from Jul 6)

      Currently, Kogito CLI supports setting environment variables only using a defined value:

      -e, --env stringArray           Key/Pair value environment variables that will be set to the service runtime. For example 'MY_VAR=my_value'. Can be set more than once.
      

      Maybe it would be good to have an option to set the value from secret. This will allow better control of providing for example passwords for integration with various external services the KogitoApp may integrate with (not just services from Kogito project).

      We can either provide a dedicated flag for this like --secret-env with a value MY_VAR=secret_Name:secret_Key or reuse the same flag.

            vajain Vaibhav Jain
            mmacik@redhat.com Marian Macik
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: