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

Getting security context from the resolved execution parameters#401

Merged
pmahindrakar-oss merged 4 commits intomasterfrom
pmahindrakar/test-security-context
Apr 12, 2022
Merged

Getting security context from the resolved execution parameters#401
pmahindrakar-oss merged 4 commits intomasterfrom
pmahindrakar/test-security-context

Conversation

@pmahindrakar-oss
Copy link
Contributor

Signed-off-by: Prafulla Mahindrakar prafulla.mahindrakar@gmail.com

TL;DR

Removed the resolved security context function and always use the security context from the execution parameters which go through the resolution from request, launchplan, matchable attribute and application configuration

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

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

Remove the 'fixes' keyword if there will be multiple PRs to fix the linked issue

fixes https://github.com/flyteorg/flyte/issues/

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

EngHabu
EngHabu previously approved these changes Apr 12, 2022
Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
@codecov
Copy link

codecov bot commented Apr 12, 2022

Codecov Report

Merging #401 (358bc7c) into master (a936f65) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #401      +/-   ##
==========================================
- Coverage   61.14%   61.12%   -0.03%     
==========================================
  Files         154      154              
  Lines       11116    11114       -2     
==========================================
- Hits         6797     6793       -4     
- Misses       3611     3612       +1     
- Partials      708      709       +1     
Flag Coverage Δ
unittests 60.07% <100.00%> (-0.03%) ⬇️

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

Impacted Files Coverage Δ
pkg/manager/impl/execution_manager.go 74.03% <100.00%> (-0.05%) ⬇️
pkg/workflowengine/impl/prepare_execution.go 85.00% <100.00%> (-2.50%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a936f65...358bc7c. Read the comment docs.

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
@pmahindrakar-oss pmahindrakar-oss merged commit e37c8e2 into master Apr 12, 2022
@pmahindrakar-oss pmahindrakar-oss deleted the pmahindrakar/test-security-context branch April 12, 2022 09:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants