-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nmfs-openscapes: make adjustments to infra
- Loading branch information
1 parent
9df84c8
commit 7f4be5c
Showing
3 changed files
with
126 additions
and
46 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
config/clusters/nmfs-openscapes/enc-deployer-credentials.secret.json
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,25 @@ | ||
{ | ||
"AccessKey": { | ||
"AccessKeyId": "ENC[AES256_GCM,data:97VM/eSCAMnEWvcj2pOBTVdCI/M=,iv:yaQfp5fGzJgbbkbSqbGyUnn49Y0zBdUf6qj2MQUe5e4=,tag:tGqMBMbsL7VMT8PKN3e2fA==,type:str]", | ||
"SecretAccessKey": "ENC[AES256_GCM,data:IzxyWJNvqI4lFzuPbC/b+3w2eSWAuDk58cyi7bU0EPxQ1TefK/LTtg==,iv:z28cJYV/066dtpInIJ2fpwO/8ti8o98YpAZVEnFYlPQ=,tag:Df/tLa6dwXvvf3XWDndtuQ==,type:str]", | ||
"UserName": "ENC[AES256_GCM,data:afMU/OOXogtbb3XDrtUb5j0Ij3qydWI=,iv:l1Dh459VjD53M1hnhqyhY16w2c4J+FgOpjeuENqQkGc=,tag:ClWtdIEfTjAolwiQZD14CQ==,type:str]" | ||
}, | ||
"sops": { | ||
"kms": null, | ||
"gcp_kms": [ | ||
{ | ||
"resource_id": "projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs", | ||
"created_at": "2024-09-09T14:44:20Z", | ||
"enc": "CiUA4OM7eNCK+1vrOfGfoiorEq68Zyw0ttYDYOcV1aO5r5RFEmBDEkkA5dG1Q09E32GJL/EniI5GgKcdjY4WmD02cPHKkYWF/kyvc7OIGnyYqDm53nLl/ITHs/gi0TroovJ9xpgKTomZfQwY5qA8pv6S" | ||
} | ||
], | ||
"azure_kv": null, | ||
"hc_vault": null, | ||
"age": null, | ||
"lastmodified": "2024-09-09T14:44:21Z", | ||
"mac": "ENC[AES256_GCM,data:+vDQFVgWJV5dGUw/tyUdRL55w/Amx7wXCPxK7em7iI2JQqWdPZ0Qv8qhz5RyIXVLlzgQuFkzRR2jvXZ3G8kIT0MQsmx5Vcnf6+MEQrxroFnG1avvQkBXEzIHkMYgDoBAM+zb+mauq3mFNGg3antiVJ9shmlBlnMBkwoDSewBWz8=,iv:vgjDRoAMVu59Rq+gFQNK2Ty5mM7XQ2wGf6PysPqqI9M=,tag:di/pmrQxkhxP5IGNznUtLw==,type:str]", | ||
"pgp": null, | ||
"unencrypted_suffix": "_unencrypted", | ||
"version": "3.9.0" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,30 +1,45 @@ | ||
/* | ||
Some of the assumptions this jinja2 template makes about the cluster: | ||
- location of the nodes of the kubernetes cluster will be <region>a | ||
- no default scratch buckets support | ||
*/ | ||
region = "us-west-2" | ||
cluster_name = "nmfs-openscapes" | ||
cluster_nodes_location = "us-west-2b" | ||
|
||
# Tip: uncomment and fill the missing info in the lines below if you want | ||
# to setup scratch buckets for the hubs on this cluster. | ||
# | ||
#user_buckets = { | ||
# "scratch-staging" : { | ||
# "delete_after" : 7, | ||
# }, | ||
# # Tip: add more scratch buckets below, if this cluster will be multi-tenant | ||
#} | ||
disable_cluster_wide_filestore = true | ||
filestores = { | ||
"staging" = { | ||
name_suffix = "staging", | ||
tags = { "2i2c:hub-name" : "staging" }, | ||
}, | ||
"prod" = { | ||
name_suffix = "prod", | ||
tags = { "2i2c:hub-name" : "prod" }, | ||
}, | ||
} | ||
|
||
# Tip: uncomment and fill the missing info in the lines below if you want | ||
# to setup specific cloud permissions for the buckets in this cluster. | ||
# | ||
#hub_cloud_permissions = { | ||
# "staging" : { | ||
# "user-sa" : { | ||
# bucket_admin_access : ["scratch-staging"], | ||
# }, | ||
# }, | ||
# # Tip: add more namespaces below, if this cluster will be multi-tenant | ||
#} | ||
user_buckets = { | ||
"scratch-staging" : { | ||
"delete_after" : 7, | ||
"tags" : { "2i2c:hub-name" : "staging" }, | ||
}, | ||
"scratch" : { | ||
"delete_after" : 7, | ||
"tags" : { "2i2c:hub-name" : "prod" }, | ||
}, | ||
"persistent-staging" : { | ||
"tags" : { "2i2c:hub-name" : "staging" }, | ||
}, | ||
"persistent" : { | ||
"tags" : { "2i2c:hub-name" : "prod" }, | ||
}, | ||
} | ||
|
||
hub_cloud_permissions = { | ||
"staging" : { | ||
"user-sa" : { | ||
bucket_admin_access : ["scratch-staging", "persistent-staging"], | ||
}, | ||
}, | ||
"prod" : { | ||
"user-sa" : { | ||
bucket_admin_access : ["scratch", "persistent"], | ||
}, | ||
}, | ||
} |