Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pass APIVersions value to manifest generation request during app validation and during app manifests loading #3312

Merged
merged 2 commits into from Mar 30, 2020

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Mar 30, 2020

The #3243 introduced support of --api-versions flag during helm chart rendering . The value for --api-versions flag is supplied by application controller but does not supply by API server while executing Create and GetManifests API. This PR fixes that issue.

… validation and during app manifests loading
@alexmt alexmt requested a review from jannfis March 30, 2020 18:12
Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me so far, just needs tests.

util/argo/argo.go Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 30, 2020

Codecov Report

Merging #3312 into master will increase coverage by 0.44%.
The diff coverage is 65%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3312      +/-   ##
==========================================
+ Coverage   38.83%   39.27%   +0.44%     
==========================================
  Files         173      173              
  Lines       18830    18822       -8     
  Branches      272      272              
==========================================
+ Hits         7313     7393      +80     
+ Misses      10596    10499      -97     
- Partials      921      930       +9
Impacted Files Coverage Δ
server/application/application.go 28.57% <0%> (-0.02%) ⬇️
controller/state.go 73.14% <100%> (+0.54%) ⬆️
util/argo/argo.go 51.72% <85.71%> (+23.21%) ⬆️
server/cache/cache.go 85.36% <0%> (-2.87%) ⬇️
pkg/apis/application/v1alpha1/types.go 63.35% <0%> (+0.79%) ⬆️

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 cdb8758...15e4836. Read the comment docs.

Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexmt alexmt merged commit 6411958 into argoproj:master Mar 30, 2020
@alexmt alexmt deleted the api-versions branch March 30, 2020 20:36
alexmt pushed a commit that referenced this pull request Mar 30, 2020
… validation and during app manifests loading (#3312)

* fix: pass APIVersions value to manifest generation request during app validation and during app manifests loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants