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

Bump version to 1.1.1 #268

Merged
merged 2 commits into from
Nov 30, 2020
Merged

Bump version to 1.1.1 #268

merged 2 commits into from
Nov 30, 2020

Conversation

izgeri
Copy link
Contributor

@izgeri izgeri commented Nov 24, 2020

What does this PR do?

Prepares for a 1.1.1 release.

What ticket does this PR close?

Resolves #267

Checklists

Change log

  • The CHANGELOG has been updated, or
  • This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

  • This PR includes new unit and integration tests to go with the code changes, or
  • The changes in this PR do not require tests

Documentation

  • Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
  • This PR does not require updating any documentation

@orenbm
Copy link
Member

orenbm commented Nov 24, 2020

thanks for getting this @izgeri !

@izgeri
Copy link
Contributor Author

izgeri commented Nov 25, 2020

@cyberark/palmtree to get this green, I had to remove a hardcoded version in one of your test scripts. so, two things:

  • the approval wasn't dismissed when I pushed that additional change. do you want your repo config to be updated to dismiss stale reviews when new changes are pushed?
  • can you please re-review given this additional change? does that look ok to make?

thanks!

@@ -26,4 +26,4 @@ $cli_with_timeout "get RoleBinding secrets-provider-role-binding"
$cli_with_timeout "get ConfigMap cert-config-map"

# Validate that the Secrets Provider took the default image configurations if not supplied and was deployed successfully
$cli_with_timeout "describe job secrets-provider | grep 'cyberark/secrets-provider-for-k8s:1.1.0'" | awk '{print $2}' && $cli_with_timeout "get job secrets-provider -o jsonpath={.status.succeeded}"
$cli_with_timeout "describe job secrets-provider | grep 'cyberark/secrets-provider-for-k8s'" | awk '{print $2}' && $cli_with_timeout "get job secrets-provider -o jsonpath={.status.succeeded}"
Copy link
Contributor

Choose a reason for hiding this comment

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

@izgeri there needs to be a version here because we need to validate that the SP container took the default which is defined in the values.yaml. So in our case now, we want to verify that 1.1.1 is the version deployed and not 1.1.0. We planned on making a function to fetch the values.yaml but never got around to it.

Anywho, we don't want to leave it without a version because if 1.1.0 by accident was taken then the tests would pass

Copy link
Contributor

Choose a reason for hiding this comment

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

if you don't have the bandwidth then I think it would be best to add back the 1.1.1 and open an issue to fetch the tag from value.yaml that way, the test still has meaning. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Filed #270 - I'll fix this now and also add a reference to this file in the CONTRIBUTING release notes now.

@sigalsax
Copy link
Contributor

@izgeri

do you want your repo config to be updated to dismiss stale reviews when new changes are pushed?

Is there a way to control if its code related changes or MD related. Nonetheless, for me, it isn't critical and most of the times it can be cumbersome to catch the person who did the review if you just changed a MD or added a comment in the code.

In test 22 there is a hardcoded dependency on the secrets provider version.
This commit updates that dependency and adds this file to the list of files that
need to be updated in CONTRIBUTING.

I've also filed an issue to remove this hardcoded dependency in the future.
@izgeri izgeri force-pushed the bump-version-1.1.1 branch from d44eebd to 0d54504 Compare November 30, 2020 17:39
@codeclimate
Copy link

codeclimate bot commented Nov 30, 2020

Code Climate has analyzed commit 0d54504 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 87.5%.

View more on Code Climate.

@izgeri izgeri merged commit cee624e into master Nov 30, 2020
@izgeri izgeri deleted the bump-version-1.1.1 branch November 30, 2020 18:57
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.

Release the secrets provider version that includes the authn-k8s client v0.19.0
4 participants