Skip to content

Commit

Permalink
PCR for AWS Scritp Updte (rubrikinc#128)
Browse files Browse the repository at this point in the history
* Added PCR for AWS script

* Fixed linting errors

* formatting fix

* Added support for AWS Profiles

* Removed Rubrik Python module from required modules.

* Fixed improper bundle tagging.

* Added steps to install Docker.

* Added updated bundle version number output.

* Removed option to set AWS profile. Get profile from environment.

* Added option to set PCR in RSC

* Added option to use non-ECR PCR

* Documentation Update

* Support updating PCR config on every run.

* Support multiple versions of EKS.

* Download only if bundle version has changed.

* Clarify authentication requirements

* Add additional logging and debugging.

* Support repos with / in the name.

* Fixed handling of bundle approval.
  • Loading branch information
DamaniN authored Aug 20, 2024
1 parent 1895296 commit 37db540
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 57 deletions.
3 changes: 2 additions & 1 deletion sample/pcr-aws/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ This script downloads the images that are used for Rubrik Security Cloud Exocomp
1. [Install the Docker engine](https://docs.docker.com/engine/install/).
1. Run `docker run hello-world` to verify that the Docker engine is working properly.
1. Make sure that you have enough space on your local system to download the images. Images will be downloaded to the default local Docker registry.
1. Run `python3 ./pcr.py --keyfile <path to keyfile> --pcrFqdn <FQDN_of_the_private_container_registry> --profile <Name_of_the_AWS_profile_with_the_private_container_registry>`
1. If required create a [service account](https://docs.rubrik.com/en-us/saas/saas/service_account.html) in RSC and save the credential file (key file).
1. Run `python3 ./pcr.py --keyfile <path to keyfile> --pcrFqdn <FQDN_of_the_private_container_registry> --profile <Name_of_the_AWS_profile_with_the_private_container_registry> -a <aws_account> --eksVersion <version_of_eks_in_use> `
Loading

0 comments on commit 37db540

Please sign in to comment.