Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fabien Bosquet
infra-azure-provisioning
Commits
30e5e6f7
Commit
30e5e6f7
authored
Oct 16, 2020
by
Daniel Scholl
Browse files
Added a Secret group called config-storage with the specific key names
parent
b18c0f98
Changes
2
Hide whitespace changes
Inline
Side-by-side
charts/osdu-common/templates/kv-secrets.yaml
View file @
30e5e6f7
...
...
@@ -72,19 +72,18 @@ spec:
key
:
storage-account
-
objectName
:
airflow-storage-key
key
:
storage-key
-
objectName
:
airflow-storage-connection
key
:
storage-connection
-
objectName
:
airflow-remote-log-connection
key
:
remote-log-connection
-
objectName
:
airflow-admin-password
key
:
admin-password
-
objectName
:
airflow-fernet-key
key
:
fernet-key
-
secretName
:
fileshare
type
:
Opaque
data
:
-
objectName
:
azurestorageaccountname
key
:
storage-account
-
objectName
:
azurestorageaccountkey
key
:
storage-key
-
objectName
:
airflow-storage
key
:
azurestorageaccountname
-
objectName
:
airflow-storage-key
key
:
azurestorageaccountkey
-
secretName
:
elastic
type
:
Opaque
data
:
...
...
@@ -192,9 +191,3 @@ spec:
- |
objectName: redis-password
objectType: secret
- |
objectName: azurestorageaccountname
objectType: secret
- |
objectName: azurestorageaccountkey
objectType: secret
\ No newline at end of file
infra/templates/osdu-r3-mvp/service_resources/secrets.tf
View file @
30e5e6f7
...
...
@@ -53,7 +53,7 @@ resource "azurerm_key_vault_secret" "storage_key" {
resource
"azurerm_key_vault_secret"
"storage_connection"
{
name
=
local
.
storage_connection_name
value
=
format
(
"DefaultEndpointsProtocol=https;AccountName=%s;AccountKey=%s;EndpointSuffix=core.windows.net"
,
local
.
storage_account
_
name
,
module
.
storage_account
.
primary_access_key
)
value
=
format
(
"DefaultEndpointsProtocol=https;AccountName=%s;AccountKey=%s;EndpointSuffix=core.windows.net"
,
module
.
storage_account
.
name
,
module
.
storage_account
.
primary_access_key
)
key_vault_id
=
data
.
terraform_remote_state
.
central_resources
.
outputs
.
keyvault_id
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment