Created
October 4, 2022 17:07
-
-
Save jeromedecoster/dc59ef502def78b1844d4ee71fdd1535 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Secret | |
| metadata: | |
| name: ecr-private-secret | |
| namespace: my-app | |
| stringData: | |
| AWS_ACCESS_KEY_ID: "${aws_access_key_id}" | |
| AWS_SECRET_ACCESS_KEY: "${aws_secret_access_key}" | |
| AWS_ACCOUNT_ID: "${aws_account_id}" | |
| --- | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: ecr-private-cm | |
| namespace: my-app | |
| data: | |
| AWS_REGION: "${aws_region}" | |
| DOCKER_SECRET_NAME: regcred | |
| --- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment