-
Notifications
You must be signed in to change notification settings - Fork 54
fix: when in fips mode and in a disconnected environment, remove the non fips openshift-install #196
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
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: prb112 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@prb112: PR is not mergeable. The PR state is: blocked Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
e345712 to
398867b
Compare
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.
I understand this is WIP but here are some comments from my side to improve the code.
398867b to
fab0c61
Compare
fab0c61 to
93960fb
Compare
|
Hey @yussufsh would you mind re-reviewing? Many thanks, Paul |
…non fips openshift-install Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
93960fb to
f049fd0
Compare
| - name: Extract OCP4 tools from release image ( local-registry ) | ||
| when: enable_local_registry | ||
| shell: | | ||
| oc adm release extract --tools {{ release_image_override }} --registry-config='{{ ansible_env.HOME }}/.openshift/pull-secret-updated' | ||
| args: | ||
| chdir: "{{ tools_dir }}" | ||
|
|
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.
I see the same task just above this one. Any difference you see?
| - name: Link openshift-install-fips to openshift-install | ||
| file: | ||
| src: "/usr/local/bin/openshift-install-fips" | ||
| dest: "/usr/local/bin/openshift-install" | ||
| state: link | ||
| when: | ||
| - fips_compliant # FIPS is enabled | ||
| - binary_check.stat.exists |
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.
I see the same task done at helpernode at https://github.com/redhat-cop/ocp4-helpernode/blob/main/tasks/main.yml#L565-L570
Don't you think this is redundant or am I missing something?
fix: when in fips mode and in a disconnected environment, remove the non fips openshift-install