Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Read client secret from env var first since the location has a default #312

Merged
merged 1 commit into from Aug 9, 2022

Conversation

katrogan
Copy link
Contributor

@katrogan katrogan commented Aug 9, 2022

Signed-off-by: Katrina Rogan katroganGH@gmail.com

TL;DR

Missed in #311
The client secret location has a default value so it's always non-empty and read before attempting to fetch the secret value.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

Tracking Issue

flyteorg/flyte#2744

Follow-up issue

NA

Signed-off-by: Katrina Rogan <katroganGH@gmail.com>
@hamersaw hamersaw self-requested a review August 9, 2022 19:17
@codecov
Copy link

codecov bot commented Aug 9, 2022

Codecov Report

Merging #312 (7123550) into master (dbeb016) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #312   +/-   ##
=======================================
  Coverage   74.70%   74.70%           
=======================================
  Files          15       15           
  Lines        1000     1000           
=======================================
  Hits          747      747           
  Misses        222      222           
  Partials       31       31           
Flag Coverage Δ
unittests 74.94% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
clients/go/admin/token_source_provider.go 26.12% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@katrogan katrogan merged commit 0b20c5c into master Aug 9, 2022
@katrogan katrogan deleted the secret-read-order branch August 9, 2022 19:25
eapolinario pushed a commit that referenced this pull request Sep 8, 2023
#312)

Signed-off-by: Katrina Rogan <katroganGH@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants