-
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from commjoen/gcp-2
WIP @ GCP setup test
- Loading branch information
Showing
13 changed files
with
79 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM jeroenwillemsen/addo-example:ENV-test3-no-vault | ||
FROM jeroenwillemsen/addo-example:ENV-test4-no-vault | ||
|
||
ARG argBasedVersion="1.0.2B" | ||
ARG argBasedVersion="1.0.2C" | ||
ENV APP_VERSION=$argBasedVersion | ||
ENV K8S_ENV=Heroku(Docker) | ||
CMD java -jar -Dserver.port=$PORT -Dspring.profiles.active=without-vault application.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
=== Challenge 10: GCP Secret Manager part 2 | ||
|
||
The secret is now randomized and stored directly in the cloud's Secret(s) manager. We're still mounting it to the K8s pod via the https://secrets-store-csi-driver.sigs.k8s.io[CSI driver] for https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp[GCP] though... Can you access it? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
=== Challenge 10: AWS Secrets Manager / GCP Secret Manager part 2 | ||
=== Challenge 10: AWS Secrets Manager | ||
|
||
The secret is now randomized and stored directly in the cloud's Secret(s) manager. We're still mounting it to the K8s pod via the https://secrets-store-csi-driver.sigs.k8s.io[CSI driver] for https://docs.aws.amazon.com/secretsmanager/latest/userguide/integrating_csi_driver.html[AWS] or https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp[GCP] though... Can you access it? | ||
The secret is now randomized and stored directly in the cloud's Secret(s) manager. We're still mounting it to the K8s pod via the https://secrets-store-csi-driver.sigs.k8s.io[CSI driver] for https://docs.aws.amazon.com/secretsmanager/latest/userguide/integrating_csi_driver.html[AWS] though... Can you access it? |
2 changes: 1 addition & 1 deletion
2
...n/resources/explanations/challenge12.adoc → ...sources/explanations/challenge11-gcp.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
=== Challenge 9: GCP Secret Manager part 1 | ||
|
||
Okay, now we're generating a secret through Terraform and storing that with our Cloud Provider. What happens in the Terraform state? | ||
|
||
You can try to find the secret by sniffing through your `terraform.tfstate` files using https://github.com/trufflesecurity/truffleHog[*Trufflehog*]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters