Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,16 @@ spec:
}
}
provider "civo" {
credentials_file = "civo.json"
region = "<WORKLOAD_CLUSTER_REGION>"
}
credentials:
- filename: gen-nothing
source: None
- filename: civo.json
source: Secret
secretRef:
namespace: crossplane-system
name: civo-creds
key: token
key: config.json
- filename: .git-credentials
source: Secret
secretRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@ spec:
}
}
provider "civo" {
credentials_file = "civo.json"
region = "<WORKLOAD_CLUSTER_REGION>"
}
credentials:
- filename: gen-nothing
source: None
- filename: civo.json
source: Secret
secretRef:
namespace: crossplane-system
name: civo-creds
key: token
key: config.json
- filename: .git-credentials
source: Secret
secretRef:
Expand Down
1 change: 0 additions & 1 deletion civo-github/terraform/vault/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ resource "vault_generic_secret" "crossplane" {
{
AWS_ACCESS_KEY_ID = var.aws_access_key_id,
AWS_SECRET_ACCESS_KEY = var.aws_secret_access_key,
CIVO_TOKEN = var.civo_token
VAULT_ADDR = "http://vault.vault.svc.cluster.local:8200"
VAULT_TOKEN = var.vault_token
password = var.github_token
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,16 @@ spec:
}
}
provider "civo" {
credentials_file = "civo.json"
region = "<WORKLOAD_CLUSTER_REGION>"
}
credentials:
- filename: gen-nothing
source: None
- filename: civo.json
source: Secret
secretRef:
namespace: crossplane-system
name: civo-creds
key: token
key: config.json
- filename: .git-credentials
source: Secret
secretRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ spec:
}
}
provider "civo" {
credentials_file = "civo.json"
region = "<WORKLOAD_CLUSTER_REGION>"
}
credentials:
- filename: gen-nothing
source: None
- filename: civo.json
source: Secret
secretRef:
namespace: crossplane-system
name: civo-creds
key: token
key: config.json
- filename: .git-credentials
source: Secret
secretRef:
Expand Down
1 change: 0 additions & 1 deletion civo-gitlab/terraform/vault/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ resource "vault_generic_secret" "crossplane" {
{
AWS_ACCESS_KEY_ID = var.aws_access_key_id,
AWS_SECRET_ACCESS_KEY = var.aws_secret_access_key,
CIVO_TOKEN = var.civo_token
VAULT_ADDR = "http://vault.vault.svc.cluster.local:8200"
VAULT_TOKEN = var.vault_token
password = var.gitlab_token
Expand Down