Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed ìagid-spid secrets references #24

Merged
merged 1 commit into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 3 additions & 1 deletion src/k8s/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ module "key_vault_secrets_query" {
secrets = [
"appinsights-instrumentation-key",
"redis-primary-access-key",
"jwt-private-key"
"jwt-private-key",
"agid-spid-cert",
"agid-spid-private-key"
]
}
4 changes: 2 additions & 2 deletions src/k8s/selc_secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ resource "kubernetes_secret" "hub-spid-login-ms" {
APPINSIGHTS_INSTRUMENTATIONKEY = local.appinsights_instrumentation_key
JWT_TOKEN_PRIVATE_KEY = module.key_vault_secrets_query.values["jwt-private-key"].value

METADATA_PUBLIC_CERT = module.key_vault_secrets_query.values["agid-spid-cert"] # TODO actually manually populated, but to try to automate in gitops
METADATA_PRIVATE_CERT = module.key_vault_secrets_query.values["agid-spid-private-key"] # TODO actually manually populated, but to try to automate in gitops
METADATA_PUBLIC_CERT = module.key_vault_secrets_query.values["agid-spid-cert"].value # TODO actually manually populated, but to try to automate in gitops
METADATA_PRIVATE_CERT = module.key_vault_secrets_query.values["agid-spid-private-key"].value # TODO actually manually populated, but to try to automate in gitops

}

Expand Down