-
Notifications
You must be signed in to change notification settings - Fork 14
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
Remove support for Conjur v4, use CLI v8.0 #505
Conversation
2e28a8f
to
cd8920e
Compare
73e0cc4
to
1e8e575
Compare
2c3ae06
to
04d4ea0
Compare
@@ -148,6 +148,8 @@ RUN git clone https://github.com/ztombol/bats-support /bats/bats-support && \ | |||
RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && \ | |||
chmod +x /usr/bin/yq | |||
|
|||
RUN sed -i "s|v0.4.1-0.20230214201333-88ed8ca3307d|v0.7.0|g" /usr/local/go/src/go.mod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this meant to do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes this is temporary. Added a grep command in #503 to force a script failure when the version changes so we don't forget to remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. I copied that here as well
@@ -13,7 +13,7 @@ check_env_var SECRETS_PROVIDER_TAG | |||
check_env_var SECRETLESS_BROKER_TAG | |||
|
|||
# Upon error, dump kubernetes resources in the application Namespace | |||
# trap dump_application_namespace_upon_error EXIT | |||
trap dump_application_namespace_upon_error EXIT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to keep this in, should probably change this to a trap on ERR
so we don't dump logs every run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the dump_application_namespace_upon_error function checks whether there's an error. I'm not sure why it's done this way but that's the way it is in all the other scripts to it's probably worth keeping consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Desired Outcome
Connected Issue/Story
CyberArk internal issue ID: ONYX-33379
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog
CHANGELOG update
Test coverage
changes, or
Documentation
README
s) were updated in this PRBehavior
Security