-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b62b522
commit 1280be0
Showing
8 changed files
with
42 additions
and
28 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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
manifests/example/secrets/terraform-applier-terraform-aws-provider-secret
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 @@ | ||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
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 |
---|---|---|
|
@@ -6,24 +6,36 @@ spec: | |
template: | ||
spec: | ||
containers: | ||
- name: git-sync | ||
env: | ||
- name: GIT_SYNC_REPO | ||
value: "[email protected]:org/repo.git" | ||
- name: terraform-applier | ||
env: | ||
# AWS credentials for use by an S3 backend/AWS provider. Substitute the configuration for your particular | ||
# backends and providers. | ||
- name: AWS_ACCESS_KEY_ID | ||
value: AAAAAAAAAAAAAAAAAAAA | ||
- name: AWS_SECRET_ACCESS_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: aws | ||
key: aws-secret-access-key | ||
# terraform-applier vars | ||
- name: REPO_PATH | ||
value: "/src/modules/example-env" | ||
- name: REPO_PATH_FILTERS | ||
value: "my-module-1,my-module-2,env-*" | ||
- name: DIFF_URL_FORMAT | ||
value: "https://github.com/org/repo/commit/%s" | ||
- name: git-sync | ||
env: | ||
- name: GIT_SYNC_REPO | ||
value: "[email protected]:org/repo.git" | ||
# | ||
# Variables from now depend on what terraform providers and resources you use | ||
# Substitute above configuration for your particular needs | ||
# | ||
# terraform-provider-aws vars | ||
- name: AWS_ACCESS_KEY_ID | ||
value: "AAAAAAAAAAAAAAAAAAAA" | ||
- name: AWS_SECRET_ACCESS_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: terraform-applier | ||
key: terraform-aws-provider-secret | ||
# custom terraform resources vars | ||
- name: TF_VAR_s3_reader_access_key_id | ||
value: "AAAAAAAAAAAAAAAAAAAA" | ||
- name: TF_VAR_s3_reader_secret_access_key | ||
valueFrom: | ||
secretKeyRef: | ||
name: terraform-applier | ||
key: example-app-s3-reader-secret |