-
Notifications
You must be signed in to change notification settings - Fork 94
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
Showing
3 changed files
with
56 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
apiVersion: template.openshift.io/v1 | ||
kind: Template | ||
metadata: | ||
name: koku-secrets | ||
objects: | ||
- apiVersion: v1 | ||
data: | ||
aws-credentials: ${AWS_CREDENTIALS_EPH} | ||
kind: Secret | ||
metadata: | ||
name: koku-aws | ||
stringData: | ||
aws-access-key-id: ${AWS_ACCESS_KEY_ID_EPH} | ||
aws-secret-access-key: ${AWS_SECRET_ACCESS_KEY_EPH} | ||
- apiVersion: v1 | ||
data: | ||
gcp-credentials: ${GCP_CREDENTIALS_EPH} | ||
kind: Secret | ||
metadata: | ||
name: koku-gcp | ||
- apiVersion: v1 | ||
data: | ||
oci-config: ${OCI_CONFIG_EPH} | ||
oci-credentials: ${OCI_CREDENTIALS_EPH} | ||
kind: Secret | ||
metadata: | ||
name: koku-oci | ||
|
||
parameters: | ||
- name: AWS_CREDENTIALS_EPH | ||
description: base64 encoded value containing the [default] profile with aws_access_key_id and aws_secret_access_key | ||
displayName: AWS credentials file | ||
required: true | ||
- name: AWS_ACCESS_KEY_ID_EPH | ||
description: plaintext aws_access_key_id | ||
required: true | ||
- name: AWS_SECRET_ACCESS_KEY_EPH | ||
description: plaintext aws_secret_access_key | ||
required: true | ||
- name: GCP_CREDENTIALS_EPH | ||
description: base64 encoded json containing GCP creds | ||
displayName: GCP Credentials | ||
required: true | ||
- name: OCI_CREDENTIALS_EPH | ||
description: base64 encoded oci credentials | ||
displayName: OCI Credentials | ||
required: true | ||
- name: OCI_CONFIG_EPH | ||
description: base64 encoded oci config | ||
displayName: OCI Config | ||
required: true |