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

Version info should be passed to the boot up log message #503

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

rpothier
Copy link
Contributor

@rpothier rpothier commented Mar 3, 2023

Desired Outcome

conjur-authn-k8s-client release artifact reports wrong version

Implemented Changes

The Version from the automated release is used in the startup logs.

Also updated the changelog as the next version should be version 0.24.1.

Connected Issue/Story

CyberArk internal issue ID: CNJR-770

Definition of Done

At least 1 todo must be completed in the sections below for the PR to be
merged.

Changelog

  • 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
  • A follow-up issue to update official docs has been filed here: [insert issue ID]
  • This PR does not require updating any documentation

Behavior

  • This PR changes product behavior and has been reviewed by a PO, or
  • These changes are part of a larger initiative that will be reviewed later, or
  • No behavior was changed with this PR

Security

  • Security architect has reviewed the changes in this PR,
  • These changes are part of a larger initiative with a separate security review, or
  • There are no security aspects to these changes

@rpothier rpothier self-assigned this Mar 3, 2023
@rpothier rpothier force-pushed the fix-version branch 16 times, most recently from ea73c3a to 20696b8 Compare March 9, 2023 19:23
@rpothier rpothier marked this pull request as ready for review March 9, 2023 19:34
@rpothier rpothier requested a review from a team as a code owner March 9, 2023 19:34
@rpothier rpothier marked this pull request as draft March 9, 2023 20:27
@rpothier rpothier force-pushed the fix-version branch 2 times, most recently from 1d05f99 to 7e1cb20 Compare March 10, 2023 14:41
@rpothier rpothier marked this pull request as ready for review March 10, 2023 14:41
@rpothier rpothier force-pushed the fix-version branch 5 times, most recently from 55c0580 to 6301c42 Compare March 14, 2023 15:03
Dockerfile Outdated Show resolved Hide resolved
@szh szh mentioned this pull request Mar 16, 2023
13 tasks
@rpothier rpothier force-pushed the fix-version branch 6 times, most recently from 6d90281 to 551bc15 Compare March 17, 2023 19:14
@@ -125,7 +127,7 @@ LABEL description="The authentication client required to expose secrets from a C

# =================== CONTAINER FOR HELM TEST ===================

FROM golang:alpine as k8s-cluster-test
FROM golang:1.20-alpine as k8s-cluster-test
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this necessary? I don't think we're targeting Go 1.20 in any of the other images

Copy link
Contributor

Choose a reason for hiding this comment

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

Also what's the simplest way to test this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently golang:alpine and golang:1.20-alpine are the same image, so there is currently no change to the image.
#502 updated golang in the Dockerfiles to 1.19, a fixed version, and golang:alpine will change over time.
We could use 1.19 however that version is older and that won't help the security issues.
This change is not needed for the version info.

Copy link
Contributor

@szh szh left a comment

Choose a reason for hiding this comment

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

LGTM

@rpothier rpothier merged commit 6e6a40d into master Mar 20, 2023
@rpothier rpothier deleted the fix-version branch March 20, 2023 18:27
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.

2 participants