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

Add scripts to create platform identities for dev #3734

Merged
merged 19 commits into from
Aug 21, 2024

Conversation

niontive
Copy link
Collaborator

Which issue this PR addresses:

Fixes https://issues.redhat.com/browse/ARO-8997

What this PR does / why we need it:

Platform identities will be used for MIWI local dev cluster.

Test plan for issue:

I ran the scripts

Is there any documentation that needs to be updated for this PR?

Yes - see PR

How do you know this will function as expected in production?

@mociarain
Copy link
Collaborator

/azp run ci, e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

kimorris27
kimorris27 previously approved these changes Jul 30, 2024
Copy link
Contributor

@kimorris27 kimorris27 left a comment

Choose a reason for hiding this comment

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

E2E failed, but it isn't relevant to this PR.

@kimorris27
Copy link
Contributor

I wrote a ticket for the E2E flake that occurred: https://issues.redhat.com/browse/ARO-9445

@github-actions github-actions bot added the needs-rebase branch needs a rebase label Jul 30, 2024
Copy link

Please rebase pull request.

@niontive
Copy link
Collaborator Author

niontive commented Aug 5, 2024

/azp run ci, e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

kimorris27
kimorris27 previously approved these changes Aug 7, 2024
hack/devtools/msi.sh Outdated Show resolved Hide resolved
@niontive
Copy link
Collaborator Author

niontive commented Aug 9, 2024

/azp run ci, e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@niontive
Copy link
Collaborator Author

/azp run ci, e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

hack/devtools/local_dev_env.sh Outdated Show resolved Hide resolved
@niontive
Copy link
Collaborator Author

/azp run ci, e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Collaborator

@SudoBrendan SudoBrendan left a comment

Choose a reason for hiding this comment

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

Ultimately OK to merge, although I'd prefer if we didn't print secrets to terminal, ever.

echo "Cluster MSI Client ID: $mockClientID"
echo "Cluster MSI Tenant ID: $mockTenantID"
echo "Cluster MSI Base64 Encoded Certificate: $base64EncodedCert"
Copy link
Collaborator

@SudoBrendan SudoBrendan Aug 19, 2024

Choose a reason for hiding this comment

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

nit: This isn't a change you introduced, but if we're here anyways... If I'm reading all this correctly - this is a private key? It's best to not print secrets to STDOUT even if it's obfuscated by base64 (encoding != encrypting; this string is effectively plaintext).

@cadenmarchese cadenmarchese merged commit fd8d3cf into master Aug 21, 2024
21 checks passed
edisonLcardenas pushed a commit that referenced this pull request Sep 16, 2024
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.

8 participants